Skip to main content
Glama

pbs_prune

Prune old backup snapshots in Proxmox Backup Server by retention policy, with dry-run preview and confirm execution safety gates.

Instructions

MUTATION: prune backup snapshots per a retention policy. TWO safety gates: confirm (Proximo dry-run vs execute) AND dry_run (PBS-side preview). dry_run=True (default) only previews; dry_run=False DELETES recovery points (PLAN is HIGH, no undo). confirm=True to execute. Synchronous — returns prune decisions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nsNo
storeYes
confirmNo
dry_runNo
backup_idNo
keep_lastNo
keep_dailyNo
backup_typeNo
keep_weeklyNo
keep_yearlyNo
keep_monthlyNo
proximo_targetNoWhich configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description fully carries the burden. It clearly states it is a mutation that deletes recovery points, is synchronous, and has safety gates. It explicitly warns 'no undo' and 'PLAN is HIGH,' providing essential behavioral context for a destructive operation.

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 with several packed sentences covering purpose, safety gates, and behavior. It uses clear separation (e.g., 'TWO safety gates', 'Synchronous — returns prune decisions') without superfluous text, earning 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?

Given 12 parameters (1 required) and an output schema (not shown), the description covers the most critical safety parameters but omits explanation of retention policy parameters like keep_daily. It adequately describes overall behavior and usage, though could be more complete on all parameters.

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 only 8%, so description must compensate. The description adds value for confirm and dry_run parameters (explaining their defaults and effects) but does not elaborate on retention policy parameters like keep_last or keep_daily, leaving most parameters unexplained beyond schema names.

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 starts with 'MUTATION: prune backup snapshots per a retention policy,' which clearly specifies the action (prune) and resource (backup snapshots) with a retention policy context. Among siblings, it distinguishes itself from pve_acl_prune or pbs_snapshot_delete by focusing on policy-based pruning.

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?

The description explains the two safety gates (confirm and dry_run), their defaults, and the behavior of each (preview vs. actual deletion). It warns about the high plan and no undo. However, it does not compare to sibling tools or state when to use this vs. alternatives, leaving some implicit guidance.

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/john-broadway/proximo'

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