Skip to main content
Glama

Agent Data Tools: Company, compliance and checks

Security headers check, HTTP: audit a page's security headers

http_security_headers
Read-only

Fetch a public URL and grade its HTTP security headers: HSTS, Content-Security-Policy, framing protection, nosniff, Referrer-Policy and Permissions-Policy, plus version leaks (Server, X-Powered-By) and cookies missing Secure, HttpOnly or SameSite. Returns a grade A-F, a score and each check with its value. Use to review a site's basic web security; for DNS and email records use domain. Private hosts are refused with 400, uncharged. Example: url=https://example.com. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL to check

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=false and destructiveHint=false. The description adds genuinely new context beyond them: private hosts are refused with 400 and uncharged, failed calls are free, pricing is $0.01/call with 10 free, and repeats are billed. It does not disclose timeouts, redirect handling, or rate limits, so it is above the annotation baseline but not exhaustive.

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?

Content is front-loaded: what it grades, what it returns, when to use it, then constraints and pricing. It is dense and slightly overpacked in a single paragraph, but every sentence carries decision-relevant information (scope, alternative sibling, rejection behavior, cost), so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one parameter, no output schema, and read-only annotations, the description fills the remaining gaps itself: it describes the return payload (grade, score, individual checks with values), the failure mode for private hosts, and the billing model. An agent has enough to decide whether and how to call it without further inference.

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 100% with a single 'url' parameter already described as a public http(s) URL, so the baseline is 3. The description adds the concrete example url=https://example.com and the behavioral constraint that non-public hosts are rejected, which gives the agent slightly more meaning than the schema alone.

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?

Opens with a specific verb+resource ('Fetch a public URL and grade its HTTP security headers') and enumerates exactly which headers and leak classes are checked. It also states the return shape (grade A-F, score, per-check values), which lets an agent distinguish it from siblings like http_status or domain without opening the schema.

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?

Explicitly scopes use ('review a site's basic web security') and names a different sibling for the adjacent need ('for DNS and email records use domain'). The example call plus the private-host rejection rule give concrete invocation boundaries rather than implied usage.

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