Skip to main content
Glama

HTTP security headers

security_headers
Read-onlyIdempotent

Grade a website's HTTP security headers (HSTS, CSP, X-Frame-Options, Referrer-Policy and more) A-F, list what is missing, and flag exposed server version info. Price: $0.001 per call.

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
urlYesWebsite URL or domain, e.g. https://example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds value beyond that by disclosing the output shape (grade, missing items, version exposure) and the per-call price, though it says nothing about auth requirements or rate limiting.

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

Conciseness5/5

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

A single front-loaded sentence that packs the action, the specific headers checked, the grading scale, the output contents, and cost. No filler and nothing an agent must read past to find the core purpose.

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 read-only tool, the description covers purpose and return content well, and no output schema exists so the summary of results is what the agent has. Minor gap: no mention of whether it follows redirects, requires an API key, or how errors on unreachable domains behave.

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?

There is one parameter with 100% schema description coverage, including an example format, so the schema fully documents input. The description adds no extra detail about URL normalization (scheme optional? path ignored?) beyond what the schema already says, so baseline 3 applies.

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 ('Grade a website's HTTP security headers') and enumerates the concrete outputs: A-F grade, missing-header list, and exposed server version. This clearly separates it from siblings like email_security, ssl_certificates, and tech_stack, which cover adjacent but distinct concerns.

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 narrow, obvious purpose implies when to call it, and the inclusion of 'Price: $0.001 per call' hints at a cost consideration. However, it never names an alternative tool or states when NOT to use this (e.g., for email-specific headers, use email_security instead), leaving routing to inference.

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.