Skip to main content
Glama

backups

Destructive

List timestamped snapshots, undo the latest file change, restore any saved version, or delete old snapshots to recover from spreadsheet mistakes.

Instructions

Undo mistakes. Every write keeps a timestamped backup; list them, undo the last change to a file, or restore any version. An undo itself is reversible (the replaced state is kept as a snapshot).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "backups"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFile (or folder) whose backups to use. Default: all.
limitNoMax backups to list.
actionNoundo = revert the file's latest change; restore = put back a specific backup.list
backupNoBackup path from action='list' (restore/delete).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/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 partly covered. The description adds genuinely useful behavior: backups are timestamped per write, and an undo is itself reversible because the replaced state is snapshotted. The significant gap is that the destructive 'delete' action is never described, so the agent gets no signal that one path permanently removes a backup.

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?

Three short sentences, front-loaded with the motivating use case, then the mechanism, then the reversibility guarantee. Nothing is redundant. Minor friction: the opening imperative 'Undo mistakes' leads with one action while the tool is primarily a multi-action backup manager, which slightly misdirects the read order.

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?

For a destructive, four-parameter tool with no output schema, the description covers the undo/restore lifecycle well but leaves the delete action entirely undocumented and gives no sense of what a list call returns (backup paths, timestamps). An agent could call it, but not safely across all enum values.

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 the schema already explains path, limit, action enum values, and the backup parameter. The description reinforces the undo-versus-restore distinction but adds no format, default, or interaction detail beyond what the schema states, so the baseline 3 applies.

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 names concrete operations on a concrete resource: list timestamped backups, undo the last change to a file, restore any version. That is far more specific than the bare name 'backups'. It loses a point because the fourth action in the schema, 'delete', is never mentioned, so the stated purpose is incomplete relative to what the tool actually does.

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?

'Undo mistakes' plus the note that every write keeps a backup gives an implied trigger for use. However, there is no explicit when-not guidance, no mention of how this relates to the write tools that create the backups, and no warning about which action to prefer between undo and restore. Usage is inferable but not directed.

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