Skip to main content
Glama

Restore a dismissed memory

restore_memory
Idempotent

Undo dismissing a memory, observation, fact, or episode so it appears again in search and session context. Leaves data unchanged and reports no action if the item was not dismissed.

Instructions

Undo a dismiss_memory: the item shows up again in search and session context. Does nothing, and says so, if the item was not dismissed. Use the same id and type that were dismissed.

Input Schema

NameRequiredDescriptionDefault
idYesNumeric id of the dismissed item. Required.
typeNoWhat kind of item the id refers to. Default memory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3
    • addedInput schema / properties / id / description
      Added value: +"Numeric id of the dismissed item. Required."
    • addedInput schema / properties / type / description
      Added value: +"What kind of item the id refers to. Default memory."
  2. First observedv0.1.2

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations' mutation, idempotency, and non-destructive hints, the description explains the observable effect: the item becomes visible again in search and session context. It also discloses that a non-dismissed item produces no change and an explicit response, which is useful behavior for an agent to know.

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?

Three short sentences, front-loaded with the core action and followed by the effect, edge case, and parameter guidance. No sentence is wasted.

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

Completeness5/5

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

For a two-parameter restoration tool with full schema coverage, clear annotations, and no output schema, the description supplies everything needed to invoke it correctly. It covers purpose, effect, matching requirements, and the no-op outcome.

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

Parameters4/5

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

Schema coverage is 100%, so the parameters are already well documented. The description adds a meaningful semantic constraint by saying the id and type must match the original dismissal, which goes beyond the schema's field descriptions.

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?

The description uses a specific verb and resource: it undoes dismiss_memory and restores the dismissed item. It also states the visible effect, reappearing in search and session context, which distinguishes it from sibling tools like search and dismiss_memory.

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

Usage Guidelines5/5

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

It explicitly names the inverse operation to use this tool for, tells the agent to reuse the same id and type that were dismissed, and documents the no-op case when the item was not dismissed. This gives clear when-to-use and edge-case guidance.

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