Skip to main content
Glama

Agent Guardian — MCP Contract Auditor

audit_mcp_contracts

Audit supplied MCP tools/list descriptors and compare with optional previous_tools to flag likely breaking changes. No network requests or storage of your schemas. Returns structured findings and a SHA-256 fingerprint.

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": "audit_mcp_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolsYesThe tools array from MCP tools/list, max 12.
previous_toolsNoOptional previous tools/list array for compatibility diff.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only says it returns a report. It never confirms whether the audit is read-only, whether it stores or transmits schemas, or what side effects exist – critical for a security-adjacent 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?

Two tight sentences, front-loaded with the verb and none wasted. Slightly terse given the missing behavioral and usage information, but structurally clean.

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

Completeness3/5

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

For a 2-parameter tool with no output schema, quoting the report output is helpful, but the absence of annotations means the description should disclose safety and side-effect behavior. It is adequate but leaves meaningful gaps.

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 coverage is 100%, so both parameters (tools, previous_tools) are already documented. The description adds no syntax or format detail beyond the schema, matching the baseline-3 expectation when 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?

States a specific verb ("Audit") and resource ("MCP tools/list definitions") plus the outcome ("flag compatibility issues"), so the agent knows exactly what it does. It doesn't differentiate itself from siblings like check_demo or ecosystem_catalog, keeping it from a 5.

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

Usage Guidelines2/5

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

The description implies usage through scope but never says when to use it versus alternatives, nor lists any prerequisites or exclusions. No guidance beyond what the purpose statement already implies.

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