Skip to main content
Glama

Agent Toolkit (all-in-one)

Check tool definitions you already have (MCP tools/list, OpenAI or Anthropic function schemas) for poisoning and risky capabilities

scan_tool_definitions

[Agent Shield] For local (stdio) MCP servers or any tool list your agent already loaded. Send the tools array; get the same poisoning, capability and fingerprint analysis as /scan-mcp. Accepts MCP tools ({name, description, inputSchema}), OpenAI function tools ({type:"function", function:{...}}) and Anthropic tools ({name, description, input_schema}). Price 0.003 USDC per call; first 3 calls per day free.

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": {
      "tools": "<tools>"
    },
    "name": "scan_tool_definitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsYesArray of tool definitions
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
instructionsNoOptional server instructions text to scan too

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description must carry the behavioral burden, and it does add real context: accepted input dialects, per-call pricing of 0.003 USDC, a free tier of 3 calls/day, and that payment can be omitted during the free sample. It does not explicitly say the scan is non-destructive or describe what the returned report contains, leaving some gaps for a zero-annotation tool.

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 pre-condition and input formats are front-loaded, and the pricing sentence is short and useful rather than filler. The opening bracket tag and the '/scan-mcp' cross-reference are slightly noisy but cost little.

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

Completeness4/5

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

For a 3-parameter tool with full schema coverage and no output schema, the description covers scope, accepted formats, and cost. The main remaining gap is what the analysis result looks like and any size or dialect limitations.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine value by enumerating the three accepted payload shapes ({name, description, inputSchema}, OpenAI function tools, Anthropic input_schema) — information absent from the schema, which only says 'Array of tool definitions'. This is important compensation because the schema types the array items as strings, which the description implicitly corrects toward objects.

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 states a specific action (send the tools array, get poisoning/capability/fingerprint analysis) and scopes it to 'local (stdio) MCP servers or any tool list your agent already loaded', which meaningfully separates it from the server-scanning sibling. It references '/scan-mcp' rather than naming the sibling tool scan_mcp_server, so the differentiation is implied rather than explicit.

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?

'For local (stdio) MCP servers or any tool list your agent already loaded' gives a concrete precondition for selecting this tool over a live-server scan. There is no explicit when-not guidance or named alternative, but the usage context is clear enough to route correctly.

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.