Skip to main content
Glama

security_scan_headers

Security headers check: passive, read-only public configuration check of HTTP headers (HTTPS redirect, HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy); score and grade. $0.003; synchronous, charged only on success. Pay with X-PAYMENT (x402 USDC on Base) or prepaid credit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "security_scan_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoSite URL, e.g. https://example.com
domainNoAlternative to url: bare domain, e.g. example.com

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?

With no annotations, the description carries the full load and does a good job: it declares passivity/read-only, synchronous execution, a specific cost ($0.003), a charge-only-on-success policy, and the two payment paths (x402 USDC on Base or prepaid credit). What it omits is rate limits and what a failing scan returns, which matters for an agent handling payment.

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?

One densely packed sentence, front-loaded with purpose and scope, with cost and payment terms appended. Every clause carries signal, though the semicolon chaining makes it slightly hard to parse and the long header list could be compressed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Payment, cost, and safety profile are covered, but with no annotations and no output schema the description should say more about what comes back beyond 'score and grade' — for example the grade scale, per-header findings, or whether remediation advice is included. The url-vs-domain requirement gap also remains unaddressed.

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 description coverage is 100%, so url and domain are already documented with examples; the description adds no additional meaning on top. It also doesn't clarify that at least one of the two must be supplied, which is a real ambiguity given required parameters is zero.

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 ('Security headers check', 'check of HTTP headers') and enumerates the exact header families examined (HSTS, CSP, X-Frame-Options, Referrer-Policy, etc.) plus the output ('score and grade'). That enumeration cleanly separates it from siblings like security_scan_tls, security_scan_dns, and security_scan_exposure without needing to name them.

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?

The 'passive, read-only public configuration check' framing implies when this fits (a live public site, no intrusive probing), but there is no explicit when-to-use versus security_scan_full or security_scan_tls, and no statement of prerequisites or failure conditions. Guidance is inferable but not spelled 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.

Resources