Skip to main content
Glama

delete_memory

Delete one memory by ID, e.g. when the user says it is wrong or asks you to forget it.

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
memory_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and only implies destructiveness through the verb "Delete." It does not say whether deletion is permanent or reversible, whether confirmation is required, or what happens to memories referenced elsewhere (chains, contradictions). That is a meaningful gap for an irreversible 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?

A single front-loaded sentence with the action first and the triggering scenario after it; nothing is redundant and no re-reading is required.

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

Completeness2/5

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

For a destructive single-record operation with no annotations and no output schema, the definition should disclose irreversibility and any confirmation or cascade behavior. It provides only the trigger example, so an agent cannot confidently predict the consequences of calling it.

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 0%, so the description must compensate, and "by ID" does establish that memory_id identifies the target memory. However, it says nothing about the ID's format or where to obtain it (recall, get_recent_memories, timeline), leaving the agent to guess the source.

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?

"Delete one memory by ID" states a specific verb and resource and scopes it to a single record, which separates it from bulk-ish siblings like export_memories. It does not name any sibling alternative, so an agent must still infer that no other tool deletes memories.

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?

The description supplies concrete trigger conditions (user says the memory is wrong, or asks to forget it), which is clear when-to-use guidance. It stops short of stating when not to delete or what to do instead (e.g. correcting a memory vs. removing it).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources