Skip to main content
Glama

restore_memory

Reactivates an inactive memory for human use—forgotten, merged, retired, or rewritten—while leaving any newer replacement untouched. For the quarterdeck-goals plugin only; agents must not call it.

Instructions

Puts an inactive memory (forgotten, merged, retired or rewritten) back to active for the human; a newer memory that replaced it is left alone. For the quarterdeck-goals plugin only: agents and the model must not call this.

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": {
      "goal_id": "<goal_id>",
      "memory_id": "<memory_id>"
    },
    "name": "restore_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
goal_idYes
memory_idYes
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses the state transition (inactive → active), that the replacing memory is deliberately untouched, and that the tool exists for a human actor. It omits edge behavior — what happens if the memory is already active, if the id does not resolve, or whether the restore is idempotent — which keeps it out of the top band.

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?

Two sentences, both earning their place, with the action and its state semantics front-loaded and the safety restriction placed immediately after. No redundant restatement of the name or title.

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?

Covers the safety-critical and semantic essentials (who may call it, what it mutates, what it deliberately does not mutate), but leaves the two required identifiers unexplained in a mutation tool with no annotations and no output schema. An agent that ignored the prohibition would still not know how to form goal_id or memory_id from this text alone.

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 only 33%, with goal_id and memory_id both undocumented, and the description says nothing about what either identifier means or where to source it. Only run_scope is explained, and that explanation lives in the schema, not the prose, so the description fails to compensate for the coverage gap.

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?

Names a specific verb and resource ("Puts an inactive memory ... back to active") and enumerates the eligible prior states (forgotten, merged, retired, rewritten). The clause "a newer memory that replaced it is left alone" further narrows the action so it is distinguishable from restore_goal and from generic write tools.

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

Usage Guidelines4/5

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

Gives an explicit caller restriction — quarterdeck-goals plugin only, humans only, "agents and the model must not call this" — which is exactly the when-not guidance an agent needs. It stops short of naming a positive alternative for cases where an agent does need to revive state (e.g. recall or restore_goal), so it is strong but not exhaustive.

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