Skip to main content
Glama

Forget one memory record (with cryptographic receipt)

memory_forget
Destructive

Removes a specific memory record by numeric id (returned by memory_search) from your semantic index, destroys its per-record key if present, and issues a SHA-256 forget receipt. Disabled for memory-only keys.

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

Input Schema

NameRequiredDescriptionDefault
idYesNumeric record ID returned by memory_search.
reasonNoOptional short reason stored in the forget receipt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, yet the description still adds real context: the per-record key is destroyed (irreversible beyond the record itself) and a SHA-256 receipt is issued as an audit artifact. It does not explain what happens on a second call or when the id is not found, and gives no permission/auth detail, so it stops short of full transparency.

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?

One front-loaded sentence led by the action verb, followed by the two behavioral consequences and the availability caveat. No filler, no repetition, and the most decision-relevant information comes first.

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 destructive two-parameter mutation with no output schema, the description covers the side effects and a gating condition, which is most of what an agent needs. Remaining gaps are error behavior for a missing/invalid id and whether the receipt is returned to the caller versus merely generated, plus the unexplained term 'memory-only keys'.

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%, and the description repeats rather than extends it: 'numeric id (returned by memory_search)' duplicates the schema's own wording for id. It never mentions the optional reason parameter, so no meaning is added beyond the schema.

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 ('Removes a specific memory record by numeric id') and names the side effects: per-record key destruction and a SHA-256 forget receipt. Referencing memory_search as the source of the id implicitly separates it from the read/search siblings and from memory_write.

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 only implied through the id-provenance note (id comes from memory_search) and the availability constraint 'Disabled for memory-only keys'. There is no explicit when-to-use/when-not guidance, no mention of whether bulk deletion exists, and no stated alternative for callers who cannot use this tool.

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.