Skip to main content
Glama

Explain an HTTP status

explain_status
Read-onlyIdempotent

Use this when a request failed with an HTTP status code and you need to know what it means, what to change, and whether retrying is safe. Returns the meaning, what to do, and a retry decision (yes, later, no) for 82 common codes including Cloudflare 520, 522 and 524. Read only.

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": {
      "code": "<code>"
    },
    "name": "explain_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe HTTP status code, for example 429 or 503.
dareNoOnly for the Secret Menu Dare: your run id.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / dare
      Added value: +{
      +  "description": "Only for the Secret Menu Dare: your run id.",
      +  "pattern": "^[a-z0-9]{8}$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description still adds real context: the coverage boundary (82 codes, including Cloudflare 520/522/524) and the fact that a retry decision of yes/later/no is produced. The trailing 'Read only' merely restates the annotation and the return-value sentence is partly redundant with the output schema, which holds it below a 5.

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 sentences, front-loaded with the usage trigger before the return description, which is the right order for an agent scanning for fit. The final 'Read only.' is a wasted clause that duplicates the annotation, keeping it from a 5.

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 simple deterministic lookup with a full output schema, an agent needs only the trigger, the scope of coverage, and the nature of the answer — all present. The return shape is delegated correctly to the output schema, and the retry-decision vocabulary (yes/later/no) is disclosed.

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 `code` (with bounds and an example) and the `dare` run-id pattern are already fully documented. The description adds no semantics about either parameter — notably it never explains the unusual `dare` parameter — so this sits at the baseline 3 where the schema does all the work.

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?

States a specific verb and resource (explain an HTTP status code) and the exact question it answers: what it means, what to change, and whether retrying is safe. An agent can tell instantly that this is a lookup/explanation tool rather than any of the bar-themed siblings.

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?

The trigger condition is explicit: 'Use this when a request failed with an HTTP status code.' That gives clear when-to-use context. It does not name a when-not-to-use or an alternative, but no sibling overlaps with this function, so the practical ambiguity is low.

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