Skip to main content
Glama

delete_memory

Archive a specific memory by ID so it is hidden from search and can be restored later. Use when the user asks to forget a stored memory.

Instructions

Forget one memory by ID, e.g. when the user asks you to forget it. It is archived (hidden from search, kept in its history) and can be restored.

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

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy it is being forgotten.
memory_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well on the most important point: it discloses that deletion is soft (archived, hidden from search, retained in history, restorable), which materially changes how an agent should reason about risk. It stops short of stating who may perform it, what the response contains, or which tool restores the memory.

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 short sentences with no filler. The action and its scope come first, the usage trigger second, and the safety semantics last, which is the right order for an agent scanning for purpose before risk.

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 tool with no output schema and no annotations, the description covers purpose, trigger, and the critical reversibility profile. The only residual gap is the restore path, which belongs to a sibling tool rather than this definition.

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 50%: the 'reason' parameter is already documented in the schema, and the description adds meaning for the undocumented 'memory_id' by clarifying it identifies exactly one memory. The 'reason' field's intent as an audit trail is only weakly implied, leaving some semantic work to the schema.

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?

The description states a concrete verb and resource ('Forget one memory by ID'), scoping it to a single record rather than a bulk operation. It is clearly separable from retrieval siblings like recall or get_memory_chain, but it never names or contrasts with update_memory or export_memories, which are the nearest alternatives for an agent deciding how to handle a memory.

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?

It gives one explicit trigger condition ('when the user asks you to forget it'), which is genuinely useful routing guidance. However, it offers no when-not condition, no mention of when to prefer update_memory (which presumably disables rather than archives), and no prerequisite/auth notes, so the agent must infer the boundaries.

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