Write tool descriptions for the model, not the human
Escribe las descripciones de herramientas para el modelo, no para la persona
Tool descriptions are how the model decides what to call. Make them explicit and unambiguous, with input and output examples.
Why
The model chooses tools by reading their descriptions, so the description is part of the interface. Anthropic calls prompt-engineering tool descriptions one of the most effective ways to improve tools, and its guidance on building agents lists what a good definition carries: example usage, edge cases, input format requirements, and clear boundaries from other tools. A terse label like "search" is worse than useless: it tells the model nothing about when to call it or what to expect. One study of 856 tools across 103 MCP servers (arXiv 2602.14878) found that 97.1% of descriptions had at least one quality smell and 56% never stated their purpose clearly, and that augmenting those descriptions improved task success by a median of 5.85 percentage points. These descriptions are not UI copy; they are the model's decision substrate. MCP gives the description two companions. A tool can declare an outputSchema, and the server MUST then return results that conform to it, so the model knows the shape of the answer before calling. A server can also send instructions: guidance on using the server as a whole, which should not repeat what the tool descriptions already say.
Do
State when to use it, the params, and a sample call. Bad: "search". Good: "search_orders: find a customer's orders by email or order ID; returns up to 50, newest first".
Don't
Reuse terse human UI labels.
Artifact
{
"name": "search_orders",
"description": "Use this to find a customer's orders by email or order ID. Returns up to 50, newest first. Does not modify anything.",
"input_schema": {
"type": "object",
"properties": {
"query": { "type": "string", "description": "Email or order ID" },
"limit": { "type": "integer", "default": 20, "maximum": 50 }
},
"required": ["query"]
},
"examples": [{ "query": "jane@acme.com", "limit": 10 }]
}
Citations
- [01]Anthropic: Writing Effective Tools for AI Agents(opens in a new tab)
Prompt-engineering tool descriptions and specs is one of the most effective methods for improving tools: make implicit context explicit and describe expected inputs and outputs unambiguously
- [02]Anthropic: Building Effective AI Agents(opens in a new tab)
A good tool definition often includes example usage, edge cases, input format requirements, and clear boundaries from other tools
- [03]arXiv 2602.14878 (MCP Tool Descriptions Are Smelly)(opens in a new tab)
FMs rely on natural-language tool descriptions to understand a tool's purpose; across 856 tools on 103 MCP servers, 97.1% of descriptions had at least one quality smell and 56% failed to state their purpose clearly; augmenting descriptions improved task success by a median of 5.85 percentage points
- [04]MCP Specification 2025-11-25: Tools(opens in a new tab)
Each MCP tool is defined with a description of its functionality and an inputSchema, a JSON Schema defining the expected parameters
- [05]MCP Specification 2026-07-28: Tools (Output Schema)(opens in a new tab)
Tools may provide an output schema for validation of structured results; if an output schema is provided, servers MUST provide structured results that conform to this schema
- [06]MCP Specification 2026-07-28: Schema (DiscoverResult.instructions)(opens in a new tab)
instructions: natural-language guidance describing the server and its features, which clients can use to improve an LLM's understanding of available tools; it should focus on information that helps the model use the server effectively and should not duplicate information already in tool descriptions