Skip to main content
Glama

forget

Deactivate an agent-created memory that turned out wrong or stale. Human-written memories stay protected, so only the human can change those.

Instructions

Deactivate a memory an agent created that turned out wrong or stale. Human-written memories can only be changed by the human.

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 a memory you (an agent) created
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a real authorization constraint (agent-created only; human-authored memories are off-limits). It does not say whether deactivation is reversible, whether an existing memory is required to succeed, or what an error/denial looks like, which matters for a mutation tool with zero annotation coverage.

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, zero filler, with the action and the permission caveat front-loaded before any elaboration. Each sentence earns its place by adding a distinct fact.

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 mutation with no output schema, the description covers purpose, trigger, and the key permission boundary. It is only slightly incomplete in not clarifying reversibility or behavior when the ID is missing or not agent-owned.

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%, so both parameters are already documented, giving a baseline of 3. The description reinforces that memory_id must reference an agent-created memory but adds nothing about run_scope, which the schema alone explains.

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 ("Deactivate a memory") plus a scope qualifier ("an agent created"). It is clear what the tool acts on, but it never distinguishes deactivation from the sibling delete_memory or notes that restore_memory can undo it, so an agent still has to infer the soft-vs-hard semantics.

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?

It states a concrete trigger condition — the memory "turned out wrong or stale" — and gives an explicit boundary: human-written memories can only be changed by the human. It stops short of naming an alternative for permanent removal (delete_memory) or saying what to do when the memory is human-authored.

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