Skip to main content
Glama

Security Headers Check

headers_check
Read-only

Rate nine security headers of a web site, such as CSP, HSTS and Set-Cookie, from one GET to https:/// that follows up to 5 redirects on the same host or its www pair. Each finding that does not pass has a remediation.

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": {
      "domain": "<domain>"
    },
    "name": "headers_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesHost name of the site, such as www.example.com
include_full_header_valuesNotrue sends each header value and URL whole, instead of cutting it after 500 code points

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, so the safety profile is covered; the description goes further by disclosing the network behavior — a single GET to https://<domain>/, up to 5 redirects, restricted to the same host or its www pair. It also signals output shape ('each finding that does not pass has a remediation'). It does not mention rate limits, timeout, or what happens if the host is unreachable, which keeps it from a 5.

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?

Two dense sentences with zero filler: the scoring scope and mechanism come first, then the remediation payoff. Nothing is repeated from the schema or annotations, and every clause (redirect limit, host scope, remediation) carries operational weight.

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 two-parameter, read-only tool with no output schema, the definition covers the essentials: what is fetched, how redirects are bounded, and the rough shape of results. The main gap is that, absent an output schema, it does not describe the return structure (per-header pass/fail vs. aggregate score) beyond the mention of findings and remediations.

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%, so both parameters are fully documented in the schema itself, and the description adds no detail about include_full_header_values beyond the truncation behavior already described there. The only marginal addition is the implied meaning of domain via the https://<domain>/ URL form, which matches the schema's 'Host name of the site' wording. Baseline 3 is appropriate.

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?

The description names a specific verb and resource — 'Rate nine security headers of a web site' — and enumerates examples (CSP, HSTS, Set-Cookie), so an agent immediately knows this is a header-grading tool rather than a DNS, SSL, or email check. It stops short of explicitly contrasting itself with any sibling, but the resource is specific enough to be unmistakable.

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 rather than stated: an agent can infer 'call this when you want a security-header posture assessment for a domain.' There is no explicit when-not guidance, no mention of alternatives for related checks (e.g., ssl_check), and no prerequisites called out.

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.