Skip to main content
Glama

delete_memory

Archive a memory by ID to exclude it from normal searches while preserving it in history for later recovery. Use this soft delete to remove outdated records without permanent loss.

Instructions

Archive a memory (soft delete). The memory is preserved for history but excluded from normal searches.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe memory ID to delete
store_idNoStore/fork ID (default 'main')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well on the critical point: it discloses that this is a soft delete, that data is preserved for history, and that the memory is excluded from normal searches. It omits permissions requirements, idempotency, and whether an unarchive path exists, which keeps it short of a 5.

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, zero waste, with the operation type and its key consequence front-loaded. Nothing could be removed without losing meaning.

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

Completeness4/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 definition covers the essential behavior an agent needs before invoking it, namely that the effect is reversible-in-spirit and search-visible. Absence of any recovery or permission note is the only meaningful gap.

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%, so both id and store_id are already documented in the schema. The description adds the semantic framing of what 'delete' means for the target record but says nothing about the parameters themselves, so the schema-level baseline of 3 applies.

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?

States a specific verb-and-resource pair ('Archive a memory') and immediately reconciles it with the tool name by labeling the operation a soft delete. This distinguishes it from a hard-delete tool, though it does not explicitly contrast with siblings like update_memory or delete_fork.

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: use this when a memory should be removed from normal searches but kept for history. There is no explicit when-not guidance, no mention of how to undo the archive, and no named alternative for permanent removal, so an agent must infer the boundary conditions.

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