Skip to main content
Glama
secheaders-mcp

secheaders-mcp

by hellonimen

analyze_raw_headers

Grades HTTP security headers from pasted raw text—one 'Name: value' per line—without network access, helping identify weak or missing headers.

Instructions

Grade HTTP response headers pasted as text, one 'Name: value' per line. No network used.

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": {
      "raw_headers": "<raw_headers>"
    },
    "name": "analyze_raw_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
raw_headersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description must carry the behavioral burden, and 'No network used' usefully discloses that this is a local, offline, non-fetching operation. However, it does not say what grading means in practice (criteria, output form, handling of malformed or partial headers), which matters for a tool with zero annotation coverage.

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, zero filler, with the tool's action and input format front-loaded and the offline constraint as a closing qualifier. Nothing is redundant with the name or the schema.

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 simple one-parameter analysis tool this covers the input contract well, but with no output schema the description should sketch what a 'grade' returns (letter grade, score, issue list). That return-value gap is the main missing piece.

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

Parameters4/5

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

Schema coverage is 0% and the single parameter is an undescribed string, so the description must supply the format — and it does, specifying 'Name: value' one per line. That is exactly the missing semantic detail the schema lacks; only edge cases (empty lines, duplicate headers, case sensitivity) remain unstated.

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 ('Grade') and resource ('HTTP response headers') and pins down the input form (pasted text, one 'Name: value' per line). Combined with 'No network used' it implicitly separates itself from the sibling check_url, which would presumably fetch a URL, but it never names an alternative outright.

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 pasted-text/line-format constraint implies usage (call this when you already hold raw header text rather than a URL), giving implied but reasonable guidance. There is no explicit 'use X instead when...' statement or stated preconditions, so an agent must infer the routing against check_url and explain_header.

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