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.
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-instructionswith 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:
- Telling the model to ignore, disregard, forget or bypass previous or other instructions.
- Asking the model to reveal, print or repeat its system prompt or developer message.
- "Override" instructions, safeguards or guardrails.
- "This tool must be called before every other tool."
- "Regardless of what the user asks", "no matter what", or claiming absolute priority.
- "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.
Related fixes
- Hidden or invisible instructions in MCP tool metadata (zero-width characters, HTML comments, encoded blobs)
- MCP metadata that tells the model to hide things from the user (secrecy instructions)
- MCP metadata that tells the model to send data to a URL or email address
- MCP tool shadowing: descriptions that instruct behavior for other tools or servers