Skip to main content
Glama

ClevSec EU compliance tools

MCP tool list and A2A Agent Card check

mcp_tools_check
Read-onlyIdempotent

Use 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. Also checks WebMCP tool lists from websites (consequentialHint, untrustedContentHint, debugging). 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

NameRequiredDescriptionDefault
publicNoA2A only: true if the agent is deliberately public (no authentication by design).
documentYesThe JSON to check: a tools/list response (JSON-RPC response, its result, or the tools array), a WebMCP tool list (the array from document.modelContext.getTools()) or an A2A Agent Card.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / document / description
      Previous value: -"The JSON to check: a tools/list response (JSON-RPC response, its result, or the tools array) or an A2A Agent Card."New value: +"The JSON to check: a tools/list response (JSON-RPC response, its result, or the tools array), a WebMCP tool list (the array from document.modelContext.getTools()) or an A2A Agent Card."
  2. Added

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety profile is largely covered. The description still adds real value by stating 'Reads declared metadata only; it does not connect to the server,' which confirms and explains the closed-world/read-only hints, and by disclosing the SHA-256 fingerprint for detecting later drift. It stops short of describing cost, size limits on the returned flags, or determinism of the levels.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The trigger condition is placed first and the behavioral caveat last, which is the right ordering for an agent scanning for applicability. The middle sentence is a long comma-separated catalogue of checks that is dense but each item is load-bearing. Slightly tighter grouping of the WebMCP clause would help, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of describing returns, and it does so concretely: per-tool levels, a flag taxonomy, and a SHA-256 fingerprint. It also clarifies the non-network read-only boundary and the three accepted input document families, which is everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for both parameters, with the document description already enumerating the accepted JSON-RPC/WebMCP/Agent Card shapes and the public flag already scoped to A2A. The description restates 'Pass the server's tools/list response or the agent's Agent Card as document' but adds no format or constraint detail beyond the schema. Baseline 3 applies since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb ('check') and explicitly enumerates the resources: an MCP server's tools/list response, a WebMCP tool list, or an A2A Agent Card. It also lists the specific findings produced (poisoning flags, risky capabilities, annotation mismatches, secrets, missing security fields), so an agent can tell this is a pre-adoption safety audit rather than a report generator. It does not explicitly distinguish itself by name from close siblings such as mcp_tools_report or agent_risk_check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Strong trigger guidance is front-loaded ('Use before enabling an MCP server or connecting to an A2A agent') with two example user phrasings, which makes the intended moment of invocation unambiguous. There is no explicit when-not-to-use clause and no named alternative tool for the case where the agent already trusts the server.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources