Skip to main content
Glama
secheaders-mcp

secheaders-mcp

by hellonimen

explain_header

Explains what a given security header protects against and returns a safe example value, helping you understand correct configurations for headers like CSP, HSTS, or X-Frame-Options.

Instructions

Explain what a security header protects against and give a safe example value.

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": {
      "header": "<header>"
    },
    "name": "explain_header"
  }
}

Input Schema

NameRequiredDescriptionDefault
headerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the response content (protection explanation plus a safe example value), which is useful with no output schema, but it says nothing about whether unknown or malformed header names are accepted, whether the input is a header name or a raw header line, or whether this is a static knowledge lookup versus a live check.

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?

One sentence, front-loaded with the verb and both promised outputs, with no filler. It is tight, though the brevity is partly the reason for the specification gaps noted above.

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 lookup with no annotations and no output schema, the description covers the essentials of what comes back. It is still short of complete because header argument format and behavior on unknown headers are unaddressed anywhere in the definition.

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% for the single 'header' parameter, so the description must compensate. It implies the argument is a security header identifier and that the tool returns guidance for it, but it never clarifies the expected format (bare name like 'Content-Security-Policy' versus a full 'Name: value' line) or case sensitivity.

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 specific verb plus resource ('Explain what a security header protects against') and even names the shape of the output (a safe example value). An agent can tell this is an educational lookup, distinct from analyze_raw_headers (analysis) and check_url (URL checking). It does not explicitly name a sibling to rule out, so it lands at 4 rather than 5.

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?

There is no when-to-use or when-not-to-use guidance. The agent must infer from the purpose alone that this is for learning about a header rather than inspecting actual headers on a live response, and nothing routes it toward analyze_raw_headers when real header data is in hand.

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

Deploy Server

Other Tools