Skip to main content
Glama

forget_memory

Delete one learned fact by memory_id while retaining its source material; require confirm=true to proceed, otherwise the call fails with confirmation_required.

Instructions

Forget one learned fact by its mem_ id; the material it came from stays. Without confirm=true nothing changes and the call fails with confirmation_required.

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

Input Schema

NameRequiredDescriptionDefault
confirmNo
memory_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 real work: it discloses that underlying source material is preserved, that the operation is gated behind `confirm=true`, and that an unconfirmed call fails with the specific error code `confirmation_required`. What it leaves unstated is irreversibility (whether a forgotten memory can be re-added or restored) and any permission requirements.

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 sentence, front-loaded with the action and scope, then the side-effect caveat, then the confirm/error behavior. No filler, no restatement of the tool name, and every clause carries information an agent needs.

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?

An output schema exists, so return-value explanation is not required, and the description covers the two things that matter for a destructive tool: what is and is not removed, and the confirmation gate with its error code. It falls short only on permanence/reversibility and authorization context for a mutation with zero annotation coverage.

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?

Schema description coverage is 0%, so the only parameter documentation is the schema's bare titles ('Confirm', 'Memory Id'). The description compensates by revealing the `mem_` id form for memory_id and by explaining what `confirm` actually gates and the failure mode when it is false — meaning the schema alone does not convey.

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 gives a specific verb and resource ('Forget one learned fact by its `mem_` id') and adds a scoping clause ('the material it came from stays') that separates it from the document/media delete siblings. It does not explicitly name the closest sibling, forget_profile_fact, so the agent must infer the learned-fact vs. profile-fact distinction from the noun phrase 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?

Usage is implied by the verb and object: call this to remove a single learned memory. However, there is no explicit when-to-use vs. when-not-to-use guidance and no named alternative (e.g., forget_profile_fact) for the near-identical removal operation, leaving routing to inference.

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