Skip to main content
Glama

security_headers_batch

Read-only

Grade security headers for up to 10 sites — Fleet security-header audit: grade up to 10 sites or domains A-F on HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and COOP in one call. Returns per-site grade, score and missing headers, the fleet grade and average, weakest and strongest site, headers most commonly missing across the fleet, and a prioritised action list. Pass ?urls= (comma-separated). Price: $0.05 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": {
      "urls": "<urls>"
    },
    "name": "security_headers_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYese.g. github.com,example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, open-world and non-destructive, but the description adds material context they don't: the 10-site ceiling, the exact return contents (per-site grade/score/missing headers, fleet grade and average, weakest/strongest site, most commonly missing headers, prioritised action list), and a paid cost model ($0.05 USDC on Base via x402). The one gap is failure behavior — nothing says what happens with unreachable or malformed URLs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening is front-loaded but redundant: "up to 10 sites" appears twice in the first sentence and "grade" appears three times. The header list and return-value enumeration are dense and useful, but the duplication and the unresolved scoping phrase "Grade security headers for up to 10 sites —" waste space.

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?

With no output schema, the description correctly carries the full burden of explaining the return payload, and it also discloses the pricing model, which is essential for an agent deciding whether to call it. It falls short only on error/edge-case handling and on any guidance about the batch-vs-single choice.

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 one parameter at 100% schema coverage, the baseline is 3. The description does add one thing the schema lacks — the maximum of 10 comma-separated URLs — but otherwise restates the comma-separated format the schema examples already convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Grade security headers") plus a concrete scope ("up to 10 sites or domains A-F") and names the seven header families assessed, which clearly separates it from a single-site sibling like security_headers. It never names that sibling outright, so the differentiation is implied by the batch framing rather than stated.

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 10-site cap and the "Pass ?urls= (comma-separated)" instruction give usable invocation guidance, and the fleet framing implies when this is preferable to a per-site call. However, there is no explicit when-not guidance or named alternative, so the agent must infer that a single URL belongs in the non-batch tool.

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