Skip to main content
Glama

Forget

forget

Permanently delete a stored memory by ID to remove unwanted or outdated entries from the Memory MCP Server.

Instructions

Delete a memory permanently.

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

Input Schema

NameRequiredDescriptionDefault
memory_idYesID of memory to delete

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the single most important trait: deletion is permanent/irreversible. However, it says nothing about permissions required, whether the operation fails on a missing or already-deleted ID, or whether related links created via link_memories are also removed.

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; the key warning term "permanently" is present from the first read. It is efficient, though its extreme brevity leaves no room for the operational caveats a destructive tool usually warrants.

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 permanent-destruction tool with zero annotation coverage, the definition is thin: no error behavior, no side effects on relationships, no confirmation or recovery notes. The output schema reduces the need to describe return values, but the destructive semantics remain under-explained.

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 100% with a single required integer parameter clearly documented as "ID of memory to delete," so the schema does the heavy lifting. The description adds no meaning beyond it, which is the expected baseline for a one-parameter tool.

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 ("Delete a memory") plus a scope qualifier ("permanently"), so the agent knows exactly what operation this performs. It doesn't name a sibling or contrast with nearby operations, but no other sibling in the list appears to delete, so confusion risk is low.

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 use this versus alternatives such as unpin, demote, or end_session, and no indication of prerequisites or when deletion is inappropriate. The agent must infer that 'forget' is the destructive option and everything else in the namespace is non-destructive.

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