Skip to main content
Glama

Crypto & Web Data API for Agents

HTTP security headers audit of a website with a grade

security_headers
Read-only

HTTP security headers audit of a website with a grade. Fetches the page and grades its security headers A to F: HSTS, Content-Security-Policy, clickjacking protection, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, plus cookie flags and server banner leaks. Each check has the header value and what to fix. Use for a quick security review of a site. Price $0.020 per call (x402: USDC on Base or Solana).

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
txNoAlternative to the X-Payment-Tx header
urlYesPage URL starting with http:// or https://

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 declare readOnlyHint and openWorldHint, and the description adds real context beyond them: it fetches the live page, returns an A-to-F grade, includes cookie flags and server banner leaks, and states the $0.020 cost plus the x402 USDC payment rails on Base or Solana.

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 purpose, then the check inventory, then the use case, then price — every sentence carries information. The header list is dense but justified because it tells the agent what evidence will come back.

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?

No output schema exists, so the description usefully states the return shape (per-check header value plus remediation guidance, overall letter grade). Cost and payment mechanism are covered; rate limits and failure behavior are the remaining minor gaps.

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% and both parameters (url, tx) are documented in the schema, so the description adds no parameter-level meaning; baseline 3 applies. It does not explain the tx/payment path beyond the price line.

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 verb and resource ("HTTP security headers audit of a website with a grade") and enumerates exactly which headers are checked, so an agent can separate it from siblings like security_dns or security_emailauth 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?

"Use for a quick security review of a site" gives a general context but names no alternatives and no when-not-to-use conditions, leaving the agent to infer that this is the site-level counterpart to the DNS/email-auth/CVE tools.

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