Skip to main content
Glama

restore_backup

Destructive

Returns an approval ticket to replace editable bookmarks from a saved backup, enabling approved recovery of bookmarks.

Instructions

Return an approval ticket to replace editable bookmarks from a saved backup.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "backupId": "<backupId>"
    },
    "name": "restore_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
backupIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-dev.0

TDQS

C2.6/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 known; the description's real contribution is revealing that this is gated behind an approval ticket, which is useful context not in the annotations. However it does not say whether the replacement happens immediately or only after approval, what 'editable' excludes, or what happens to non-editable bookmarks, leaving the destructive scope underspecified for a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no filler, but the phrasing 'Return an approval ticket to replace editable bookmarks' is awkwardly ordered and buries the primary effect; a clearer front-loading would lead with what gets restored.

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

Completeness2/5

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

For a destructive, approval-gated mutation with one undocumented parameter and no output schema, one sentence is not enough. The agent cannot tell whether the restore is immediate or deferred, what the returned ticket enables, or how failures/partial restores behave.

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

Parameters2/5

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

Schema description coverage is 0%, so the description should carry the burden for backupId. 'From a saved backup' implies the parameter identifies a stored backup, but the description adds nothing about expected format, where ids come from (list_backups), or whether a prior backup creation is required. The only format information lives in the schema pattern.

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

Purpose3/5

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

The sentence has a verb ('Return') and a resource ('an approval ticket'), but it never plainly states that the tool restores bookmarks from a backup — the name says restore_backup while the text emphasizes returning a ticket. The phrase 'replace editable bookmarks from a saved backup' gestures at the scope (editable bookmarks only) but leaves the actual effect ambiguous, so differentiation from siblings like create_backup or list_backups is partial.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as list_backups (to find an id) or respond_to_pending_approval (to act on the returned ticket). The agent must infer the whole workflow.

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