Skip to main content
Glama

Forget

forget
DestructiveIdempotent

Delete a semantic memory by its id.

WHEN TO USE:

  • To remove an outdated or incorrect memory

  • To correct one instead, prefer update-memory, which keeps the id and its history

PARAMETERS:

  • memory_id: from a prior remember or recall

RETURNS: Confirmation of the deletion.

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

Input Schema

NameRequiredDescriptionDefault
memory_idYesThe memory id to forget (e.g. 'mem_...').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds value annotations cannot: the RETURNS line supplies confirmation semantics despite there being no output schema, and it scopes the target to semantic memories only. It stops short of stating permanence or recoverability, which would have completed the destructive profile.

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 one-line purpose followed by labeled WHEN TO USE, PARAMETERS and RETURNS blocks. Every line carries usable information and nothing is repeated from the schema verbatim except the parameter name.

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

Completeness5/5

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

A single-parameter destructive tool with no output schema needs exactly this: what it deletes, when to choose it over update-memory, where the id comes from, and what comes back. Nothing required for correct invocation is missing.

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%, so the baseline is 3, but the description adds provenance semantics the schema lacks: memory_id comes 'from a prior remember or recall', telling the agent where to source the value. That is real meaning beyond the field's own description.

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 ('Delete a semantic memory by its id') and implicitly scopes it against the mutation sibling update-memory. An agent can distinguish it from recall/remember/update-memory 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 Guidelines5/5

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

Explicit WHEN TO USE section names the triggering condition (outdated or incorrect memory) and the alternative with its selection rule ('to correct one instead, prefer update-memory'). It goes beyond a bare context statement to give a genuine when-not-to-use path.

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.