Skip to main content
Glama

memory_forget

Destructive

Delete a stored memory by ID when the user asks to forget it; confirm before permanent removal, or use the soft option to hide it from lists and search while keeping the file.

Instructions

Delete a memory by id. Use when the user asks to forget something. Deletion is permanent: before deleting, restate the memory's content to the user and get a confirmation. With soft=true the memory is hidden instead (retracted: out of lists and search, file kept, one-way).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
softNoD68: hide instead of delete. The memory is retracted — excluded from lists and search — but its file stays. Retraction is one-way (D64): it does not come back; to restore the fact, save it again as a new memory. Offer `soft` when the user is unsure about deleting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations supply only destructiveHint=true; the description carries the rest and does so well: deletion is permanent, the agent must restate the memory's content and obtain confirmation first, and soft=true is a one-way retraction that keeps the file while removing it from lists and search. These are exactly the behavioral traits an agent needs before firing an irreversible call.

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?

Three tight sentences, front-loaded with the action, then the usage trigger, then the safety-critical permanence/confirmation constraint and the soft alternative. Every sentence changes agent behavior; none is filler.

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?

No output schema exists, so the description must stand alone, and it covers the decision that matters most (permanent delete vs. one-way soft retraction) plus the confirmation protocol. Gaps remain around id provenance and failure behavior when the id is unknown, but nothing essential to invoking it safely is missing.

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 50%: `soft` is well documented in the schema itself, while `id` has no description anywhere. The description restates soft's effect and adds the one-way/file-kept detail, but gives no guidance on the `id` parameter (format, or that it comes from memory_search/memory_list), so it only partially compensates for the coverage gap.

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+resource ("Delete a memory by id") and immediately clarifies the two modes of removal, so the agent knows this is the removal tool rather than a search or write tool. However, it never differentiates itself from the overlapping sibling memory_supersede, which also changes memory state, so the sibling-routing clause of a 5 is absent.

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 the user asks to forget something" gives an explicit trigger, and the description adds the hard-vs-soft selection condition (soft is for when the user is unsure, per the parameter description). It stops short of naming when not to use it or pointing at memory_supersede as the alternative for superseded facts.

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