Skip to main content
Glama

backup_restore_file

Destructive

Restore specified files from a Beget backup by providing the backup ID and target paths, reverting files to their saved state.

Instructions

Откатить файлы из резервной копии.

Args: backup_id: ID бэкапа (получить через backup_files_list) paths: Список путей для восстановления

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYes
backup_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds nothing behavioral beyond that: it never says existing files are overwritten, whether the operation is reversible, or whether it requires stopped services or elevated permissions — all material for a destructive restore.

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?

Short and front-loaded: the action statement comes first, then a compact Args block. Nothing is padded, though the Args formatting is a docstring artifact rather than description prose.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and annotations carry the destructive/closed-world profile. What is missing is the operational context a destructive restore needs — overwrite behavior, path semantics, and reversibility — leaving the definition only minimally adequate.

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 0%, so the description carries the burden. It does document both params and gives a valuable sourcing hint for backup_id, but 'paths' is only restated ('список путей для восстановления') with no clarification of path format (absolute vs. relative to a site root), which is critical for a restore operation.

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?

States a specific verb and resource ('Откатить файлы из резервной копии'), which is enough to separate it from backup_restore_mysql by resource type. It does not explicitly name the MySQL sibling or any other alternative, so sibling differentiation stays implicit.

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 a useful prerequisite pointer — backup_id must be obtained via backup_files_list — which is genuine usage context. However, there is no when-to-use vs when-not guidance and no mention of the conditions under which restoring is appropriate or dangerous.

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