Skip to main content
Glama

security_headers

Fai un HEAD request a una URL e verifica gli header di sicurezza: HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy. Restituisce score e consigli.

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
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose the mechanism (HEAD request, i.e., a live outbound network call) and that output is a score plus recommendations. It omits important behavior: whether non-HTTPS URLs are rejected, how failures/timeouts are reported, and any rate-limit or SSRF-related constraints on arbitrary URLs.

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?

Two short sentences, the action and inspected headers front-loaded, and the return value stated last. No filler to trim.

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?

For a one-parameter tool with no output schema, the description partially compensates by naming the returned artifacts (score, consigli) and the checked header set. It still leaves the input contract and failure behavior underspecified, which matters for a tool that fetches arbitrary external URLs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter 'url' is only alluded to as 'una URL'. The description adds no format guidance — scheme required or assumed, whether http:// is accepted given HSTS is only meaningful over HTTPS, or whether redirects are followed.

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 concrete verb and resource ('Fai un HEAD request a una URL') and enumerates exactly which headers are inspected, plus that it returns a score and advice. The only gap is that it does not distinguish itself from siblings, though the sibling list suggests no close competitor in this domain.

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 intent (auditing a URL's security headers) is implied clearly enough that an agent knows the general situation to use it, but there is no explicit when-to-use, when-not-to-use, or named alternative such as a general dns_whois or domini lookup.

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.