Skip to main content
Glama

memory_forget

Archive a memory for later restore or permanently delete it to honor the right to be forgotten. Choose soft mode to exclude it from recall while keeping it recoverable, or hard mode to erase it.

Instructions

遗忘一条记忆。mode=soft 归档(不注入但可恢复),mode=hard 物理删除(被遗忘权)。

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_forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
modeNosoft

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does the most important part: it discloses that soft mode stops injection but remains recoverable, while hard mode is a physical, irreversible delete. It omits prerequisites (permissions/auth), whether hard delete cascades to relations, and whether confirmation is required, which keeps it from a 5.

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?

A single front-loaded sentence states the action, then enumerates both mode branches with their consequences. No filler, no restatement of the tool name, and the destructive branch is placed last where it reads as the escalation.

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 2-parameter tool with no output schema, the definition covers the decision that matters (which mode) and the consequence of each. What remains missing is whether a soft-forgotten memory is recovered via memory_restore and what happens when `id` does not exist.

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%, so the description must compensate: it fully defines the semantics of the `mode` enum (soft = archive, hard = physical delete), which is the genuinely ambiguous parameter. The `id` parameter is never mentioned, though its meaning is largely self-evident from the resource name.

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?

The description states a specific verb+resource ("forget a memory") and immediately characterizes the two operating modes. It does not, however, name a sibling such as memory_restore or relation_forget to draw a boundary, so an agent must infer the division of labor from names alone.

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

Usage Guidelines3/5

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

It gives explicit guidance on choosing between mode=soft and mode=hard (archive-and-recoverable vs. physical deletion for right-to-be-forgotten), which is real usage guidance for the ambiguous decision. It stops short of saying when to reach for this tool versus memory_restore (recovery) or raw_purge, so cross-tool routing is left implied.

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