Skip to main content
Glama

caddy_validate_config

Validates a Caddy configuration file using a chosen Caddy binary to catch errors before deployment.

Instructions

Validate Caddy configuration file with specified binary

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": {
      "config_file": "<config_file>"
    },
    "name": "caddy_validate_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
config_fileYesPath to Caddyfile or JSON config to validate
caddy_binaryNoPath to Caddy binary to use for validationcaddy

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it never says the operation is non-destructive/read-only, whether the config file is modified, what happens when validation fails, or how results are surfaced. Only the bare action is disclosed; for a tool whose whole point is producing a pass/fail result, that is a significant gap.

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?

The description is a single front-loaded clause with no filler or redundancy. It is efficient, though its brevity comes at the cost of omitted behavioral detail rather than being tight and complete.

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

Completeness3/5

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

With only two fully described parameters, no nested objects, and no output schema, the tool is simple, but the description does not explain what a validation result looks like (exit status, error text) even though no output schema exists to cover that. It is minimally adequate rather than complete.

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?

Schema description coverage is 100%, so both parameters (config_file, caddy_binary) are already documented in the schema. The phrase 'with specified binary' echoes the caddy_binary parameter without adding format, default, or failure semantics beyond what the schema states, so baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource (validate a Caddy configuration file) and notes that the validation uses a specified binary, which clearly separates it from sibling tools that build, deploy, or create plugins. It is clear what the tool does, though it does not explicitly contrast itself with any named alternative.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the deploy or dev-server siblings, no statement of prerequisites (e.g., the binary must be installed), and no mention of when-not to use it. The agent must infer usage entirely from the tool name and schema.

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