Skip to main content
Glama

HTTP security headers check for a website

http_security_headers
Read-onlyIdempotent

Check a website's HTTP security headers, including HSTS, CSP, X-Frame-Options, nosniff, Referrer-Policy and Permissions-Policy, and get a grade with actionable advice.

Instructions

HTTP security headers check for a website: HSTS, CSP, X-Frame-Options, nosniff, Referrer-Policy and Permissions-Policy, with grade and advice.

ES: Analiza las cabeceras de seguridad HTTP de la portada de un dominio (HSTS, CSP, X-Frame-Options, nosniff, Referrer-Policy, Permissions-Policy) con nota y consejos.

Free tool (no API key, no payment). Official Spanish/EU open data.

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": {
      "dominio": "<dominio>"
    },
    "name": "http_security_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
dominioYesDominio, p. ej. ejemplo.es

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the description is not carrying the safety burden. It still adds meaningful context beyond them: no authentication or payment required, official Spanish/EU open data, coverage limited to the domain's homepage, and that a grade plus advice are returned.

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?

Each individual sentence is tight and the point is front-loaded, but the same content is delivered twice in English and Spanish, which is redundant for a single-language agent. The pricing/open-data note is a useful addition, not filler.

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 single-parameter read-only check with full annotation coverage and no output schema, the description supplies scope (homepage only), what is inspected, what is returned (grade, advice), and the access model. Only minor gaps remain, such as what happens for unreachable or non-existent domains.

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 the single parameter is documented, so the baseline is 3. The description only lightly reinforces the semantics by indicating a bare domain ("portada de un dominio", e.g. ejemplo.es) rather than a full URL, without elaborating on accepted input forms.

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?

Names a specific verb+resource ("HTTP security headers check for a website") and enumerates the exact headers covered plus the returned grade and advice. It is clearly narrower than a full audit, though it never states that contrast explicitly.

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?

Implied usage is obvious (check a domain's security headers), and it notes the check is against the site's homepage ("portada") and that it is free with no API key. There is no explicit when-to-use / when-not-to-use or pointer to the sibling audit tools for broader scope.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.