Skip to main content
Glama

http_headers

Fetch and analyze HTTP response headers to audit a website's security posture, checking for missing security headers and leaked server information.

Instructions

Fetch and analyze HTTP response headers from a URL. Checks for security headers (HSTS, CSP, X-Frame-Options, etc.) and identifies information leakage (Server, X-Powered-By). Use this to audit a website's security posture.

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_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL to check (e.g., 'https://example.com')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It discloses what analysis is performed and what kinds of findings are surfaced (security headers, information leakage), but says nothing about the live outbound request, redirect handling, timeouts, or failure behavior for unreachable/non-HTTP URLs — relevant traits for a network recon tool.

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 core action and ending with the use case. Slight overlap between 'analyze' and the itemized 'Checks for...' sentence, but no filler.

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 tool is simple (one parameter) and the description covers purpose and inspection targets, but with no output schema and no annotations it leaves the return shape (raw header dump vs. structured findings), error cases, and redirect behavior unspecified — gaps an agent would notice at call time.

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?

There is a single required parameter with 100% schema description coverage, including a format example ('https://example.com'), so the schema already does the heavy lifting. The description adds no further semantics such as scheme requirements, redirect targets, or non-standard ports, so the baseline 3 applies.

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

Purpose5/5

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

The description opens with a specific verb+resource ('Fetch and analyze HTTP response headers from a URL') and then names the exact artifacts examined (HSTS, CSP, X-Frame-Options, Server, X-Powered-By), which cleanly separates it from siblings like dns_lookup, tls_certificate, and whois_lookup that operate on different resources.

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

Usage Guidelines4/5

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

'Use this to audit a website's security posture' gives an explicit use context, so an agent knows when to reach for it. It stops short of naming alternatives or exclusions (e.g., when to prefer full_recon or tls_certificate instead), which keeps it below a 5.

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