Skip to main content
Glama

memory_restore

Restores compact saved task state by checkpoint ID or latest checkpoint for a task, letting Claude resume work with persistent memory.

Instructions

Restore compact previously saved task state

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": "memory_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoCheckpoint ID to restore
taskIdNoTask ID to restore latest checkpoint

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and fails: it never says whether restoring overwrites current task state, whether it is reversible, whether the operation is read-only or mutating, or what happens if the checkpoint is missing. "Compact" hints that restored state may be summarized, but this is never stated as a behavioral consequence.

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?

A single front-loaded phrase with no filler or redundancy. Its brevity is efficient, though it shades into under-specification rather than crispness.

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 state-mutating tool with zero annotation coverage and no output schema, the definition says far too little. An agent cannot predict the effect on existing state, the failure mode for an invalid ID, or which selector to use, so it has to guess before invoking.

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 documented in the schema, so the baseline of 3 applies. The description adds nothing about how id and taskId interact, which is the one piece of meaning the schema does not supply.

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?

"Restore" gives a specific verb and "previously saved task state" names the resource, so the general intent is graspable. But "compact" is unexplained jargon and nothing distinguishes this from memory_checkpoint, so the agent cannot tell what a restore actually yields versus a checkpoint.

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 guidance on when to restore versus creating or inspecting a checkpoint, and no precondition such as requiring an existing checkpoint. The two alternative selectors (id vs taskId) are left without any stated preference or precedence rule.

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