Skip to main content
Glama

Httpbin Status

httpbin_status
Read-onlyIdempotent

Return given HTTP status.

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": {
      "code": 200
    },
    "name": "httpbin_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Output Schema

NameRequiredDescriptionDefault
statusYesActual HTTP status returned
requested_codeYesHTTP status code requested

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say that the HTTP response uses the requested code (so non-2xx codes are expected, not errors), nor whether the body is empty or standard httpbin JSON. With annotations carrying the safety burden, this is an adequate but thin disclosure.

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 short sentence with no padding and the key concept front-loaded. It is efficient, though it errs toward under-specification rather than excess.

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?

The output schema exists, so return shape need not be explained, and the tool is simple with one required parameter. Still, for a tool whose entire point is producing a chosen response status, the description never says that the returned response carries that status code, which is the one thing an agent most needs to know.

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 0% for the single 'code' parameter, so the description must carry the meaning. "HTTP status" does imply the value is an HTTP status code (e.g. 200, 404), which the examples in the schema also show, but it gives no constraints such as the valid range (100–599) or what happens with an invalid code.

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

Purpose3/5

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

"Return given HTTP status" states a verb (return) and a resource (HTTP status), and the example values {code: 200}/{code: 404} reinforce that the tool echoes a status code back. However, it largely restates the tool name httpbin_status and never says the response itself carries that status (i.e., that it is useful for provoking error responses), leaving the actual effect implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no reference to the many sibling probes (httpbin_get, httpbin_post, headers, ip, etc.) that an agent must choose between. The agent is left to infer from the name alone which probe to pick.

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.