11.1.5 · Skill in AI engineering

Tool calling

Letting a model call functions and APIs in your product.

Tool calling lets a model request actions such as searching, creating records or calling APIs. Tool design matters as much as prompt design: clear names, narrow scope and good errors. Every tool is also a permission to think about.

Your status · Tool calling

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

Tool calling lets a model ask your code to do things: search, create a record, call an API. The model only proposes the call; your code runs it. So every tool is both an interface to design and a permission to control. Product engineers design tools much as they design APIs, but for a reader who takes every name and description literally.

How to do it

  1. Build tools around tasks the user has, not around every endpoint.
  2. Give each tool a clear name, a description of when to use it, and typed parameters.
  3. Return only what the model needs, with errors that say how to recover.
  4. Check permissions in your code for every call, whatever the model says.
  5. Make write actions safe to repeat, and ask for approval where a mistake is costly.
  6. Test tools with real tasks, and read the transcripts to see where the model gets confused.

Common mistakes

  • Dozens of overlapping tools, so the model picks the wrong one.
  • Returning huge responses that fill the context.
  • Errors like “400 bad request” with no hint of what to change.
  • Trusting the model to respect permissions.

Example

Papermark and Zernio both let agents use their products through MCP, in different ways. Papermark built 57 typed tools with scoped tokens and an audit log. Zernio generates its MCP server from its API, so agents get every endpoint with no extra work. (Papermark, Zernio)

Side by side

Two ways to give agents tools

PapermarkZernio
Tools57 typed tools496, as listed on 15 Nov 2026
Where they come fromOne per endpoint of its developer platformGenerated with the API
PermissionsScoped tokens, answers only from readable documentsNot covered in the episode
RecordAn append-only audit logNot covered in the episode

A curated set is easier for a model to choose from and to audit. A generated set never falls behind the API.

Reportedpapermark.com/agents, Nov 2026; Zernio's site and its founder on the Itnig podcast

Sources: Writing effective tools for AI agents (Anthropic) ↗ · Tool use with Claude (Claude docs) ↗

Technical leverage

Enforce authorization, validate arguments and design idempotent operations outside the model’s reasoning loop.

Evidence of mastery

Put it into practice
Practice
Expose a small read tool and a reversible write tool to an assistant.
Artifact
Tool contracts and tests for bad arguments, denied permissions and repeated calls.

What good looks like

  • The server checks authorization for every operation.
  • Tool errors give enough information to recover without exposing sensitive data.

Use this evidence to assess your work. Your map status is a self-assessment, not a certification.

Resources

2

Tools

2
Tools for AI engineering