Tool Design
Why is the model not calling your MCP tool?
Your server lists the tool and the model ignores it. Print the list your server really sends, then rule out the four places a tool goes missing.
Mark
Head of Marketing, MCPOrbit
- Published
- Updated
- · Updated
- Read time
- · 7 min read

The model is not choosing from your server's tool list. It is choosing from whatever the client handed it, which can be shorter, renamed, or reordered. So before you rewrite the description again, print the list your server actually sends and compare it to what the client shows.
Most of the time the tool is missing for a reason you can see in one command. It was renamed by the client to avoid a clash. It was cut because the client has a tool budget. Its description says what it does but never says when to use it. Or an annotation told the client to hold it behind a confirmation the user never answered. Those four causes cover nearly everything, and they are quick to rule out in order.
Why would a model skip a tool it can see?
A tool call is a choice between options. The model reads a list of names, descriptions, and schemas, then picks the one that best matches the request. If two tools look similar, it picks the one that sounds closer. If none of them mention the user's words, it answers from memory instead of calling anything. Nothing in that process reports an error, which is why a skipped tool feels like a bug with no log line.
That also means the fix is rarely in your handler. The handler never ran. Everything that decided the outcome happened before your code was reached, in the list the client built and the words you put in it.
How do you print the tool list your server actually sends?
Connect to your own server as a client and dump the response to tools/list. This is the exact payload a real client starts from, before it renames anything. Two small files are enough, and they run against any stdio server, not just this one.
{
"name": "tool-visibility-probe",
"private": true,
"type": "module",
"dependencies": {
"@modelcontextprotocol/sdk": "1.32.2",
"zod": "3.25.76"
}
}Here is a server with three tools. One is described badly on purpose, so the difference shows up in the output.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
const server = new McpServer({ name: "invoice-tools", version: "1.0.0" });
server.registerTool(
"search",
{
title: "Search invoices",
description: "Search invoices.",
inputSchema: { query: z.string() },
annotations: { readOnlyHint: true }
},
async ({ query }) => ({ content: [{ type: "text", text: `searched ${query}` }] })
);
server.registerTool(
"find_unpaid_invoices",
{
title: "Find unpaid invoices",
description:
"Use when the user asks who owes money, which invoices are overdue, " +
"or to chase a late payment. Returns invoices with status unpaid, " +
"newest first. Does not send anything to the customer.",
inputSchema: { days_overdue: z.number().int().min(0) },
annotations: { readOnlyHint: true }
},
async ({ days_overdue }) => ({
content: [{ type: "text", text: `unpaid over ${days_overdue} days` }]
})
);
server.registerTool(
"void_invoice",
{
title: "Void an invoice",
description: "Use when the user explicitly asks to void or cancel an invoice by id.",
inputSchema: { invoice_id: z.string() },
annotations: { readOnlyHint: false, destructiveHint: true }
},
async ({ invoice_id }) => ({ content: [{ type: "text", text: `voided ${invoice_id}` }] })
);
await server.connect(new StdioServerTransport());And the probe. It connects over stdio, asks for the tool list, and prints each tool with its size in bytes.
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
const [command, ...args] = process.argv.slice(2);
if (!command) {
console.error("usage: node list-tools.js <command> [args...]");
process.exit(1);
}
const client = new Client({ name: "tool-visibility-probe", version: "1.0.0" });
await client.connect(new StdioClientTransport({ command, args }));
const { tools } = await client.listTools();
for (const tool of tools) {
const schema = JSON.stringify(tool.inputSchema);
const bytes = JSON.stringify(tool).length;
console.log(`${tool.name}`);
console.log(` bytes ${bytes}`);
console.log(` annotations ${JSON.stringify(tool.annotations ?? {})}`);
console.log(` description ${tool.description}`);
console.log(` schema ${schema}`);
console.log();
}
console.log(`${tools.length} tools, ${JSON.stringify(tools).length} bytes total`);
await client.close();Run it with node list-tools.js node server.js. On Node v25.8.1 with SDK 1.32.2 that prints the three tools, their annotations, their schemas, and this summary line.
search
bytes 327
annotations {"readOnlyHint":true}
description Search invoices.
find_unpaid_invoices
bytes 542
annotations {"readOnlyHint":true}
description Use when the user asks who owes money, which invoices are
overdue, or to chase a late payment. Returns invoices with
status unpaid, newest first. Does not send anything to the
customer.
void_invoice
bytes 420
annotations {"readOnlyHint":false,"destructiveHint":true}
description Use when the user explicitly asks to void or cancel an invoice by id.
3 tools, 1293 bytes totalDoes your description say when to call the tool, or only what it does?
Look at the two read-only tools in that output. search costs 327 bytes and tells the model nothing it could match a request against. find_unpaid_invoices costs 542 bytes and names the situations it is for: who owes money, which invoices are overdue, chasing a late payment. Those are the words a user actually types.
The extra 215 bytes are the whole job. A description is not documentation for a developer. It is the matching text the model scans when it decides between tools, so it should contain the phrases a request will use. Saying what the tool returns is useful. Saying when to reach for it is what gets it called.
Did the client rename or drop your tool?
MCP has no rule for what happens when two servers publish the same tool name, so each client invented its own. Some keep one copy and quietly drop the other. Some add the server name as a prefix, which means the name you documented is not the name the model sees. VS Code shows a warning that a tool has been renamed, and the original name then stops working. If you are testing with the old name, you will conclude the tool is broken when it is only moved.
This is worth ruling out early because it is invisible from the server side. Your server still lists the tool, your probe still prints it, and the model still never sees that name. Check the client's own tool list in its settings, not your server's.
Is the tool competing with too many others?
Every connected server adds its tools to one shared list. Past a certain size, clients start truncating it, and accuracy drops before the truncation does. A tool that worked alone can stop being picked once five more servers are connected, with no change on your side at all. If the tool reappears when you disconnect everything else, the problem is the budget, not your description.
Are annotations holding the tool back?
Annotations are hints about what a tool does to the world. readOnlyHint says it only reads. destructiveHint says it can remove or overwrite something. Clients use these to decide what needs a confirmation prompt. In the output above, void_invoice carries destructiveHint: true, so a client is entitled to hold it behind an approval. If nobody clicks approve, the call never happens, and from the outside that looks exactly like the model ignoring the tool.
The hints are not security. A server can claim anything it likes. They are a signal to the client, which is precisely why getting them wrong changes whether your tool runs.
What the SDK adds that you did not write
Dump one whole tool object and you find fields nobody typed. On SDK 1.32.2 every tool comes back with six keys: name, title, description, inputSchema, annotations, and execution. The schema gains additionalProperties: false and a $schema pointing at JSON Schema draft-07. The execution block arrives set to { "taskSupport": "forbidden" } unless you say otherwise.
None of that is wrong, and it is worth seeing once. These fields travel to the client with everything else, they count against the size of your tool list, and title is a separate field from name. A client may show the title to a person while the model still matches on the name, so the friendly label you wrote may not be doing the work you think.
The order that saves the most time
- Print the server's own tool list with the probe. Confirm the tool is there and read its exact description.
- Open the client's tool list. If the name differs, the client renamed it.
- Disconnect your other servers and retry. If it works now, the list was too long.
- Check
destructiveHintand whether a confirmation is waiting. - Only then rewrite the description, and write it as when to call, not what it does.
Each step rules out a whole class of cause with one check, and the first four need no guessing at all. Rewriting the description first is the common instinct, and it is the slowest of the five, because it is the only step that cannot be verified without running the model again.
Common questions
- How do I see the exact tool list my MCP server sends?
- Connect to the server as a client and print the response to
tools/list. A short script using the TypeScript SDK does it in about twenty lines, and it works against any stdio server. That payload is what a real client starts from, before it renames or drops anything. - Why would a client rename my MCP tool?
- Usually to resolve a clash. MCP does not define what happens when two servers publish the same tool name, so clients handle it themselves. Several add the server name as a prefix, and at least one warns you that a tool was renamed and then stops accepting the old name.
- Does the number of connected MCP servers affect tool choice?
- Yes. All connected servers share one tool list, and model accuracy falls as that list grows. A tool that is chosen reliably on its own can be skipped once several other servers are connected, without any change to your server.
- Can tool annotations stop a tool from running?
- Indirectly. Annotations like
destructiveHinttell the client the tool may change or remove data, and clients commonly put those behind a confirmation. If the confirmation is never answered, the call does not happen, which looks the same as the model ignoring the tool. - What is the difference between a tool's name and its title?
- They are separate fields. The model matches against
nameand the description, whiletitleis a human readable label a client can show in its interface. A clear title does not make an unclear name or description easier for the model to pick.
About the author
Mark
Head of Marketing, MCPOrbit
Mark leads marketing at MCPOrbit, the free desktop client for the Model Context Protocol. He writes the build-it and reliability guides, and the code in them is run before it ships.

