Skip to main content
Glama

mdn_http

Browse HTTP reference data for headers, status codes, and methods, and retrieve offline browser compatibility details for specific items.

Instructions

Browse HTTP reference data — headers, status codes, methods. Uses BCD data offline. Returns browser compatibility for specific items.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
topicNoHTTP topic path, e.g. 'headers', 'headers.Content-Type', 'status', 'status.200', 'methods.GET'. Empty to list categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real behavioral value: 'Uses BCD data offline' tells the agent no network call is involved, and it hints at return content for specific items. It omits error behavior for invalid topic paths and any detail on the shape or size of the compatibility payload.

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?

Three short sentences, front-loaded with the resource and its categories, with no filler. The closing sentence about browser compatibility is slightly vague but still earns its place by hinting at the return content.

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?

For a single-optional-parameter read tool with no annotations and no output schema, the description covers scope and the offline data source. It leaves the return value underspecified — an agent cannot tell whether the compatibility data is a structured table, a string, or per-item detail — which matters here because no output schema exists.

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's own topic description lists concrete path examples, so the baseline of 3 applies. The description adds no additional meaning about the topic parameter — no mention of case sensitivity, partial paths, or fallback behavior.

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?

States a specific verb (Browse) and resource (HTTP reference data) and enumerates the covered categories — headers, status codes, methods — which lets an agent distinguish it from mdn_css and mdn_doc. It does not explicitly name how it differs from the close sibling mdn_compat, 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?

The scope statement implicitly signals when to reach for this tool (any HTTP-header/status/method lookup), but there is no explicit when-to-use or when-not-to-use language. Notably it does not steer the agent away from mdn_compat even though the description itself mentions returning browser compatibility data.

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

Deploy Server

Other Tools