Skip to main content
Glama

List Http Statuses

list_http_statuses
Read-onlyIdempotent

List HTTP status codes, optionally filtered to a class (1, 2, 3, 4 or 5 for 1xx...5xx).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "class": 4
    },
    "name": "list_http_statuses"
  }
}

Input Schema

NameRequiredDescriptionDefault
classNoOptional leading digit 1-5 to filter (e.g. 4 for 4xx).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "class": 4
      +  },
      +  {}
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds only the class-filtering semantics; it says nothing about ordering, completeness of the list, or whether the underlying registry is external.

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?

A single sentence with the primary action front-loaded and the optional filter explained inline. Nothing extraneous and nothing buried.

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 one-optional-parameter read tool with full schema coverage, no nested objects and no output schema, the description is nearly sufficient. It could say a word about the shape of the returned list, but with annotations covering behavior the small gap is minor.

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 'class' property is already described as 'Optional leading digit 1-5 to filter'. The description's parenthetical ('1, 2, 3, 4 or 5 for 1xx...5xx') restates the same meaning with a slightly clearer 1xx–5xx mapping, but adds no information the schema lacks.

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?

The description gives a specific verb and resource ('List HTTP status codes') and states the scoping behavior of the filter, which lets an agent understand the tool without opening the schema. It does not differentiate from the sibling 'http_status', which likely serves a single code, so it falls short of a 5.

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?

'Optionally filtered to a class' implies the two usage modes (all statuses vs a class) but never states when an agent should prefer this tool over 'http_status' or how to request a single code. Usage is inferable rather than explicit.

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.