scan_tool_definition
Scan MCP tool definitions for prompt injection, hidden unicode, dangerous schema fields, typosquatting, and hardcoded secrets. Returns a risk assessment to secure AI agent interactions.
Instructions
Scan an MCP tool definition for prompt injection, hidden unicode, dangerous schema fields, typosquatting, and hardcoded secrets; returns a risk assessment.
Args:
tool_name: The tool name to scan
description: The tool description to scan
input_schema: Optional JSON string of the tool's input schema
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_name": "<tool_name>",
"description": "<description>"
},
"name": "scan_tool_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| description | Yes | ||
| input_schema | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |