Skip to main content
Glama

unimatrix_discard_memory

Discard a memory, marking it as superseded without replacement. Use when a memory is no longer relevant, inaccurate, or should be forgotten.

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": {
      "memoryId": "<memoryId>"
    },
    "name": "unimatrix_discard_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoryIdYesThe ID of the memory to discard.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the critical behavior: the memory is marked superseded rather than removed, and no replacement is created. However, it omits reversibility (can it be undone?), whether the record stays visible in list/retrieval results, and any permission requirements — meaningful gaps for a mutation tool.

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?

Two tight sentences with zero filler: the action and its non-obvious side effect come first, followed immediately by the when-to-use triggers. Nothing repeats the name or title redundantly.

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 one-parameter mutation with no annotations and no output schema, the description covers both what happens to the target memory and when to invoke it, which is the essential information. The main residual gap is what the caller gets back and whether the discard is recoverable.

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?

There is a single parameter, memoryId, and schema description coverage is 100%, so the schema already fully documents it as "The ID of the memory to discard." The description adds no format, provenance, or sourcing detail beyond that, so the baseline of 3 applies.

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 ("Discard a memory") and adds the key semantic qualifier "marking it as superseded without replacement," which distinguishes it from a true delete or a supersede-with-replacement update. It stops short of naming a sibling tool as the alternative, so it lands just under the top mark.

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 explicit triggering conditions: "no longer relevant, inaccurate, or should be forgotten." That is clear when-to-use guidance covering several real scenarios. It does not state when NOT to use it or name an alternative (e.g., update_memory to correct rather than discard), which keeps it from a 5.

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.

Resources