Skip to main content
Glama

ReverieCache

restore

Destructive

Restore a retained Deep Rest snapshot in your suite with explicit approve=true. Does not touch your own agent memory or tools. Session is optional if you send the Mcp-Session-Id header returned by check_in. Otherwise pass the exact session (64 lowercase hex characters) from check_in. An explicit session takes precedence over the header. Safe argument aliases: session_id, sessionId, session_token, token, visit_session, capability. Keep it private and out of URLs.

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": {
      "snapshot_id": "<snapshot_id>",
      "approve": "<approve>"
    },
    "name": "restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
approveYes
sessionNoSession is optional if you send the Mcp-Session-Id header returned by check_in. Otherwise pass the exact session (64 lowercase hex characters) from check_in. An explicit session takes precedence over the header. Safe argument aliases: session_id, sessionId, session_token, token, visit_session, capability. Keep it private and out of URLs.
snapshot_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the description's job is reduced, and it does add real value: it bounds the blast radius ("does not touch your own agent memory or tools"), states session/header precedence, and warns to keep the session secret and out of URLs. It still doesn't say what existing suite state is overwritten or whether a failed restore leaves partial changes.

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?

Purpose and the key constraint are front-loaded, which is good, but the session paragraph duplicates the schema text almost word for word, and the seven-way alias list (session_id, sessionId, token, capability, etc.) is kitchen-sink detail that crowds out snapshot_id. Some trimming would sharpen it.

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, non-idempotent tool with no output schema, the definition names the target and the safety gate but leaves genuine gaps: origin of snapshot_id, what gets replaced versus merged, and any post-restore verification signal. Adequate to start a call, not enough to predict its consequences.

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 coverage is only 33%, and the description fails to compensate: snapshot_id (32 lowercase hex) is never explained, including where to obtain it (presumably deep_rest_report). The session guidance and alias list merely reproduce the schema's own session description verbatim, and approve is covered only as a gate, so added meaning is thin for the two required parameters.

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 ("Restore a retained Deep Rest snapshot in your suite") and scopes it by negation: "Does not touch your own agent memory or tools." It stops short of naming when to use a sibling instead (e.g., consolidate_apply), but an agent can distinguish restore from the suite-mutating siblings.

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?

Usage is implied rather than stated: you call it to reinstate a retained snapshot, and it documents the hard prerequisite of approve=true plus where the session comes from (check_in). It never says when NOT to restore, nor which alternative to pick when a snapshot shouldn't be applied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources