Skip to main content
Glama

Archive or Delete Memory Node

delete_memory_node
Destructive

Archive a memory node by ID to preserve history, or permanently remove it and all revisions when hard deletion is required.

Instructions

Soft-archives a memory node (default, preserves history) or permanently deletes it along with its revisions.

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_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMemory ID or dead-end ID to archive or delete
hard_deleteNoIf true, permanently drops node from database; if false, soft-archives
project_pathNoAbsolute path to the project workspace root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but that blanket flag obscures the important nuance that the default path is non-destructive and preserves history; the description supplies exactly that context. It also discloses that hard delete removes revisions, which the annotations cannot convey. It does not say whether the operation is reversible once hard-deleted or what confirmation is required, keeping it below 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?

A single sentence with no filler, and the safe default ('default, preserves history') is front-loaded before the destructive branch. Nothing is wasted or buried.

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 three-parameter mutation tool with full schema coverage and explicit annotations, the description covers both operational modes and the scope of data loss. A small gap remains around irreversible consequences and downstream effects on references, but the core decision information is present.

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 coverage is 100%, so all three parameters are already documented in the schema, including hard_delete's true/false meaning. The description restates the same distinction at a higher level rather than adding new semantics such as defaults for project_path or accepted ID formats. Baseline 3 is appropriate when the schema does the heavy lifting.

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 pair ('soft-archives' / 'permanently deletes') on a specific resource ('memory node') and notes that revisions are included in the hard delete. It distinguishes the two modes cleanly, though it doesn't contrast itself with siblings like update_memory_node or read_memory_node.

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 stating soft-archive is the default, which tells the agent the safe path, but there is no explicit when-to-use guidance, no condition for choosing hard delete over archiving, and no mention of alternatives such as update_memory_node. The agent must infer the decision rule.

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