Skip to main content
Glama

memory_deprecate

Retire an outdated memory and optionally link its replacement to keep agent memory accurate and traceable.

Instructions

Retire an outdated memory and optionally link its replacement.

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

Input Schema

NameRequiredDescriptionDefault
memory_idYes
superseded_byNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it answers almost none of the consequential questions: is retirement a soft-delete or permanent, is it reversible, what happens to existing links to this memory, and does it require the replacement to already exist. "Retire" is undefined terminology for a mutation operation.

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?

A single front-loaded sentence with no wasted words, but the terseness crosses into under-specification rather than tight conciseness. Nothing is redundant; there simply is not enough of it.

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

Completeness2/5

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

For a mutation tool with zero annotation coverage, no output schema, and two parameters with 0% schema descriptions, one sentence is inadequate. The agent cannot determine side effects, reversibility, or failure modes from this definition plus the bare schema.

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 0%, so the description must compensate; it does partially by implying memory_id selects the memory to retire and "optionally link its replacement" maps to superseded_by. However, it gives no constraints for superseded_by — whether the target must exist, whether self-reference is rejected, or whether the ID is validated.

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?

The description uses a specific verb ("Retire") on a specific resource ("memory") and adds the key capability of linking a replacement, which distinguishes it from read/upsert siblings. It stops short of naming any sibling tool, so the differentiation is implied rather than explicit.

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?

"Outdated memory" implies the triggering condition (the memory is stale), but there is no explicit when-not guidance and no pointer to alternatives such as memory_upsert for correction versus deprecation. The agent must infer the boundary between updating and retiring.

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