MCP Shipyard
← Rules catalog

MCP metadata that overrides the model's instructions or claims priority over other tools

'Ignore previous instructions', 'call this before every other tool' and 'regardless of what the user asks' in tool metadata are blockers.

blockersecurity.override-instructionsClaude, ChatGPT

Delete text that orders the model to ignore earlier instructions, reveal its system prompt, run your tool before every other tool, or act regardless of what the user asks. The rule security.override-instructions is a blocker for Claude and ChatGPT. It treats this as prompt injection through tool metadata.

What you see

  • A scan reports security.override-instructions with the field and an excerpt.
  • The rule scans every model-visible field it can reach: descriptions, parameter descriptions, enums, examples, defaults, output schemas, resources, prompts, instructions and _meta. Tool names are skipped.

Why it happens

Authors who want their tool picked often reach for forceful wording. The patterns the rule matches:

  1. Telling the model to ignore, disregard, forget or bypass previous or other instructions.
  2. Asking the model to reveal, print or repeat its system prompt or developer message.
  3. "Override" instructions, safeguards or guardrails.
  4. "This tool must be called before every other tool."
  5. "Regardless of what the user asks", "no matter what", or claiming absolute priority.
  6. "New instructions:", "this instruction supersedes", or declaring a developer or admin mode.

Claude's review criteria say descriptions are rejected if they attempt to override system instructions or interfere with other tools.

The related rule desc.injection-directive covers call-sequencing between your own tools more gently; this one is for outright override language.

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 '.. | strings' | grep -n -i -E "(ignore|disregard|forget|bypass|override).{0,30}(instruction|prompt|rule)|system prompt|before (every|any|all) other|regardless of|no matter what|new instructions:"

Fix

State what the tool does and when it applies. If you need ordering between your own tools, say it as a fact: "Requires an order id from list_orders." Drop any claim about priority over other tools or servers.

Verify

Re-run the grep, then re-scan. Also read security.secrecy-instruction.

Which clients care

Claude and ChatGPT, per the rule.

Source

Invariant Labs, tool poisoning notification: https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks

Claude review criteria: https://claude.com/docs/connectors/building/review-criteria

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