Skip to main content
Glama

security_caddy_check

Read-only

Caddyfile security audit — Audit a Caddy v2 Caddyfile offline. text= the Caddyfile. Checks the admin API bound off-localhost (CRITICAL) and without enforce_origin, auto_https off, debug, trusted_proxies 0.0.0.0/0, plain-HTTP sites, tls internal on public hosts, TLS 1.0/1.1 minimums and weak ciphers, insecure_skip_verify to upstreams, plain-HTTP public upstreams, file_server browse, root at system directories, basic_auth with non-bcrypt passwords or over HTTP, inline API tokens/DNS credentials (never echoed), public metrics, missing security headers (HSTS, nosniff, frame, referrer), Server header and access logs. Returns PASS/REVIEW/FAIL, a 0-100 score and findings with line, site and fix. Price: $0.006 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "security_caddy_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes{ admin 0.0.0.0:2019 } example.com { file_server browse }

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description contributes real behavioral value by enumerating the checks, the PASS/REVIEW/FAIL verdict, the 0-100 score, findings with line/site/fix, and the 'never echoed' guarantee for secrets.

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?

Front-loads purpose and input shape, then a dense but purposeful check list, then return format and price. The long comma-separated enumeration is heavy but every item earns its place.

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?

No output schema exists, and the description fully compensates by describing the return shape (PASS/REVIEW/FAIL, score, findings with line/site/fix), so an agent knows exactly what to expect.

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?

Only one parameter exists and schema coverage is 100%, so the baseline is 3; the description adds meaning the schema doesn't by explicitly mapping text to the Caddyfile contents.

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?

States a specific verb and resource ('Audit a Caddy v2 Caddyfile offline'), sharply distinguishing it from the nginx/apache/haproxy siblings by naming the exact config format.

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

Usage Guidelines4/5

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

Gives clear operating context ('offline', 'text= the Caddyfile') that tells an agent exactly what input to supply, but offers no explicit when-not guidance or named alternatives; the sibling differentiation is left implicit.

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