Skip to main content
Glama

Delete Memory

memory_delete

Permanently removes a stored memory by its ID, letting you clear specific records from the AI Memory MCP layer without affecting other memories.

Instructions

Permanently deletes a memory by id.

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
idYes
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden; it does disclose the single most important trait, that deletion is permanent, which is genuine behavioral context beyond the name. It says nothing about permissions or ownership checks implied by user_id, cascade effects on related memories, failure behavior for an unknown id, or recoverability.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the irreversible nature is stated before the identifier. It is compact to the point of under-specification, but nothing is redundant or bloated.

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

Completeness3/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 description is thinner than ideal but not empty—'permanently' covers the key risk. Missing are the scope of user_id, what happens when the id is absent or already deleted, and any note on downstream effects, leaving an agent to guess before an irreversible call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, so the description must compensate and largely does not. It names 'id' only implicitly via 'by id' and gives no meaning for user_id, which is semantically load-bearing—an agent cannot tell whether it scopes the deletion, is an ownership guard, or is optional noise.

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 ('Permanently deletes a memory'), scoped 'by id', which lets an agent distinguish a hard delete from mutation siblings like memory_update. It stops short of naming or contrasting any sibling explicitly, so a 4 rather than a 5.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no pointer to alternatives such as memory_update or memory_unpin for non-destructive changes. The agent must infer entirely on its own that this tool is the irreversible path.

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