Skip to main content
Glama

pbs_tape_drive_restore_key

Restore a tape encryption key from a drive's mounted media by providing the password used to protect the key. Supports dry-run planning before execution.

Instructions

MUTATION: try to restore a tape encryption key from a drive's mounted media.

RISK_MEDIUM: on success, changes what tape content becomes decryptable going forward — mirrors pbs_tape_key_create's rating. SECRET CONTRACT: password is NEVER written to the audit ledger or returned in the dry-run PLAN — forwarded RAW only to the real PBS API on confirm=True. confirm=True executes (POST /tape/drive/{drive}/restore-key, synchronous) and returns {"status": "ok", "result": None}. Needs PROXIMO_PBS_* config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
driveYesDrive identifier.
confirmNoFalse (default) returns a dry-run PLAN only; True executes the restore attempt.
passwordYesThe password the tape encryption key was protected with.
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, description fully covers mutation effect, risk level, secret contract for password, dry-run vs execute behavior, synchronous execution, return format, and config dependency.

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?

Very concise and well-structured with tags like MUTATION, RISK_MEDIUM, SECRET CONTRACT. Every sentence adds value.

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?

Covers key behavioral aspects and return, but could mention prerequisites like drive having media loaded with a key to restore.

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 baseline 3. Description adds security note about password not logged but doesn't elaborate on drive or proximo_target beyond schema.

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

Purpose4/5

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

The description clearly states it restores a tape encryption key from a drive's mounted media, but does not explicitly differentiate from sibling pbs_tape_key_create beyond mentioning it mirrors its rating.

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

Usage Guidelines3/5

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

Provides context on confirm flag and config requirements, but lacks explicit guidance on when to use this tool vs alternatives like pbs_tape_key_create or pbs_tape_key_update_password.

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