Skip to main content
Glama

mcp_compliance_explain

Read-onlyIdempotent

Explains what a specific MCP compliance test ID checks and why it matters, looking up the ID in one spec suite or searching all supported revisions.

Instructions

Explain what a specific compliance test ID checks and why it matters. Ids are per spec suite: pass specVersion to read one catalog, or omit it to search both (a shared id whose criteria differ is explained once per suite).

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": {
      "testId": "<testId>"
    },
    "name": "mcp_compliance_explain"
  }
}

Input Schema

NameRequiredDescriptionDefault
testIdYesThe test ID to explain (e.g., "transport-post", "tools-schema", "lifecycle-init" for 2025-11-25, "lifecycle-discover" for 2026-07-28)
specVersionNoCatalog to look the id up in. Omit to search every supported spec revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.21.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description still adds real behavioral value by disclosing the cross-catalog search behavior and the multi-entry case ('a shared id whose criteria differ is explained once per suite'), which tells the agent the response may contain more than one explanation.

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

Conciseness5/5

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

Two sentences, zero filler, and the core action is front-loaded before the scoping rule. Every clause carries information the agent cannot get elsewhere in a single read.

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?

For a two-parameter, read-only, idempotent lookup with fully documented schema and annotations, the description covers the missing piece an agent would otherwise lack: what happens when the spec version is omitted and how overlapping IDs are reported.

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%; both testId and specVersion are documented in the schema, including the omit-to-search-all behavior and per-version ID examples. The description adds only the per-suite de-duplication nuance, which is more about result shape than parameter meaning, so the schema remains the primary source.

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 uses a specific verb ('Explain') and resource ('a specific compliance test ID') and scopes the output to 'what it checks and why it matters'. That is clear enough to act on, but it never explicitly contrasts itself with the sibling mcp_compliance_test (run vs. explain), leaving the agent to infer the split from the names alone.

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?

It gives an explicit decision rule for the optional parameter: 'pass specVersion to read one catalog, or omit it to search both'. That tells the agent exactly when to narrow vs. broaden scope, though it offers no guidance on when to reach for this tool rather than executing the test.

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

Deploy Server

Other Tools