MCP tool list and A2A Agent Card check
mcp_tools_checkUse before enabling an MCP server or connecting to an A2A agent ('is this MCP server safe to add?', 'check these tool descriptions'). Pass the server's tools/list response or the agent's Agent Card as document. Returns flags for hidden or manipulative text in descriptions (tool poisoning), risky capabilities (running code, sending data out, an exfiltration path), annotations that do not match, secrets in parameters and missing Agent Card security fields, with a level per tool and a SHA-256 fingerprint to detect later changes. Reads declared metadata only; it does not connect to the server.
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": {
"document": "<document>"
},
"name": "mcp_tools_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | A2A only: true if the agent is deliberately public (no authentication by design). | |
| document | Yes | The JSON to check: a tools/list response (JSON-RPC response, its result, or the tools array) or an A2A Agent Card. |