Skip to main content
Glama

Forget a memory

forget_memory
Destructive

Delete one of the caller's memory facts by id (forget it). Only the caller's OWN memory is reachable — a wrong-owner id deletes nothing. Use to remove a duplicate or an obsolete fact so memory stays clean. Destructive — runs only after you confirm via confirm_action. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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
memory_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description goes further by disclosing the ownership guard (a wrong-owner id deletes nothing — a silent no-op rather than an error) and the full two-phase protocol: the call is proposed, returns status='confirmation_required' with an action_id and plan_token, and the write occurs only after confirm_action. That is behavior an agent cannot recover from the annotations.

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?

Front-loaded with the action and scope, then usage, then the destructive/confirmation caveat in caps. Slight redundancy between 'Destructive — runs only after you confirm via confirm_action' and the CONFIRMATION block, but every sentence carries operational weight.

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 destructive one-parameter mutation with no output schema, the definition covers safety profile, ownership boundaries, usage intent, and the confirmation handshake with confirm_action. It does not describe the success response after confirmation or the result for an in-range but nonexistent id, which are minor given the protocol is spelled out.

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% for the single memory_id parameter, so the description must carry the load; it does add meaning by specifying the id is owner-scoped and that a mismatched owner silently deletes nothing. It stops short of clarifying the integer-or-string union type or behavior for a nonexistent id, but the key failure mode is covered.

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 one of the caller's memory facts by id') with an explicit scope qualifier (only the caller's OWN memory). It implies single-item vs. bulk by the 'one ... by id' phrasing, but never names the sibling forget_memories, so the differentiation is inferential rather than stated.

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?

Gives concrete when-to-use guidance ('remove a duplicate or an obsolete fact so memory stays clean') and a hard prerequisite (ownership). It does not state when NOT to use it or which sibling to pick for bulk deletion, leaving that to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources