Skip to main content
Glama

memory_delete

Soft-delete a stored memory by its ID, marking it inactive instead of permanently removing it so you can safely retire outdated context.

Instructions

Soft-delete 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, but 'soft-delete' is a genuinely valuable disclosure: the record is not permanently destroyed and is presumably recoverable. It does not say whether soft-deleted memories still surface in recall/list, whether the operation is idempotent, or what happens if the id is unknown.

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?

One short sentence with the destructive action and its scope front-loaded, and no wasted words. Nothing could be removed without losing signal.

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 single-parameter mutation tool with no output schema and no annotations, the definition covers the essential facts: the target resource, the identifier, and the fact that deletion is soft. The remaining gaps, post-deletion visibility and idempotency, are useful but secondary at this complexity level.

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% on the single 'id' parameter, so the phrase 'by id' is the only signal, and it does confirm the identifier refers to a memory rather than a project or session. That is minimal but real value over a bare integer property with no description.

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 ('soft-delete') and resource ('memory') plus the identifier used to target it, which clearly separates it from siblings like memory_add and memory_recall. It stops short of explicitly naming or contrasting any particular sibling.

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 guidance on when to delete versus leaving a memory to expire, no precondition that the id must exist, and no statement of how deletion interacts with memory_recall or memory_list results. The agent must infer all of the selection logic.

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