Skip to main content
Glama

Memory Forget

memory_forget
DestructiveIdempotent

Delete a specific memory entry by ID; org-scoped entries show a conflict preview, and confirm=true or resolution:confirm completes deletion.

Instructions

Delete a specific memory entry by its ID. For org-scoped memories, a conflict response is returned with a preview so the user can confirm. Pass confirm=true to skip the preview on retry.

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": "memory_forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoDeprecated: use `resolution: "confirm"`. Set true to delete immediately.
memory_idYesThe UUID of the memory to delete.
resolutionNoConflict resolution: 'confirm' deletes, 'cancel' aborts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.7/5.0
Behavior4/5

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

The description provides operational context beyond the annotations, specifically detailing the introduction of a 'conflict' response mechanism for org-scoped memories. This guides the agent on expected runtime system behavior rather than just stating the tool is destructive.

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?

The definition is extremely dense and efficient. Both sentences serve distinct, critical instructional or explanatory purposes without any superfluous language, providing a high density of useful information.

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

Completeness5/5

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

The definition covers all critical failure modes, workflow conditions (preview vs. no preview), and scope limitations. For a complex mutation tool, the description is comprehensive and leaves no major operational gaps for the AI agent.

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?

Given that parameter schema coverage is 100%, the description still adds value by explaining the functional meaning of the 'confirm' parameter (skipping the preview) and the conditions under which the 'conflict' state arises.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Delete'), the resource ('specific memory entry'), and the requirement ('by its ID'). This is precise and immediately identifiable among memory-related sibling tools.

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

Usage Guidelines5/5

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

It offers specific guidance on how the tool reacts to different scenarios, particularly 'org-scoped memories,' and provides an explicit parameter instruction ('confirm=true') to override default workflow behavior.

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

Deploy Server

Other Tools