Skip to main content
Glama

Check HTTP response headers

check_http_headers
Read-onlyIdempotent

Fetch a public URL, follow redirects, and grade HSTS, Content-Security-Policy, framing, nosniff, and Referrer-Policy. Private addresses are refused. The body is not stored.

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": "check_http_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http or https URL. Private addresses are refused.

Output Schema

NameRequiredDescriptionDefault
gradeYes
checksYes
statusYes
headersYes
finalUrlYes
elapsedMsYes
redirectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, so the safety profile is covered. The description adds real context beyond that: redirects are followed, private addresses are refused (SSRF protection), and the response body is not stored (privacy). Missing only operational details like rate limits or timeouts.

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?

Three short sentences, front-loaded with the verb and the graded surface, then the two constraints. Nothing is padded and no sentence duplicates another.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers the meaningful behavioral facts: redirect following, private-address refusal, and non-persistence of the body. A note on what 'grading' produces or timeout behavior would close the last gap.

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% with a single documented url parameter, so the baseline is 3. The description restates the public-URL/private-address constraint already present in the schema but adds no format examples or edge-case syntax guidance.

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?

Names a specific action chain (fetch, follow redirects, grade) and enumerates exactly which headers are evaluated: HSTS, CSP, framing, nosniff, Referrer-Policy. That set distinguishes it well from neighbors like check_ssl or check_robots_txt, though no sibling is named to make the boundary explicit.

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 resource it grades — an agent can infer this is for HTTP security-header audits. There is no explicit when-to-use or when-not-to-use framing and no pointing to alternatives such as check_ssl or build_csp for the remediation side.

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.