Skip to main content
Glama

US compliance and books health

Explain one books check

explain_books_check
Read-onlyIdempotent

Full detail on a single books health check: what it is, exactly where to look in the ledger, every innocent explanation to rule out before concluding anything, what it costs if it is real, what fixing it involves, and whether it is inside what Median does.

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": {
      "check_id": "<check_id>"
    },
    "name": "explain_books_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_idYesCheck id from list_books_checks, e.g. 'rec-processor-balance-unreconciled'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, and closed-world behavior, so the bar is lower. The description adds useful content beyond them by enumerating what the response covers (location in ledger, innocent explanations, cost, remediation, scope) — which matters because there is no output schema — but it says nothing about response size, format, or error behavior for an invalid check_id.

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?

Front-loaded with the core purpose and kept to one dense sentence with no filler. The long enumerative clause is slightly list-like, but every item conveys what the agent will receive.

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?

With no output schema, the description carries the burden of describing return content and does so thoroughly across five distinct facets. It is essentially complete for a single-record lookup, with only response format and failure behavior left unaddressed.

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% with a single required parameter, and the schema itself documents check_id and its provenance from list_books_checks. The description adds no further meaning about the parameter, which is acceptable at this coverage level.

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 specific resource (a single books health check) and clarifies scope as 'full detail' on one check, which distinguishes it from the list-oriented sibling implied by the schema's reference to list_books_checks. It does not explicitly contrast itself with any sibling by name, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the reader infers this is the drill-down step after obtaining a check_id, and the enumerated content hints at when the extra detail is worth fetching. There is no explicit when-to-use/when-not guidance or named alternative (e.g., vs. score_books_health or get_evidence_recipe).

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.