Skip to main content
Glama

Check security headers

check_security_headers
Read-onlyIdempotent

Check a website's HTTP security headers and get an A-F grade. Tests for HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Permissions-Policy. Returns { domain, grade, score, checks[], server }. Call this when someone asks about website security, why their site got a bad security score, how to improve their security headers, or what headers they're missing. No login required.

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to check (e.g. "example.com").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds value beyond them by disclosing the return payload keys and that 'No login required,' which tells the agent it can call this unauthenticated. Minor gap: no latency or rate-limit context for an open-world network call.

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 verb and resource, then contents, return shape, and triggers — every sentence carries information. Slight inefficiency in placing the use-case sentence after the return-shape sentence, which buries the routing signal, and the header list is long but justified.

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?

No output schema exists, and the description compensates by naming the returned fields ({ domain, grade, score, checks[], server }). Combined with the tested-header list, auth note, and trigger cases, an agent has everything needed to select and invoke 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?

With a single parameter at 100% schema description coverage, the schema already fully documents 'domain' with an example. The description adds only the framing 'a website's... headers', confirming the domain is the target, but supplies no format details (protocol, subdomain, path handling). 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?

States a specific verb and resource ('Check a website's HTTP security headers'), names the output artifact (A-F grade), and enumerates the exact headers tested. That enumeration distinguishes it from siblings like check_ssl or check_blacklist without needing to reference them by name.

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?

Gives concrete trigger conditions: 'when someone asks about website security, why their site got a bad security score, how to improve their security headers, or what headers they're missing.' This covers the initiating intents well, though it does not state when to prefer a sibling (e.g. check_ssl for certificate questions) or any excluded case.

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