Skip to main content
Glama

Forget

memory_forget
DestructiveIdempotent

Invalidate a memory only when the user intends to forget it. This suppresses recall but retains audit history; it is not physical deletion. Use operation_id for safe retries.

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": {
      "operation_id": "<operation_id>",
      "handle": "<handle>"
    },
    "name": "memory_forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYes
reasonNo
operation_idYesGenerate a unique ID for each intended write. Reuse this ID and identical arguments only when retrying that write; use a new ID for a later reassertion.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds real value by explaining what 'destructive' actually means here — recall is suppressed while audit history is retained — which prevents an agent from assuming irrecoverable data loss. It also adds retry semantics, though those partly overlap the idempotentHint annotation.

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?

Three short sentences, front-loaded with the use condition, then behavior, then the retry contract. No filler and nothing redundant in ordering.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation with no output schema, the description does well on semantics and safety but leaves gaps around the handle format and what 'reason' is for. An agent could invoke it correctly but may guess at argument content that the schema does not explain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: operation_id is documented in the schema itself, and the description's 'Use operation_id for safe retries' largely repeats that. The two remaining parameters get no help — the handle's required '^[mp]:[0-9a-f]{8,64}$' format and the purpose of 'reason' are never explained in prose, leaving the low coverage uncompensated.

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 and resource ('Invalidate a memory') and immediately bounds the scope with 'only when the user intends to forget it'. It also disambiguates from a related-but-different operation by saying it is 'not physical deletion', which separates it from a hard-delete sibling without naming one explicitly.

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?

Gives a clear precondition for use (the user actually intends to forget) and an implicit exclusion (do not use for physical erasure). It does not name a concrete alternative tool such as memory_remember for the opposite direction, so the routing guidance is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.