Skip to main content
Glama

HTTP status lookup

http-status
Read-only

Name, meaning, class, retryability and default cacheability of an HTTP status code, including Cloudflare's 52x codes. Returns { code, name, meaning, class, known, retryable, cacheableByDefault } Price: 1 credit (1 credit = 1 US cent) per successful call; input that does not match the schema is rejected before billing.

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": "http-status"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesStatus code, 100 to 599.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description then adds material beyond that: the exact response shape with named fields (including `known`, which signals graceful handling of unrecognized codes), 52x coverage, and precise billing terms, stating that a call costs 1 credit only on success and that schema-invalid input is rejected before billing. That is real cost and failure-mode disclosure an agent cannot get from structured fields.

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 resource and returned fields, then closes with the billing rule, so the ordering matches what an agent needs. It is dense and slightly run-on with the parenthetical credit explanation, but no sentence is filler.

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, and the description compensates by enumerating all seven return fields, so an agent knows exactly what comes back. Combined with billing terms, failure behavior on invalid input, and the 52x edge case, nothing material is left for an agent to guess before calling.

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 description coverage is 100% and the single parameter already documents the 100-599 integer range, so the description adds essentially nothing new about the input beyond hinting that 52x codes are in scope. With one fully documented parameter, the baseline of 3 applies.

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?

Names the exact resource (an HTTP status code) and enumerates the specific fields returned: name, meaning, class, retryability, default cacheability. It also carves out a distinctive scope, 'including Cloudflare's 52x codes', which no sibling tool covers, so an agent can separate it from dns-lookup, rdap-lookup, and the rest without opening a schema.

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 use case is unambiguous from the stated return fields: call this when you need to interpret a status code's semantics, retryability, or cacheability. What's missing is any explicit when-not or pointer to an alternative, though no sibling in the provided list performs this lookup, so there is little genuine ambiguity to resolve.

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