A good MCP tool description says what the tool does, when to use it rather than its neighbours, and what it needs, in two or three plain sentences. Anything exact, such as formats, limits and allowed values, belongs in the input schema, and anything about whether the tool changes data belongs in its annotations. A description should describe the tool. It should never tell the model how to behave.
Why do tool descriptions matter so much?
The MCP specification calls tools model-controlled: the language model discovers and calls them based on the conversation and the user's request. All the model has to go on is the list the server returns, with each tool's name, title, description, input schema and annotations. A vague description means the model picks the wrong tool, fills in the wrong arguments, or never uses the tool at all.
What does the specification say about names and schemas?
- Names should be 1 to 128 characters, case-sensitive, unique within the server, and use only letters, digits, underscores, hyphens and dots. Anthropic's connector pre-submission checklist is stricter for Claude's directory: 64 characters or fewer.
- Clashes happen across servers. Uniqueness only applies within one server, and the specification notes that two servers can each expose a tool called
search. - inputSchema must be a valid JSON Schema object. For a tool with no parameters, the recommended form is an object with
additionalProperties: false. - outputSchema is optional. If you provide one, the structured results your tool returns must conform to it.
Best practices, with examples from a live server
The examples below come from the Hosted MCP Server for Linnworks, a read-only server whose 11 tools search orders, stock, purchase orders and returns in a merchant's own Linnworks account.
1. Prefix tool names with your system
Every tool name starts with linnworks_, such as linnworks_search_open_orders and linnworks_get_stock_levels. If a chat also has another system's search tool, the model can still tell which is which. Its help page still suggests switching off any second Linnworks connector in a chat, so Claude uses the one you meant.
2. Say what it does and when to use it
The processed order search describes itself as searching despatched and completed orders by date range, then says when to use it: "for sales analysis, finding past orders by reference, or computing totals over a period". That second sentence is what lets a model choose it over the open order search when someone asks what sold last week. Anthropic's checklist asks for the same thing: state precisely what the tool does and when to invoke it, and make sure the description matches what the tool actually does.
3. Tell look-alike tools apart
Linnworks keeps open and processed orders apart, so the server has separate tools for each, and each description names the set it searches: the open order book, meaning orders not yet despatched, or despatched and completed orders. The full order tool explains its identifiers in passing: the human-readable order number is one field, and the GUID the tool needs is another. A note like that saves a failed call.
4. Put limits and formats in the schema
A schema is checked; a sentence is only read. The hosted server's tools use the schema for every hard rule:
- page sizes are whole numbers with a minimum and a maximum, such as 1 to 200 for open orders, and 20 to 200 for processed orders because Linnworks returns at least 20 results per page;
- the date a processed order search filters on is one of four named values (processed, received, payment or cancelled), with processed as the default;
- IDs that must be GUIDs are typed as UUIDs, and batch lookups cap how many IDs one call can take;
- optional parameters carry their own short descriptions, such as example channel names for the source filter.
5. Say shared things once, in the server instructions
The MCP schema lets a server send instructions: natural-language guidance that clients can use to help the model understand the server, which should not repeat what is already in the tool descriptions. The hosted server's instructions say it gives read-only access to the user's own account, read live; that none of its tools change anything; which date formats it accepts; and that where a GUID is needed, the model should look it up with a search tool first if it only has a SKU or order number. Saying that once keeps every tool description short.
6. Keep results to a size the model can use
The search tools return one page at a time, and long text results are cut off at a fixed length with a note asking for a narrower query or a specific record by ID. Anthropic's guide to building an MCP server for Claude gives a maximum tool result size of about 150,000 characters on claude.ai and Desktop, and its checklist says not to return a full database dump when a summary was asked for.
7. Return errors the model can act on
The specification separates protocol errors, such as an unknown tool or a malformed request, from tool execution errors, which go back in the tool result with isError: true so the model can correct itself and retry. Anthropic's checklist adds that generic errors such as "Internal Server Error" with no detail fail review. Some examples from the hosted server:
- An invalid date returns an error naming the formats to use: yyyy-mm-dd or ISO 8601.
- When Linnworks finds no stock items for a keyword, the tool returns an empty result that says so, and adds that archived SKUs aren't included, instead of passing on a raw API error.
- If the merchant's Linnworks connection has expired, the error says so and gives the account page address where they can reconnect.
- Anything that looks like a token or secret is redacted from an error message before it reaches the model or a log.
8. Return structured data and readable text
The specification says a tool that returns structuredContent should also return the serialised JSON in a text block, for backwards compatibility. The hosted server returns both: the raw data as structured content, and a text block that starts with a short summary, such as which page of how many, followed by the data.
9. Describe the tool; don't instruct the model
Anthropic's checklist rejects tool descriptions that tell Claude to call software the user didn't ask for, interfere with other tools, pull instructions from outside sources, hide encoded instructions, or try to override system instructions or promote products. A description is documentation, not a prompt. Prompt injection examples shows why text that steers a model is a risk wherever it comes from.
10. Keep reads and writes apart, and annotate both
One tool per kind of action, a title on every tool, and the read-only or destructive hint set to match. Claude's directory checklist rejects a catch-all tool that both reads and writes. MCP tool annotations explains the hints.
A checklist before you ship
- Each tool does one job, and its name says which system it belongs to.
- The description says what it does and when to use it, and matches the code.
- Formats, ranges and allowed values are in the schema, with a default where one makes sense.
- Results are paged or trimmed, with a hint on how to ask for less.
- Errors say what went wrong and what to try next, without leaking credentials.
- No description tells the model how to behave.
- Every tool has a title and the right annotations.
- You have listed and called every tool from a real client, such as Claude or the MCP Inspector.
To see the finished tool list from the merchant's side, what an MCP server can and can't see in Linnworks goes through it tool by tool.
MCP-G is part of Green & Home Limited and is not affiliated with, endorsed by or sponsored by Linnworks or Anthropic.
Want to see these tools answer questions about your own orders and stock? Start a 14-day free trial of the Hosted MCP Server for Linnworks.