Skip to main content
Glama

Explain a check

explain_check
Read-only

Explains what a specific authorization check tests, why it matters, and how to fix failures, with references to relevant RFCs or MCP specs. Use after a scan to resolve failing or inconclusive results.

Instructions

Explain one check: what it tests and how, why it matters, how to fix a failure, and references (RFCs, MCP specification). Use it after a scan to help the user fix a failing or inconclusive check, or to answer a question about one check. Sends no request. Returns an error for an unknown ID; list_checks gives the valid ones.

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": {
      "id": "<id>"
    },
    "name": "explain_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCheck ID, with or without the MAP- prefix, case-insensitive: MAP-RTK02 or rtk02. Families (RTK) are not accepted here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.10.1
    • addedInput schema / properties / id / description
      Added value: +"Check ID, with or without the MAP- prefix, case-insensitive: MAP-RTK02 or rtk02. Families (RTK) are not accepted here."
    • changedInput schema / properties / id / pattern
      Previous value: -"^MAP-[A-Za-z]{3}\\d{2}$"New value: +"^(?:MAP-)?[A-Za-z]{3}\\d{2}$"
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false; the description reinforces this with "Sends no request" and adds behavior the annotations do not cover — an error is returned for an unknown ID. It also previews the shape of the response, though it does not describe error format or the depth/length of the returned references.

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?

Three sentences, front-loaded with what the tool returns, then when to call it, then failure semantics. Every clause carries information; nothing is padding.

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?

There is no output schema, so the description takes on the job of describing the return contents, and it does so precisely. Combined with the single required parameter and the read-only annotations, an agent has everything needed to call this correctly.

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% and the schema already documents the ID pattern, optional MAP- prefix, case-insensitivity, and that families are rejected. The description adds meaning beyond the schema by stating that unknown IDs fail with an error and that list_checks is the authority for valid IDs, giving the agent a recovery path.

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

Purpose5/5

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

"Explain one check" gives a specific verb and a bounded resource, then enumerates exactly what the explanation contains (what it tests and how, why it matters, how to fix a failure, references). It is clearly distinguishable from list_checks, which only enumerates IDs.

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

Usage Guidelines5/5

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

States the triggering situation explicitly: "after a scan to help the user fix a failing or inconclusive check, or to answer a question about one check." It also routes the agent to list_checks when a valid ID is needed, so the alternative is named with its selection condition.

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