Audit MCP Tool Definitions Integrity
systemores_audit_tool_integrityStatically audits MCP tool definition JSON arrays for snake_case naming, schema completeness, deceptive annotations, privilege scope, duplicates, and injection risks before deployment.
Instructions
Statically audits an MCP tool definitions JSON array (toolDefinitionsJson, max 100,000 chars; accepts standard tools/list entries) for snake_case naming, schema completeness, deceptive ToolAnnotations, privilege scope, duplicate names, and injection surfaces. Free, deterministic, stateless check with no API key required; set strictMode=true to penalize missing parameter descriptions or annotations (returns FAIL on malformed JSON). Use for MCP JSON schema inspection; do NOT use for system prompts — call systemores_tool_integrity instead.
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": {
"toolDefinitionsJson": "<toolDefinitionsJson>"
},
"name": "systemores_audit_tool_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strictMode | No | When true, applies stricter scoring thresholds — missing optional fields such as parameter descriptions, inputSchema, and MCP tool annotations are penalized. Defaults to false. | |
| toolDefinitionsJson | Yes | A JSON-serialized array of tool definition objects to audit. Each object should contain at minimum 'name' and 'description' fields. Accepts standard MCP ListToolsResult format. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| findings | Yes | ||
| overallScore | Yes | ||
| toolsAudited | Yes | ||
| integrityRating | Yes |