Check security headers
check_security_headersGrade a URL's HTTP security headers (CSP, HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP, COEP) A-F.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full https URL to check |
check_security_headersGrade a URL's HTTP security headers (CSP, HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP, COEP) A-F.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full https URL to check |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Input schema / additionalPropertiesAdded value: +falseDoes the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and network-access profile is covered. The description adds useful scope detail by enumerating the seven headers checked and the A-F grading, but says nothing about rate limits, redirect handling, or what happens on unreachable/non-https URLs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One tightly packed sentence: the action, the resource, the inspected header list, and the scoring scale are all front-loaded with no filler. Nothing could be removed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description carries the burden of conveying the return shape, and it does so at a high level via the A-F grade plus the per-header enumeration. It stops short of describing the response structure (per-header pass/fail, score breakdown), which is a minor remaining gap for a tool with no output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 documents 'url' including its uri format and https requirement. The description adds no further syntax, defaulting, or constraint information, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Grade), resource (a URL's HTTP security headers), the exact header set inspected, and the A-F output scale. This distinguishes it cleanly from siblings like check_ssl, check_email_security, and check_exposed_files, which cover different surfaces.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the purpose (audit one URL's header posture), but the description never states when to pick this over check_ssl or scan_website, nor any prerequisites such as needing a reachable https endpoint. No exclusions or alternatives are named.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.