Skip to main content
Glama
AIops-tools

proxy-aiops

delete_config_path

Delete a Caddy configuration subtree with undo support. Preview changes with dry-run before applying; refuses to remove admin or root paths.

Instructions

[WRITE][risk=high] Delete a caddy config subtree; reversible — the subtree is captured first and the undo re-creates it.

Pass dry_run=True to preview.

Refuses the 'admin' subtree and the config root: both remove the admin API this tool speaks to, leaving the undo with no way to reach the server. The refusal applies under dry_run too, which must report it rather than preview a call that will be refused.

Args: path: Slash-separated config path to delete. dry_run: If True, preview without deleting. target: Proxy target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
targetNo
dry_runNo
Behavior5/5

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

Even without annotations, the description discloses key behaviors: the operation is reversible, the subtree is captured first, dry_run previews, and it refuses the 'admin' subtree and config root with a clear safety rationale. This is thorough and goes beyond typical descriptions.

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?

The description is concise and well-structured: a one-sentence summary, a dry-run note, a safety/refusal explanation, and a brief Args list. Every sentence adds value without unnecessary verbosity.

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?

Given no annotations and no output schema, the description fully equips an agent to understand what the tool does, how to invoke it safely, and what to expect. It covers purpose, behavior, and all parameters completely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has no descriptions, so the description's parameter explanations are essential. It clearly defines path as slash-separated, dry_run as preview, and target as an optional proxy name – adding meaning beyond the schema.

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 clearly states the tool's function: 'Delete a caddy config subtree' – a specific verb and resource. It also notes reversibility and distinguishes it from sibling tools that set or load config values.

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?

Provides clear context for when to use the tool (to delete a config subtree) and mentions dry_run for preview. It does not explicitly name alternative tools or state when not to use it, so it stops short of the top score.

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

Install Server

Other Tools

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/AIops-tools/Proxy-AIops'

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