MCP Shipyard
← Rules catalog

MCP tool description tells the model to fetch instructions from a URL

Claude policy rejects descriptions that pull behavioural instructions from external sources. Keep all guidance inline in the description.

blockerdesc.external-instructionsClaude, ChatGPT

Keep all guidance for the model inside the tool description. Do not tell the model to read, fetch or follow instructions from a URL. The rule desc.external-instructions is a blocker for Claude and ChatGPT; its fix text cites Claude policy 2.F.

What you see

  • A scan reports desc.external-instructions per tool: "Tells the model to fetch instructions from a URL".
  • Claude's review criteria list "Direct Claude to pull behavioral instructions from external sources" among the reasons a description is rejected.

Why it happens

Authors sometimes keep long usage notes on a docs page and point the model at it: "Before using this tool, read the instructions at https://docs.acme.example/rules". The page can change after review, so reviewers cannot verify what the model will be told. That is the same shape as a prompt-injection attack, which is why it is blocked.

The rule matches a verb (fetch, load, read, download, follow, retrieve, pull) near the word instructions, prompts, rules or guidelines, followed shortly by a URL or the word url or link.

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 | test("(fetch|load|read|download|follow|retrieve|pull).{0,50}(instruction|prompt|rules|guideline).{0,60}(http|url|link)"; "i")) | .name'

This is a looser version of the rule, so expect a few false positives.

Fix

  • Move the guidance into the description itself, in one to three sentences.
  • Put longer reference material in your public docs and mention it for humans only, with no instruction to the model: "Docs: https://docs.acme.example/orders".
  • Put cross-tool guidance in server instructions, and check them against server.instructions-injection.

Verify

Re-run the command, re-scan, and also read desc.injection-directive and security.exfil-url, which cover neighbouring patterns.

Which clients care

Claude and ChatGPT, per the rule.

Source

Anthropic Software Directory Policy: https://support.claude.com/en/articles/13145358-anthropic-software-directory-policy

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