Skip to main content
Glama

memory_restore

Restore a soft-forgotten memory from the archive by its ID, bringing archived conversational context back into active memory.

Instructions

从归档恢复一条被软遗忘的记忆。

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": {
      "id": "<id>"
    },
    "name": "memory_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation tool. It conveys that the source is an archive and the prior state was soft-forgotten, but says nothing about permissions, reversibility, error behavior for unknown or hard-deleted ids, or what the call returns.

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 short sentence with the verb and scope front-loaded and no filler. It is terse but every word contributes; the terseness is a coverage problem, not a wording problem.

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-changing tool with no annotations, no output schema, and an undocumented parameter, this definition is under-specified. An agent cannot predict failure modes or confirm the post-condition (e.g., where the restored memory reappears) from the text.

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 0% for the single required parameter, so the description must compensate. It only implies that the argument identifies one memory ("一条"); it does not clarify whether the id is a live memory id or an archive id, or what format is expected.

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?

"从归档恢复一条被软遗忘的记忆" names a specific verb (restore), the resource (a memory), and the source state (archived / soft-forgotten). This lets an agent distinguish it from memory_forget and raw_purge without opening a schema, though it never names those siblings explicitly.

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 by "被软遗忘" — you call this to undo a soft forget. There is no explicit statement of when not to use it, nor what to do for memories that were hard-deleted or never archived, and no sibling is named as the alternative.

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