Skip to main content
Glama

List User Backups

hestia_list_backups
Read-onlyIdempotent

Lists classic HestiaCP tar backup archives for a specified user, including local and remote records, to help inspect available backups before restore or cleanup.

Instructions

List classic tar backup archives (local or remote) recorded for a HestiaCP user via v-list-user-backups. Use when inspecting classic HestiaCP tar backups; prefer hestia_list_restic_backups for incremental Restic snapshots, hestia_backup_archive_inspect (diagnostics) to list files inside a .tar archive, or hestia_backup_freshness for cross-backend age auditing. Returns { ok, targetId, command, data (map keyed by backup filename) }.

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": {
      "user": "<user>"
    },
    "name": "hestia_list_backups"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds the underlying command and a concrete return shape { ok, targetId, command, data (map keyed by backup filename) }, which tells the agent what will come back. It stops short of stating error behavior for unknown users or empty backup sets, keeping it below a 5.

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-loaded with the core action, then routing guidance, then return shape — a logical order. Densely packed but each clause carries information; the parenthetical return-type detail is the only slightly heavy element.

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?

With no output schema, the description compensates by spelling out the response envelope, which is exactly what an agent needs. Combined with full annotation coverage and complete parameter docs, the only gap is unspecified failure/empty-result behavior.

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%, and both parameters (user, targetId) are documented in the schema itself, so the schema does the heavy lifting. The description adds no further semantics about username format or targetId resolution beyond the schema default. Baseline 3 is appropriate.

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 — list classic tar backup archives for a HestiaCP user — and even names the backing command (v-list-user-backups). It explicitly contrasts with the Restic sibling, so an agent can distinguish the two listing tools without inspecting schemas.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use clause (inspecting classic HestiaCP tar backups) plus three named alternatives with their selecting conditions: hestia_list_restic_backups for incremental snapshots, hestia_backup_archive_inspect for files inside a .tar, and hestia_backup_freshness for cross-backend age auditing. Nothing is left to inference.

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