Skip to main content
Glama
secheaders-mcp

secheaders-mcp

by hellonimen

check_url

Fetches a public HTTP(S) URL and grades its security headers from A to F, explaining missing or weak headers and how to fix them.

Instructions

Fetch a public http(s) URL and grade its security headers (A-F) with fixes.

Passive only: sends one GET request, the same as a browser visiting the page.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations at all, the description does real work by disclosing that the tool is passive, issues a single GET, and behaves like a browser visit, which tells an agent the operation is non-mutating. It leaves out redirect handling, timeouts, failure behavior for unreachable hosts, and rate limits, and only implicitly signals that private/localhost targets are rejected via the word "public".

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 with the core action first and the safety posture second; every clause carries information an agent needs, and there is no restatement of the name or padding.

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?

There is no output schema, and the description still conveys the return shape (an A-F grade with suggested fixes) plus the network behavior, which is enough to call the tool correctly. It could be slightly more complete by noting what happens on unreachable or non-HTTP targets and whether raw headers are also returned.

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?

The schema has one bare string property named "url" at 0% description coverage, so the description must compensate. It adds meaningful constraints the schema lacks: the target must be public, must be http or https, and is fetched exactly once. It does not state whether the scheme is required in the input or whether the value is normalized if omitted.

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?

"Fetch a public http(s) URL and grade its security headers (A-F) with fixes" gives a specific verb (fetch/grade), a specific resource (URL security headers), and the shape of the result (letter grade plus remediation). It does not name or contrast with the siblings analyze_raw_headers or explain_header, so an agent must infer that this tool scores while those inspect or explain.

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 implied by the phrase "grade its security headers (A-F) with fixes", which suggests the tool for an overall assessment rather than raw header inspection. There is no explicit statement of when to prefer this over analyze_raw_headers or explain_header, and no prerequisites or exclusions beyond the word "public".

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