Skip to main content
Glama
modelbrain-mcp

modelbrain-mcp

Official

Delete a memory

forget
DestructiveIdempotent

Remove a remembered object by key: revert to its predecessor, delete the full version chain, or delete only that object; synced chunks drop the whole source.

Instructions

Forget a remembered object by key. mode defaults to "revert": on a chain head created with supersedes it tombstones the head and restores the predecessor; otherwise it tombstones the target. "chain" tombstones every version of the chain. "object" tombstones only this object. On a synced chunk mode is ignored: the whole source is forgotten and never re-ingested (sync_source_id names it).

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

Input Schema

NameRequiredDescriptionDefault
keyYesThe key to forget, as returned by `remember`.
modeNo`"revert"` (default), `"chain"`, or `"object"`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes well beyond them by spelling out the blast radius of each mode: revert restores the predecessor, chain tombstones every version, and on a synced chunk the whole source is forgotten and never re-ingested. That last cascade is a surprise an agent could not infer from annotations or schema, making this exactly the kind of context the description should carry.

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 core action, then compactly walks through modes in the order an agent would consider them. Dense but every clause carries information; nested quoting around mode names is slightly noisy but not wasteful.

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?

With only two parameters, annotations carrying the safety profile, and no output schema, the description covers what an agent needs to invoke it correctly, including the synced-chunk exception. It does not say what happens on a missing key or what the call returns, and the `sync_source_id` mention is unbacked by the schema.

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 100%, but the schema only lists the three mode strings without explaining them; the description supplies the actual meaning of each and the default revert path. Minor flaw: it references `sync_source_id`, which does not appear in the input schema, so part of the parameter story points at a field the agent cannot supply.

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 in the first sentence: 'Forget a remembered object by key.' The counterpart tools (remember, recall) are obviously distinct from a deletion tool, and the description immediately narrows to per-key deletion, so an agent can select it without opening the schema.

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?

Explains how to choose among the three modes with concrete conditions: revert for chain heads created with `supersedes`, chain to remove every version, object to remove one. It does not state outright when to avoid the tool or compare it to a sibling, but the mode-routing guidance is genuinely actionable.

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