Skip to main content
Glama

util_http_status

Read-only

HTTP status code explainer — Explain any HTTP status code for an agent: name, category, meaning, whether it is safe to retry, and the recommended next action. Covers standard codes, 402 Payment Required (x402) and Cloudflare 52x errors. Price: $0.001 USDC (Base, via x402).

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": "util_http_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesHTTP status code, e.g. 429

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, open-world, so the safety profile is covered. The description adds real context beyond that: the exact fields returned (retry safety, recommended next action), the non-standard code coverage, and a paid-access requirement of $0.001 USDC on Base via x402, which is behaviorally important before invocation.

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?

A single front-loaded sentence with the tool's identity and outputs first, then coverage, then pricing. It is dense but every clause carries information; only the pricing tail slightly interrupts the explanatory flow.

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 compensates by listing the returned fields, and it discloses the payment gate. For a one-parameter lookup tool this is nearly sufficient; only the exact response shape (structured vs prose) remains unspecified.

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% and the single parameter carries its own example ("429"), so the schema does the work. The description adds only that the code is a string of a status value, which is effectively already given.

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 any HTTP status code") and enumerates exactly what the explanation contains: name, category, meaning, retry safety, and next action. It also scopes coverage (standard codes, 402/x402, Cloudflare 52x), which clearly separates it from the other util_* utilities.

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 by the phrasing "Explain any HTTP status code for an agent" and by naming the code families covered, so an agent can infer this is the lookup tool for status codes. There is no explicit when-not guidance or pointer to an alternative, though the sibling utilities are unrelated in purpose, so the omission is low-risk.

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