Skip to main content
Glama

forget

Permanently deletes a specified memory only after an explicit permanent-deletion request; requires confirm=true, otherwise returns a preview and names the nearest match when text is not close.

Instructions

Permanently delete a memory. Only for when a person asks for permanent deletion ('permanently delete', 'wipe'); 'forget that' usually means deprioritise. Requires confirm=True; returns preview otherwise. A query acts only on near-exact text; when nothing is that close the reply names the nearest memory to retry by key.

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": {
      "key_or_query": "<key_or_query>"
    },
    "name": "forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
key_or_queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A4.8/5.0
Behavior5/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 so: it discloses irreversibility, the confirm=True gate, that an unconfirmed call returns a preview rather than deleting, and that queries match only near-exact text with a nearest-memory hint on miss. These are non-obvious behaviours an agent could not infer from the schema.

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?

Front-loaded with the destructive action, then the disambiguation, then the confirmation contract, then the matching semantics, and every clause carries new information. No filler or restatement of the tool name.

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 destructive tool with no output schema and no annotations, the description covers the risky parts well. It omits whether a deleted memory is recoverable via backups (a sibling list_backups exists) and describes the preview response only in outline, which is the remaining gap for a permanent-deletion operation.

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 coverage is 0%, so the description must compensate, and it explains both parameters functionally: confirm is the write gate whose absence yields a preview, and key_or_query accepts either a key or a query with strict near-exact matching. It stops short of saying what form a 'key' takes or how strict 'near-exact' is, leaving some ambiguity.

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 ('Permanently delete a memory') and immediately distinguishes it from the similarly named sibling behaviour ('forget that' usually means deprioritise), so an agent can route between forget and deprioritise without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use condition ('Only for when a person asks for permanent deletion') with literal trigger phrases, plus an explicit exclusion naming what the common phrasing actually maps to. This is exactly the when/when-not/alternative framing that prevents catastrophic mis-selection on a destructive tool.

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