Skip to main content
Glama

RungLab DevTools MCP

check_security_headers

Read-onlyIdempotent

Audit HTTP response headers for HSTS/CSP/CORS flaws and generate stack-specific hardened snippets.

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": {
      "headersText": "<headersText>"
    },
    "name": "check_security_headers"
  }
}

Input Schema

NameRequiredDescriptionDefault
headersTextYesRaw HTTP response headers (Header-Name: value per line).
targetStackNoTarget stack for hardened snippet (default generic).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description's added value is disclosing the analysis scope (HSTS/CSP/CORS) and that it emits remediation snippets, but it says nothing about how findings are reported, severity levels, or whether a malformed header block errors out vs. degrades.

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?

One sentence, front-loaded with the primary action and resource, followed immediately by the secondary output. Every clause carries information; nothing is redundant 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?

For a two-parameter, read-only, non-destructive tool with fully documented schema and annotations, the description conveys input source, analysis coverage, and output artifact. The only remaining gap is the shape of the audit report itself, which matters somewhat since no output schema exists.

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 coverage is 100%: headersText is documented as 'Raw HTTP response headers (Header-Name: value per line)' and targetStack documents its enum values and the generic default. The description's 'stack-specific hardened snippets' merely restates the schema's 'Target stack for hardened snippet', so a baseline 3 applies.

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 (audit) plus the exact resource (HTTP response headers) and the concrete flaw categories checked (HSTS/CSP/CORS), then adds a second deliverable (stack-specific hardened snippets). The subject matter is distinct enough from siblings like check_spf_dmarc_syntax or audit_openapi_spec that no explicit sibling callout is needed, though one is absent.

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: an agent can infer it should call this when it holds raw response headers text and wants hardening guidance. There is no explicit when-not guidance, no statement of prerequisites (e.g. that headersText is the raw response, not a URL), and no named alternative tool for overlapping audits.

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.

Resources