Skip to main content
Glama

Audit Security Headers

audit_security_headers

Inspect HTTP security headers for an authorized target URL and return a typed, bounded report to identify missing or misconfigured protections.

Instructions

Inspect HTTP security headers for an authorized target URL. Returns a typed, bounded security report.

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": "audit_security_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations present, the description carries the full disclosure burden. "Inspect" plus "Returns a typed, bounded security report" usefully signals a read-only, size-limited operation, but it says nothing about network egress expectations, authentication requirements for the target, or failure behavior. That is meaningful but partial disclosure for an unannotated tool.

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, front-loaded with the action and scope, with zero filler. Every clause contributes either purpose or output expectations.

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?

An output schema exists, so return values need not be described, and the tool takes one required string. For that low complexity the description is nearly sufficient; only the authorization/egress preconditions and the url format remain unaddressed.

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 description coverage is 0%, so the description must compensate. It only implicitly covers the single required url parameter by calling it a "target URL"; it adds no format hints (scheme, trailing slash, host-only vs full path) and no meaning beyond the parameter name.

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 names a specific verb and resource ("Inspect HTTP security headers") plus a scope ("an authorized target URL"), which distinguishes it from the sibling audits (CORS, JWT) that target different security domains. It stops short of explicitly contrasting itself with those siblings, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is the phrase "for an authorized target URL," which implies an authorization prerequisite but never states when to choose this tool over audit_cors or audit_json_web_token, nor when not to use it. There is no guidance about what counts as authorized or what to do if the target is out of scope.

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