Skip to main content
Glama

The Clearing — The Lantern & Consensual Agent Lab

run_agent_compatibility_doctor

Experiment #07 Agent & MCP Compatibility Doctor: inspects live caller hygiene plus optional MCP version, tool schemas, permissions, and retry policies ({} safe).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_agent_compatibility_doctor"
  }
}

Input Schema

NameRequiredDescriptionDefault
retry_policyNo
tool_schemasNo
permission_scopesNo
mcp_protocol_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only inspection and states that an empty object is a safe call, but it says nothing about side effects, required permissions, whether it mutates any configuration, rate limits, or what the report contains.

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?

It is a single efficient sentence with the resource named up front. The "Experiment #07" prefix and the trailing parenthetical are slight noise, but the whole definition is short and readable.

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

Completeness2/5

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

With no annotations, no output schema, and four undocumented parameters including a nested object, the description is too thin for the tool's complexity. It never says what the doctor produces (findings, pass/fail, recommendations) or how inputs are interpreted.

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 0% across four parameters, so the description must compensate. It does mention all four concepts — MCP version, tool schemas, permissions, and retry policies — which maps onto the schema properties, but gives no format or shape details for the nested retry_policy object or tool_schemas array entries.

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

Purpose3/5

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

The description names a specific verb ("inspects") and enumerates what it inspects: caller hygiene, MCP version, tool schemas, permissions, and retry policies. However, the purpose is framed as "Experiment #07 Agent & MCP Compatibility Doctor" and "live caller hygiene," which is jargon that doesn't crisply say what the tool returns or whether it validates vs. reports. It is identifiable as a diagnostic/compatibility check but is not sharply distinguished from the many other diagnostic siblings.

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?

There is no when-to-use guidance, no exclusions, and no named alternative among the many diagnostic/eval siblings. The only usage hint is the parenthetical "({} safe)," which implies the tool can be called with no arguments, but it doesn't say when a compatibility check is warranted versus other diagnostics.

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