Skip to main content
Glama
Open Agent Memory

Open Agent Memory

Remove an OAM memory

memory_remove
DestructiveIdempotent

Permanently remove a specific learned memory or Insight from Open Agent Memory using its ID and type; repeating the call returns the original receipt.

Instructions

Remove one exact learned memory or Insight from OAM. Removal is permanent; repeating the call returns the original receipt.

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>",
      "memory_type": "<memory_type>"
    },
    "name": "memory_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
memory_idYesCanonical memory_id or insight_id to remove.
memory_typeYesbasic for an L1 memory, insight for an L2 Insight.

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?

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description adds real context beyond them: removal is permanent, only one item is affected, and a repeat call returns the original receipt. It could still say what happens when the id does not exist (error vs no-op).

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?

Two short sentences with zero filler; the core action and its scope are front-loaded, and the permanence/idempotency note follows logically.

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 simple two-parameter destructive tool with no output schema, the description covers scope, permanence, and repeat-call return behavior. Only error handling for an unknown memory_id or permission requirements is left unstated.

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 coverage is 100%, so both memory_id and memory_type are already documented in the schema. The description's phrase 'learned memory or Insight' loosely maps to the basic/insight enum but adds no format or constraint detail beyond the schema, so the baseline 3 applies.

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 (Remove) and resource (one exact learned memory or Insight from OAM), which clearly separates it from memory_add and memory_recall by implication. It does not explicitly name a sibling or an alternative, so it stops just short of top marks.

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?

'Remove one exact learned memory' implies the use case (targeted single deletion) and the word 'exact' hints that lookup by memory_id is required, but there is no explicit when-to-use/when-not guidance or routing to alternatives such as memory_operation.

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