Skip to main content
Glama

Security Headers Check

security_headers_check
Read-onlyIdempotent

Grade a web response's security headers from header text you paste (nothing is fetched). Six checks, each read the way its standard says a browser reads it: Strict-Transport-Security (RFC 6797), Content-Security-Policy basics (CSP Level 3: script sources, 'unsafe-inline', wildcards, 'unsafe-eval'), X-Content-Type-Options, framing (CSP frame-ancestors, else X-Frame-Options), Referrer-Policy and Permissions-Policy, against the OWASP Secure Headers Project list (dated 2026-10-18). Get back pass, weak, fail or missing per check with the reason, a letter grade, headers that leak server details, and the other OWASP-list headers not set. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/security-headers-check). Not legal, tax or financial advice.

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": {
      "headers": "<headers>"
    },
    "name": "security_headers_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemeNoWhether the response came over https (default) or plain http (browsers ignore HSTS over http).https
headersYesThe HTML page's response header lines as text, one 'Name: value' per line (a status line first is skipped). Values of headers other than the graded ones are never echoed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/closed-world annotations: declares it is free, uses no model or network, stores nothing, is signed with LLPRO's key with a verification URL, and documents error behavior ('ok false with the reason (bad input, too large, hourly limit)') including a rate limit. That is exactly the extra context annotations cannot supply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and scope are front-loaded in the first sentence, but the middle is dense with enumerations. The 'Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify' list is a bare run of field names with no explanation of what 'does_not' or 'verify' mean, and the closing 'Not legal, tax or financial advice' is boilerplate that consumes attention.

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?

With no output schema, the description carries the return-value burden and mostly does: per-check pass/weak/fail/missing with reasons, a letter grade, server-detail-leaking headers, and unset OWASP-list headers, plus error semantics. The unexplained answer-field names leave a small gap, but an agent could call this correctly.

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 schema already explains both the https/http scheme default and the 'Name: value' line format, so the description's '(nothing is fetched)' adds only marginal meaning. No additional syntax, size, or format guidance is contributed beyond what the schema states.

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?

States a specific verb and resource ('Grade a web response's security headers') plus the crucial scope limit 'from header text you paste (nothing is fetched)'. It then enumerates the six checks and their standards (RFC 6797, CSP Level 3, X-Content-Type-Options, framing, Referrer-Policy, Permissions-Policy), so an agent knows exactly what is and isn't covered without opening the schema.

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?

'from header text you paste (nothing is fetched)' makes clear the tool takes pasted header lines rather than a URL, which is the key input-selection condition against any URL-fetching sibling. It does not name an alternative tool or state when-not-to-use it, so it falls short of an explicit routing statement.

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