Skip to main content
Glama

Check HTTP security

check_http_security
Read-onlyIdempotent

Grade the security headers of one public URL. One GET, plus a single check that HTTP redirects to HTTPS. Scores HSTS, CSP, nosniff, framing, referrer policy, permissions policy, cookie flags, CORS wildcard with credentials, and server version leaks. Returns an A–F grade, one sentence, and findings with a fix. Read-only. No fuzzing. Call anytime: POST https://botthru.com/mcp tools/call, or POST https://botthru.com/a2a message/send.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http or https URL. No private addresses, no credentials.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNo
gradeNo
scoreNo
messageNo
summaryNo
findingsNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / grade / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / score / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • addedOutput schema / properties / suggestions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered; the description still adds real value by quantifying cost and scope ('One GET, plus a single check that HTTP redirects to HTTPS') and by explicitly ruling out fuzzing. It also previews the response shape (A–F grade, one sentence, findings with a fix), which is the kind of context annotations cannot convey.

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?

Purpose is front-loaded and the checked-header list is dense and information-rich. The closing transport sentence ('Call anytime: POST https://botthru.com/mcp tools/call, or POST https://botthru.com/a2a message/send') is long, endpoint-specific boilerplate that dilutes the payload and 'Call anytime' carries little signal.

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 an output schema present, annotations covering safety, and a fully described single parameter, the description is nearly complete: it states what is checked, how many requests are made, and what comes back. The one gap is comparative context — a 25-tool sibling set includes check_mcp_security and check_url, and the definition never says which target belongs to which 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?

There is a single required parameter with 100% schema description coverage, and the schema already states 'Public http or https URL. No private addresses, no credentials.' The description's 'one public URL' merely restates that constraint, so it adds no meaning beyond the schema — baseline 3.

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 opens with a specific verb and resource: 'Grade the security headers of one public URL,' then enumerates the exact checks (HSTS, CSP, nosniff, framing, referrer policy, permissions policy, cookie flags, CORS wildcard with credentials, version leaks). That enumeration makes it self-distinguishing from generic fetchers like check_url or audit_page without needing to name them.

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?

Scope is implied rather than stated: 'one public URL' and 'No fuzzing' tell the agent what the tool will not do, but there is no explicit when-to-use guidance and no pointer to the closely-named sibling check_mcp_security for MCP-specific targets. 'Call anytime' is invocation boilerplate, not selection 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