Skip to main content
Glama

memory_delete

Archive an incorrect or obsolete memory by ID, or permanently delete it when hard is true.

Instructions

Archive a memory (default) or delete permanently (hard=true). Use when a memory is wrong or obsolete.

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

Input Schema

NameRequiredDescriptionDefault
idYesUnique identifier of the memory (Notion page ID or Obsidian UUID)
hardNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / id / description
      Previous value: -"Notion page id of the memory"New value: +"Unique identifier of the memory (Notion page ID or Obsidian UUID)"
  2. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden, and it handles the most important point: the default is a reversible archive while hard=true is permanent destruction. It does not state whether an archived memory can be restored or what happens when the id does not exist, which leaves residual gaps for a destructive operation.

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 sentences, no filler, and the default-versus-permanent behavior is front-loaded before the usage condition. Every clause contributes information an agent needs in order to call the tool safely.

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 destructive tool with no annotations and no output schema, the definition covers the essential decisions: which mode is default, how to force permanent deletion, and when to invoke it. Only recovery expectations and failure behavior are unaddressed, which are secondary given the tool's simplicity.

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 only 50% because the 'hard' property has no description beyond its default. The description compensates directly by defining hard=true as permanent deletion and hard omitted as archival, adding exactly the semantics the schema lacks. The 'id' parameter is already documented in the schema, so nothing more is required there.

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 pairs a specific verb set with the resource: 'Archive a memory (default) or delete permanently (hard=true)'. It also disambiguates the two modes of operation, which is a meaningful scope distinction. It does not explicitly name a sibling (e.g. memory_update) as the alternative, so the differentiation is clear from the verb but not stated.

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

Usage Guidelines4/5

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

'Use when a memory is wrong or obsolete' gives an explicit triggering condition rather than leaving usage implied. It does not cover when NOT to use it, notably the case where a memory is merely incorrect and memory_update would fix it rather than destroy it, so no exclusions or alternatives are offered.

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