Skip to main content
Glama

http_header_inspector

Fetches HTTP response headers and audits security header compliance, returning a structured Markdown report on HSTS, CSP, CORS, and related policies.

Instructions

Fetches HTTP response headers and conducts a security header compliance audit.

Args: url: Full target URL (e.g. 'https://example.com')

Returns: Structured Markdown audit of security headers (HSTS, CSP, CORS, etc.).

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

Input Schema

NameRequiredDescriptionDefault
urlYesFull target URL (e.g. 'https://example.com')

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It is silent on important behaviors: whether redirects are followed, timeout/rate-limit or WAF-blocking risk, read-only/safety guarantees, error behavior for unreachable or non-HTTP targets, and whether the request is a bare GET. Only the output shape ('Structured Markdown audit') is disclosed.

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?

Front-loaded with the core action and only three short blocks, so it reads quickly. The 'Args:' and 'Returns:' sections partially duplicate the input schema and the existing output schema, which is mild redundancy rather than harm.

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 fetch tool with a 100%-covered schema and an output schema, the definition is essentially sufficient. The remaining gap is behavioral (failure modes, redirect/auth handling) rather than structural, which is why it stops short of 5.

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 single 'url' parameter is fully documented in the schema; the description repeats that example verbatim rather than adding constraints such as scheme requirements or handling of paths/query strings. Baseline 3 applies since the schema does the work.

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 and resource ('Fetches HTTP response headers') plus a secondary capability ('security header compliance audit'). An agent can distinguish it from sibling tools like ssl_cert_inspector and dns_lookup without opening the schema, though the description never explicitly contrasts itself with them.

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 only implied by the purpose: use it when you need HTTP response headers or a security-header posture check for a single URL. There is no explicit when-to-use vs when-to-use-ssl_cert_inspector guidance, no mention of prerequisites (reachable host, HTTPS), and no exclusions or alternatives.

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