Skip to main content
Glama

Restore a backup

restore_backup
Destructive

Restores an Altium library file from a specific backup or the most recent one. Safely snapshots the current file before restoring, ensuring reversibility and atomic writes.

Instructions

Restore an Altium library file from a backup. If no specific backup is specified, restores from the most recent backup. The current file is snapshotted as a new backup first (reported as pre_restore_backup), so a wrong pick is itself reversible, and the restore is written atomically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYesPath to the library file to restore
backup_pathNoOptional: specific backup file to restore from. If not provided, uses most recent backup.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

The annotations already mark this as destructive, but the description adds meaningful behavior beyond that: the current file is snapshotted first, the operation is reversible, and the restore is atomic. This is exactly the kind of safety-relevant context an agent needs and could not get from the annotations alone.

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?

Three sentences, each earning its place: the core operation, the default behavior, and the crucial safety semantics. The main action is front-loaded and there is no filler or redundant restating of the title.

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?

For a destructive tool with no output schema, the description covers the required input, optional input behavior, reversibility, and atomic write semantics. It mentions pre_restore_backup as reported output but does not fully describe the response shape. This is a minor gap and does not undermine successful invocation.

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 are already well documented: filepath is required, backup_path is optional and defaults to the most recent backup. The description repeats the default behavior but does not add new parameter-level semantics beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb and resource: restore an Altium library file from a backup. It also clarifies the default behavior of using the most recent backup when none is specified. Among the sibling tools, this is clearly the restore operation and is not easily confused with read/write or component-level tools.

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?

The description gives useful operational guidance about the optional backup_path and the default fallback to the most recent backup. However, it does not explicitly say when to use restore over other tools or point to list_backups as the companion tool for selecting a backup. The usage context is implied rather than stated.

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

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/embedded-society/altium-designer-mcp'

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