Skip to main content
Glama

pbs_tape_restore

Restore data from a tape media-set to a datastore. Supports selective snapshots and namespace mapping, with a dry-run plan by default.

Instructions

MUTATION: restore data from a tape media-set into a datastore.

RISK_HIGH: WRITES into an existing datastore; namespaces are AUTO-CREATED as needed; PBS's own schema does not state what happens if a target snapshot already exists at the destination (Smoke-confirm — may overwrite, skip, or fail per-snapshot); a media-set can span many snapshots across many namespaces in one call. Dry-run by default (returns a PLAN); confirm=True executes (POST /tape/restore) and returns {"status": "submitted", "result": ""}. Needs PROXIMO_PBS_* config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
driveYesDrive identifier (3-32 chars).
ownerNoAuthentication ID to own restored snapshots (user@realm or user@realm!token-name).
storeYesDatastore MAPPING — comma-separated (<source>=)?<target> entries, e.g. 'a=b,e' maps source 'a' to target 'b' and everything else to default 'e'. NOT the same shape as pbs_tape_backup's plain single-identifier store.
confirmNoFalse (default) returns a dry-run PLAN only; True executes the restore.
media_setYesMedia set UUID to restore from.
snapshotsNoSelective restore: specific snapshots as 'store:[ns/namespace/...]type/id/time'. Omit to restore the WHOLE media-set.
namespacesNoNamespace mappings: 'store=<name>[,max-depth=<int>][,source=<ns>][,target=<ns>]' entries. Omit to restore into default namespaces (auto-created as needed).
notify_userNoNotify-user (user@realm).
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.
notification_modeNo'legacy-sendmail' or 'notification-system'.

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 carries full burden and excels. It discloses: mutation writes into existing datastore, namespaces auto-created, uncertain behavior on existing snapshots, media-set can span many snapshots, dry-run default, confirmation required, and returns either a plan or a status with UPID. It also flags HIGH risk. This is comprehensive transparency.

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 front-loaded with critical information: mutation, risk, dry-run default, confirmation. It then provides caveats about existing snapshots and spans. It is concise despite covering complex behavior, with no wasted words. Every sentence adds value.

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 10 parameters, 100% schema coverage, and an existing output schema, the description is highly complete. It explains dry-run vs. execution, the nature of a media-set, auto-creation of namespaces, and the need for configuration. It also notes uncertain behavior (existing snapshots). This leaves minimal ambiguity for a complex tool.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds extra meaning for several parameters: 'store' format with mapping syntax, 'confirm' default and effect, 'snapshots' selective vs. whole media-set, 'namespaces' mapping and auto-creation. This goes beyond the schema. However, parameters like 'drive', 'owner', 'notify_user' are not further explained in the description, but the schema already covers them adequately.

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 restores data from a tape media-set into a datastore. It specifies the verb ('restore'), resource ('tape media-set to datastore'), and highlights key behaviors like dry-run and confirmation. This distinguishes it from sibling tools like pbs_tape_backup.

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 implies usage for tape restore operations and notes that a dry-run is default and confirmation is needed to execute. It mentions the need for PROXIMO_PBS_* config. However, it does not explicitly state when to use this tool over alternatives (e.g., pbs_restore or other restore tools) or provide when-not-to-use guidance. This is a minor gap given the large sibling list.

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