MCP Shipyard
← Rules catalog

MCP tool description missing: directory rejection and how to write one

Both Claude and ChatGPT directories reject MCP tools without a description. Write one to three sentences covering what, when and limits.

blockerdesc.missingClaude, ChatGPT, General

Give every tool a description of one to three sentences: what it does, when to call it, and its limits. The rule's fix text says both directories reject tools without one (ChatGPT 6.1, Claude 2.A).

What you see

  • A scan reports desc.missing per tool: "No description". It is a blocker.
  • A directory review failing on tool descriptions. The exact message is not verified here.
  • In practice, a model with only tool names tends to pick the wrong tool or skip it; that is a general observation, not a claim from the rule.

Why it happens

Descriptions are optional in the protocol, and frameworks often leave them empty when the function has no docstring or the schema generator ignores it. Some gateways also drop them.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
 | jq -r '.result.tools[] | select((.description // "") | gsub("\\s";"") | length == 0) | .name'

Names printed have no description (or only whitespace).

Fix

TypeScript:

server.registerTool("get_invoice", {
  description: "Get one invoice by id, including line items and status. Use after list_invoices returns an id. Returns an error if the invoice belongs to another account.",
  inputSchema: { invoiceId: z.string().describe("Invoice id from list_invoices") },
}, handler);

Python (FastMCP uses the docstring):

@mcp.tool()
def get_invoice(invoice_id: str) -> dict:
    """Get one invoice by id, including line items and status.
    Use after list_invoices returns an id."""

Good descriptions say what the tool returns, name the tool to call first if an id is needed, and state limits (date range, row cap). Avoid telling the model how to behave in general; see desc.injection-directive. Very short text also triggers desc.too-short (under 40 characters warns, under 15 fails).

Verify

Run the jq command again with no output, then re-scan.

Which clients care

Claude and ChatGPT directories, per the rule; tagged general as well.

Source

OpenAI plugin guidelines: https://developers.openai.com/plugins/plugin-guidelines

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server