Skip to main content
Glama

check_security_headers

Analyze HTTP security headers against best practices to identify misconfigurations and vulnerabilities.

Instructions

Analyze HTTP security headers against best practices.

Args: headers: Dict of HTTP response headers. Example: {"Strict-Transport-Security": "max-age=31536000"}.

Behavior: This tool is read-only and stateless — it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.

When to use: Use this tool for security assessment, threat detection, or vulnerability analysis. Suitable for automated security scanning and risk evaluation.

When NOT to use: Do not rely solely on this tool for production security decisions. Always combine with manual security review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
headersYes
api_keyNo
Behavior5/5

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

With no annotations, the description fully discloses read-only, stateless, idempotent nature, rate limits (free vs pro), and authentication requirements, offering comprehensive behavioral insight.

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?

The description is well-organized into clear sections (Args, Behavior, When to use/not), each sentence is purposeful and concise without redundancy.

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?

Covers behavior, rate limits, and usage warnings well, but omits output format/return value details (no output schema provided) and error handling, a minor gap for a simple analysis tool.

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?

The description adds value for the 'headers' parameter with an example and format, but fails to mention the 'api_key' parameter, leaving part of the schema uncovered despite low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool analyzes HTTP security headers against best practices, a specific verb-resource pair that distinguishes it from sibling tools like analyze_password_strength or classify_vulnerability.

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

Usage Guidelines5/5

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

Explicit 'When to use' and 'When NOT to use' sections provide clear context for appropriate usage and cautions against sole reliance for production decisions, guiding the agent effectively.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CSOAI-ORG/cybersecurity-ai-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server