scan_mcp_tool
Detect tool-poisoning and rug-pull attacks in MCP tool definitions by scanning for hidden instructions, concealment directives, and silent description changes.
Instructions
Scan an MCP tool definition for tool-poisoning (hidden/invisible-character instructions, concealment directives, sensitive-file access, exfiltration hints) AND rug-pull (description silently changed since first seen). Pass a tool as { name, description, inputSchema }; provide "server" to enable rug-pull baselining.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tool name | |
| description | No | Tool description to scan | |
| inputSchema | No | Tool JSON Schema (optional) — nested parameter descriptions are scanned too | |
| server | No | MCP server name (optional) — enables rug-pull detection by fingerprinting the tool across runs | |
| threshold | No | Detection threshold (default: 40) |