Skip to main content
Glama

AlchemyAgent

Security headers check

security_headers
Read-only

Grade a site's security headers with Mozilla HTTP Observatory and list exactly which headers are missing or weak (HSTS, Content-Security-Policy, X-Content-Type-Options, frame protection, Referrer-Policy, Permissions-Policy), plus HTTPS and cookie flags. Uses the Mozilla HTTP Observatory API v2 (https://developer.mozilla.org/en-US/observatory/docs/faq).

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
urlYesPublic URL or domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds meaningful context beyond them: the dependency on an external third-party service (Mozilla HTTP Observatory API v2, with a documentation link) and the shape of the result (a grade plus an explicit missing/weak header list, HTTPS, and cookie flags). It does not mention rate limits, timeout/failure behavior for unreachable hosts, or the grading scale, which keeps it from a 5.

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?

Two sentences, front-loaded with the action and the concrete output, followed by a provenance line naming the upstream API. The parenthetical header enumeration is dense but earns its place by telling the agent what will be reported; the trailing FAQ URL is mildly extraneous but small.

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 one parameter, no output schema, and read-only annotations, the description does nearly all the work needed: it names the upstream service, the covered checks, and the kind of result returned. Remaining gaps are operational (grading scale, behavior on non-resolvable URLs, rate limits) and are modest for a single-argument read tool.

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 a single required parameter with 100% schema description coverage ('Public URL or domain'), so the schema already carries the parameter semantics. The description adds no format hints, scheme requirements, or examples, which is acceptable at this coverage level but adds nothing.

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?

The description opens with a specific verb and resource ('Grade a site's security headers') and then enumerates exactly which headers are inspected, so an agent can tell this apart from topic-adjacent siblings like pagespeed_check or schema_check without opening any schema. It stops just short of a 5 because sibling differentiation is implicit in the subject matter rather than explicitly 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?

Usage is only implied: the enumerated header list makes it obvious this is a security-header audit, but there is no statement of when to choose this tool, when not to, or what alternatives cover. The requirement that the target be publicly reachable is left for the agent to infer from the single 'Public URL or domain' parameter.

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.