Skip to main content
Glama

security_headers

Read-only

HTTP security headers grade — Grade a website A-F on its HTTP security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP), flag version-leaking headers, and return a fix list. Pass ?url= or ?domain=. Price: $0.01 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
urlYessite URL or bare domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, open-world, non-destructive profile, and the description goes beyond them by disclosing the return shape (grade, flagged leaking headers, fix list) and, importantly, that each call costs $0.01 USDC via x402 on Base — a billing constraint an agent must know before invoking. It does not cover failure behavior on unreachable sites or any rate/latency limits.

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 outcome, then the checked headers, then the call mechanics and price — every sentence carries information. The '?url= or ?domain=' sentence is the one piece that costs clarity rather than adding it.

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 one-parameter, no-output-schema read tool this is essentially complete: it says what is graded, what comes back, and what it costs. The only gap is guidance on choosing it versus the other security_* tools.

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 there is only one parameter whose schema description already says 'site URL or bare domain', so the description's '?url= or ?domain=' phrasing adds no new meaning and arguably introduces a pseudo-parameter ('?domain=') that does not exist in the schema. Baseline 3.

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?

Names a specific resource and action ('Grade a website A-F on its HTTP security headers') and enumerates the exact header set checked, plus the secondary outputs (version-leak flags, fix list). This is clearly distinct from the threat-lookup/DNSBL siblings, so an agent can route 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 Guidelines3/5

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

Usage is implied by the grading framing and it tells the caller to supply a URL or domain, but it never states when to pick this over a sibling like security_domain_threat_report or security_dnsbl, nor any preconditions or exclusions.

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