Skip to main content
Glama

caddy_config_delete

Destructive

Delete a Caddy config node at a JSON path, including its descendants. Set confirm=true to remove routes, servers, or other sections safely.

Instructions

Delete config at a JSON path. Removes the config node at the specified path. Deleting a parent node also deletes every descendant -- e.g. deleting 'apps/http/servers/srv0' removes that server and all of its routes. Requires confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesConfig path to delete (e.g., 'apps/http/servers/srv0/routes/0')
confirmNoMust be true to actually delete the config node (safety)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already mark the operation as destructive and not read-only. The description usefully adds that deleting a parent node cascades to all descendants and provides a concrete example, plus the confirm=true safety guard. This goes beyond the structured annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no wasted words: the core action is first, then the critical cascade behavior with an example, then the required confirmation flag. Each sentence earns its place.

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?

For a destructive delete operation, the description covers the target path, the example, cascade semantics, and the safety gate. It omits details like behavior for nonexistent paths or response/error values, but annotations and schema already cover the key safety profile.

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 coverage is 100%, and both parameters already have descriptive documentation in the schema. The description repeats the confirm requirement and gives an example path, adding little new meaning about the parameters themselves.

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 clearly states the action ('Delete config at a JSON path') and the resource (Caddy config), with a precise definition of deleting a node and its descendants. It does not explicitly differentiate from sibling tools like caddy_remove_route, but the JSON-path framing makes the scope reasonably distinct.

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?

No guidance is given about when to choose this tool over alternatives such as caddy_config_set or caddy_remove_route. The confirm=true requirement is a safety parameter, not a usage-or-alternative guideline.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YawLabs/caddy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server