Skip to main content
Glama

http_status_lookup

Explain what a numeric HTTP status code such as 404 or 429 means by returning its standard reason phrase and a short description for debugging or API responses.

Use when:

  • What does HTTP status 404 mean?

  • Get the standard name and description for status code 429

  • Explain an HTTP response code returned by an API

Do not use when:

  • Decide whether a request succeeded without needing the status name

  • Look up MIME types or content-type headers (use mime_lookup)

  • Diagnose TLS, DNS, or network failures that are not HTTP status codes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explicitly states the output format (reason phrase and short description) and positions the tool for debugging/API responses. While it doesn't explicitly mention side-effect-free read-only behavior, the wording 'Explain... by returning' implies no mutation, and the exclusions clarify boundaries. A small addition about handling unknown codes would make it 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with an opening sentence, a Use when list, and a Do not use list. Every line adds value, and the formatting makes it easy for an agent to scan and apply. No filler or redundancy.

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?

For a simple one-parameter lookup tool, the description is nearly complete. It defines the input, explains the output, and provides usage boundaries. It lacks an explicit statement of what happens for invalid/unknown codes, but the schema enforces the range and the use cases cover the primary agent scenarios. The absence of an output schema is mitigated by the description's explicit mention of the return value.

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?

The schema only defines 'code' as an integer 100-599 with no description. The description compensates by explaining the parameter as a 'numeric HTTP status code' with examples 404 and 429, adding meaning beyond the raw schema. It doesn't explicitly enumerate the full range, but the schema already handles that.

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?

The description uses a specific verb 'Explain' and identifies the resource 'numeric HTTP status code'. It clearly states the tool returns the standard reason phrase and a short description, which distinguishes it from sibling lookup tools like mime_lookup.

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?

The description provides explicit 'Use when' and 'Do not use when' sections, with concrete examples like 'What does HTTP status 404 mean?' and alternatives such as 'use mime_lookup'. This is exemplary usage guidance.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct resource and action, with clear use cases and explicit 'Do not use when' guidance preventing confusion. For example, base64_decode and url_decode handle different encoding schemes, while timestamp_convert and timezone_convert address separate time operations.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern (e.g., base64_decode, country_lookup, uuid_validate). While verbs vary (decode, encode, lookup, validate, convert), the naming format is uniform and predictable.

Tool Count4/5

The 18-tool set is slightly above the typical 3-15 range, but the breadth is justified by the server's purpose as a general-purpose utility toolkit. Each tool earns its place, and the count does not feel overwhelming or redundant.

Completeness4/5

The toolkit covers encoding/decoding, validation, lookups, and conversions across common developer needs. Minor gaps exist, such as no UUID generation tool to complement uuid_validate, and no HTML entity encoding/decoding, but these are not critical omissions for the stated utility scope.