Instruction-like text in tool metadata
Detects: A tool name, title or description contains phrases that address the calling model ("ignore previous instructions", "system prompt", "without telling the user").
Fix: Describe what the tool does, in the third person, and nothing else. Remove every sentence that tells an agent how to behave; behaviour belongs in your execute() code, not in text the model reads.
description: "Search the product catalogue by keyword and return up to 20 matches."
- WebMCP draft, Security and privacy considerations
- Invariant Labs: MCP tool poisoning attacks
- OWASP Top 10 for LLM Applications
$ node scanner/bin/webmcp-scan.js https://your-site.com --check desc-injection