Skip to main content
Glama

inspect_headers

Read-onlyIdempotent

Inspect HTTP response headers of a public URL: cache, X-Robots-Tag, HSTS, CSP, X-Frame-Options, Referrer-Policy, Content-Type and other SEO/security headers, with notes.

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": {
      "url": "<url>"
    },
    "name": "inspect_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds the meaningful constraint that the target must be public and hints that results come "with notes", but says nothing about redirect handling, timeouts, or what happens when the URL is unreachable or non-HTML.

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?

One front-loaded sentence with the action and target first, then the header list. The header enumeration is long but earns its place by telling the agent which checks are included and by implication which are not.

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-parameter, read-only inspection tool with rich annotations and no output schema, the description covers what is fetched, which headers, the public-URL constraint, and that explanatory notes accompany results. Only edge-case behavior (unreachable URL, redirect chain) is unaddressed, which is minor at this complexity.

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 0% for the single url parameter, so the description must carry the load; "of a public URL" does add meaning (externally reachable target, implicitly absolute). It does not clarify scheme requirements, redirects, or non-HTTP URLs, leaving a partial gap for a low-coverage schema.

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?

Specific verb ("Inspect") plus resource ("HTTP response headers of a public URL"), and it enumerates the header families covered (cache, X-Robots-Tag, HSTS, CSP, X-Frame-Options, Referrer-Policy, Content-Type), which makes it distinguishable from siblings like check_redirects or audit_page_seo. It stops short of naming a sibling it is not, so 4 rather than 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?

Usage is implied by the enumerated headers (SEO/security header auditing) and the "public URL" qualifier acts as a precondition excluding internal or auth-walled targets. There is no explicit "use this instead of X" routing or statement of when-not to use it.

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.