Skip to main content
Glama

HTTP and security headers

check_http
Read-onlyIdempotent

Check how a website answers on http and https, with and without www: every redirect, the security headers (HSTS, Content-Security-Policy, framing, nosniff, Referrer-Policy), cookie flags and HTTP/2, with a grade and plain-language findings. Costs 2 credits per call; cached answers cost the same. Calls that fail upstream (502) are free. Returns about 15 lines of text; pass detail='full' for the complete JSON result.

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_http"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA domain or URL, e.g. example.com; only the site (scheme and host) is used.
freshNoSkip the cache and check again. Costs the same as a cached answer.
detailNo'compact' (default) for a short text summary, 'full' for the JSON.compact

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description goes further by disclosing the credit cost (2 per call), that cached answers are not cheaper, that upstream 502 failures are free, and that output defaults to ~15 lines of text. What it omits is rate limiting or how long a check takes, so it is strong 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?

Everything sits in one dense paragraph that is front-loaded with the purpose, and each sentence carries distinct information (scope, cost, failure handling, return shape). It borders on crammed — cost and return-format facts run together in the same block — but nothing is filler.

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?

With no output schema and three simple parameters, the description supplies what the agent needs: what is tested, what is returned in each detail mode, and the billing implications of caching and failures. Only edge behavior (invalid domains, timeouts) is left unspecified, which is minor for a read-only checker.

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 description coverage is 100%, so the baseline is 3; the description still adds value by tying detail='full' to the complete JSON result and by clarifying that caching has no cost benefit, which gives meaning to the fresh flag. It does not expand on URL normalization beyond the schema's note that only scheme and host are used.

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 names a specific verb (check) and enumerates the exact resource surface: http/https/www redirect chains, named security headers (HSTS, CSP, framing, nosniff, Referrer-Policy), cookie flags and HTTP/2, plus a grade. That is far more specific than the title and lets an agent distinguish this from certificate- or port-oriented siblings 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 Guidelines3/5

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

Usage is implied by the scope (auditing redirect and header hygiene), and the detail parameter is framed as a choice, but there is no explicit 'use this instead of check_ssl / check_web_ports when…' routing and no stated preconditions or exclusions. An agent can infer when it is appropriate but is given no comparative guidance.

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