Skip to main content
Glama

Forget a memory fact

memory_forget
Destructive

Uses no credits. Soft-deletes a memory fact, removes its vector embedding, and appends a verifiable DELETE entry in memory_history.

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

Input Schema

NameRequiredDescriptionDefault
factIdYes
reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations: annotations only flag destructiveHint=true, while the description specifies that it is a soft delete, that the vector embedding is removed, that a DELETE entry is appended for audit, and that no credits are consumed. It stops short of stating whether a soft-deleted fact can be restored or who is authorized to delete.

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?

One tight sentence with three substantive clauses and no waste. Leading with the billing note is slightly odd ordering relative to the mutation semantics, but it is still front-loaded and scannable.

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?

No output schema exists, so the description should carry more of the burden; it explains side effects well but says nothing about what to pass, whether the operation is undoable, or what is returned on success. For a destructive mutation with fully undocumented parameters this is adequate but incomplete.

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?

Zero percent schema description coverage on two parameters, and the description never mentions factId or reason at all. It leaves the agent to guess the identifier format and the purpose/surfacing of the optional reason field, so it does not compensate for the schema gap.

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 ('Soft-deletes a memory fact') and enumerates the concrete effects: embedding removal and a history entry. It does not name a sibling to distinguish itself from, but the forget-vs-remember/recall split is unambiguous from the wording.

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 by the name and the verb 'forget' — an agent can infer this is the removal counterpart to memory_remember. There is no explicit when-to-use, when-not-to, or alternative (e.g. instead of overwriting a fact via memory_remember), and no note on whether callers should confirm first.

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.