Skip to main content
Glama

caddy_backup_list

List available Caddy binary backups in a directory and show backup names so you can choose which one to restore.

Instructions

Manage Caddy binary backups (backup, restore, list)

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": {
      "action": "<action>"
    },
    "name": "caddy_backup_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction to perform: backup current binary, restore from backup, or list backups
backup_dirNoDirectory containing backups/opt/caddy/backups
caddy_binaryNoPath to Caddy binary to backup or restore to/usr/bin/caddy
restore_nameNoName of backup to restore (required for restore action)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and falls short: it does not state that 'restore' overwrites the existing binary, whether backups are created automatically, what permissions are needed, or how filenames for restore are produced. The parenthetical '(backup, restore, list)' is the only behavioral signal.

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?

A single short parenthetical sentence with no waste and the key actions front-loaded. It is arguably too terse rather than bloated, but there is no filler.

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

Completeness2/5

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

For a multi-action tool that includes a destructive restore onto a live binary path, with no annotations and no output schema, the description should say more about what each action does and its side effects. The definition is materially incomplete for its complexity.

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%, so the action enum, backup_dir, caddy_binary, and restore_name are already documented in the schema. The description adds nothing beyond repeating the action list, which is acceptable given the schema already does the work — baseline 3.

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

Purpose3/5

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

The description names the resource (Caddy binary backups) and enumerates three actions, but the tool name 'caddy_backup_list' only advertises listing, creating a mismatch with a description covering backup, restore, and list. The purpose is decipherable but not sharply stated for a single verb+resource.

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?

It enumerates the actions but gives no guidance on when to choose each one, no prerequisites, and no mention of the sibling tools (deploy, validate, build). An agent must infer everything from the action enum in the schema.

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