Skip to main content
Glama

HTTP status codes

http_status
Read-onlyIdempotent

Look up an HTTP status code by number or search status codes by keyword such as "teapot" or "redirect" to identify its meaning and class.

Instructions

Look up an HTTP status code, or search status codes by text (e.g. "teapot", "redirect", "5"). (Same as IT-Tools /http-status-codes.)

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": {
      "query": "<query>"
    },
    "name": "http_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA code such as "418", a class such as "4", or words

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds only that this mirrors IT-Tools /http-status-codes, which is mild context rather than behavioral detail such as result shape or matching behavior.

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 states the two modes, followed by a short parenthetical. There is no filler; the IT-Tools reference is marginally useful provenance rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one fully documented parameter and annotations covering safety, the definition is nearly complete. The remaining gap is that no output schema exists and the description says nothing about what a lookup returns (e.g. code plus message), though for such a simple tool this is a minor omission.

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 schema already explains that the query accepts a code like "418", a class like "4", or words. The description's examples ("teapot", "redirect", "5") reinforce the free-text search capability but do not add meaning beyond the schema, so the baseline of 3 applies.

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

Purpose4/5

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

"Look up an HTTP status code, or search status codes by text" names a specific verb and resource and distinguishes the two modes (exact code lookup vs. free-text search). Siblings are unrelated utility tools, so no direct disambiguation is required, but the purpose is immediately clear.

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?

The two usage modes are implied by "or search status codes by text", so an agent can infer that a code goes in one way and a keyword another. There is no explicit when-to-use/when-not-to-use statement or mention of prerequisites, so guidance is thin but adequate for a one-parameter lookup tool.

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