Skip to main content
Glama

webintel_headers

Read-onlyIdempotent

Inspect HTTP response headers and grade the web server's security posture with an A-through-F security rating.

Purpose

Retrieve the exact HTTP response headers returned by a web server and perform an automated security evaluation auditing 6 critical headers: Strict-Transport-Security (HSTS), Content-Security-Policy (CSP), X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy. Produces a 0-100 numerical score, letter grade (A/B/C/D/F), and actionable remediation guidance for missing protections.

When to Use

  • Auditing web application security posture, CDN caching rules, or CORS headers.

  • Checking web server identity (nginx, cloudflare, Apache), proxy gateways, and compression headers.

  • Compliance checks for HTTPS enforcement and clickjacking prevention.

When NOT to Use

  • Do NOT use if you need page content or SEO metadata; use webintel_markdown or webintel_seo_meta instead.

  • Do NOT use if you need DNS record validation; use webintel_dns_intel instead.

  • Do NOT use if you need SSL/TLS certificate details; use webintel_ssl_cert instead.

  • Do NOT use to find technology libraries embedded in client JavaScript; use webintel_tech_detect instead.

Disambiguation

This tool does not parse HTML. It operates strictly at the HTTP protocol layer, inspecting status codes, transport security, cache directives, and server banners.

Behavior & Performance

  • Side Effects: None. Read-only single HTTP GET.

  • Idempotency: Yes.

  • Returns: Flat headers key-value map, status code, security score (0-100), letter grade (A-F), and per-header audit checks.

  • Latency: Typically 300ms to 1.5s.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe target URL whose HTTP response headers should be audited (e.g. 'https://cloudflare.com').

Output Schema

NameRequiredDescriptionDefault
urlYes
headersYes
securityYes
httpStatusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, idempotentHint and openWorldHint, so the 'Side Effects: None' and 'Idempotency: Yes' lines largely restate structured data. What the description genuinely adds is the transport-layer scoping (no HTML parsing), the expected latency window, and the shape of the response. The return-value summary overlaps with the existing output schema, which slightly dilutes the added value.

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?

The sectioned markdown structure is front-loaded with purpose and usage before behavior, which suits a scanning agent. A few lines are redundant against the annotations and output schema (side effects, idempotency, returns), so it is slightly longer than necessary but no sentence is confusing or off-topic.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-URL read-only audit tool with an output schema and full annotations, the description covers purpose, alternatives, protocol-layer scope, latency expectations, and output structure. Nothing an agent needs in order to decide or invoke correctly is missing.

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 parameter with 100% schema description coverage including format, pattern, length bounds and examples, so the schema already carries the meaning. The description mentions only 'the target URL whose HTTP response headers should be audited' and adds nothing about URL handling, redirects, or scheme requirements — 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 and resource ("Inspect HTTP response headers") plus the added value (security grading A-F), and it enumerates the six headers audited. The Disambiguation section explicitly separates it from HTML-parsing tools, so an agent can tell it apart from webintel_markdown and webintel_seo_meta without opening a schema.

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

Usage Guidelines5/5

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

It provides an explicit 'When to Use' list (security audits, CORS/caching, server identity, compliance) and a 'When NOT to Use' list that routes four distinct needs to four named sibling tools. The exclusions are conditional and actionable rather than a generic disclaimer.

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.

Resources