Skip to main content
Glama

Retire a memory

retire_memory
Destructive

Retire an active memory so no future investigation reads it. Requires confirm:true. Retirement cannot be undone; write a replacement instead.

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>",
      "confirm": "<confirm>"
    },
    "name": "retire_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes
memoryIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 readOnlyHint=false, so the risk profile is known. The description adds context the annotations cannot: the effect is that no future investigation reads the memory, retirement is irreversible, and a confirm flag must be true to proceed. It does not cover failure behavior for a nonexistent or already-retired memory, so it stops short of a 5.

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?

Three short sentences, each earning its place: effect first, precondition second, irreversibility and alternative third. Nothing redundant and the highest-risk fact is front-loaded.

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 two-parameter destructive lifecycle tool with annotations covering safety and no output schema, the definition gives an agent enough to call it correctly and understand the consequence. The remaining gap is edge-case behavior, such as what happens on confirm:false or an unknown memoryId.

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 carry parameter meaning. It clarifies that confirm is a gating boolean that must be true, but says nothing about memoryId beyond what the property name implies (no format, no source for obtaining a valid ID). Partial compensation only.

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 gives a specific verb ('Retire') and resource ('an active memory') and states the operational effect: no future investigation reads it. It hints at the alternative path ('write a replacement instead') without naming a specific sibling tool, so 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 Guidelines4/5

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

It states a precondition ('Requires confirm:true') and steers away from use when a replacement is the better option, which is genuine when-not guidance. It does not clarify how this differs from adjacent lifecycle tools like confirm_memory or reject_memory, leaving that inference to the agent.

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