Skip to main content
Glama

forget_memory

DestructiveIdempotent

Closes a memory's validity by ID so it stops appearing in recall while remaining readable for audit; this is a soft invalidation, not a physical delete.

Instructions

Close a memory's validity by id (soft): it stops showing up in recall but stays readable by id for audit. Not a physical delete.

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": "forget_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
motivoNocorrigida|refutada|obsoleta|duplicada|removidaremovida

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, but the description importantly clarifies that 'destructive' here is a soft validity close: the record stops appearing in recall yet remains readable by id for audit. That resolves what would otherwise be a misleading destructiveness signal and tells the agent the change is reversible-ish and auditable. It does not cover auth needs, return shape, or whether a closed memory can be reopened.

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 clauses, front-loaded with the action and its scope; every phrase (soft, recall exclusion, audit readability, not-a-delete) adds 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?

For a two-parameter mutation with no output schema and full annotation coverage, the description supplies the essential effect model (hidden from recall, still retrievable by id). Minor gaps remain on response/confirmation behavior and on the `motivo` parameter's role.

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 50%: `motivo` is documented in the schema, `id` is not. The description only supplies that `id` identifies the memory whose validity is closed, adding minimal meaning, and says nothing about `motivo` or how the reason value affects recall or audit records. Baseline 3 is right when the schema carries half the load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Close a memory's validity by id') plus the scope qualifier '(soft)', and explicitly rules out the closest confusable operation with 'Not a physical delete.' An agent can distinguish this from store_memory/fetch_memory without opening any schema.

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 effect described: this is the tool for retiring a memory that is no longer valid, versus fetching or listing it. However, it never states when to prefer this over updating or storing, and offers no exclusions or preconditions, leaving the agent to infer usage from the effect statement.

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