← All posts
Linnworks + AI 1 December 2026 8 min read

MCP tool descriptions: best practices, with examples from a live server

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?

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:

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:

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

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.

Frequently asked questions

How long should an MCP tool description be?

The specification sets no length. Aim for two or three sentences that say what the tool does, when to use it and what it needs, and put exact limits in the input schema instead of the text.

How long can an MCP tool name be?

The specification says tool names should be 1 to 128 characters. Anthropic's checklist for Claude's connector directory requires 64 characters or fewer.

Should an MCP tool return an error or an empty result?

If nothing matched, return an empty result that says so. Use a tool execution error with isError true when the call failed or the input was wrong, with a message the model can use to correct itself.

Can a tool description tell Claude what to do?

It shouldn't. Anthropic's checklist rejects descriptions that instruct Claude to call other software, interfere with other tools, override system instructions or promote products.

How big can an MCP tool result be in Claude?

Anthropic's guide gives a maximum tool result size of about 150,000 characters on claude.ai and Desktop. Page or trim results well below that so the model can use them.

Ask Claude about your Linnworks account

The Hosted MCP Server for Linnworks connects Claude to your own Linnworks account, read-only. 14-day free trial, then $18.99 a month + tax where applicable.

See the hosted server

Want to run it yourself today? Buy the Linnworks MCP source code and deploy it to your own Cloudflare account. $660 + tax where applicable, one-off.