Skip to main content
Glama

memory_review_apply

Destructive

Applies an explicit user answer to a memory review question, dry-run by default; set confirm=true to keep, drop, merge, or retire notes.

Instructions

Apply one explicit USER answer; dry-run unless confirm=true.

current-first/second keeps that note; drop-first/second archives it. merge requires the user-approved body and survivor. Metadata of the survivor remains; both original byte images and sources are retained. keep/retire answer a retire question; retire archives that note.

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": {
      "question_id": "<question_id>",
      "choice": "<choice>"
    },
    "name": "memory_review_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
choiceYes
confirmNo
survivorNofirst
merged_bodyNo
question_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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, but the description adds real value beyond them: it states the call is a dry-run unless confirm=true, that 'archives' is the destructive outcome, and that both original byte images and sources are retained so the action is recoverable. It does not mention the undo tool or whether archiving is reversible through it, which keeps this from 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?

The highest-value rule — dry-run unless confirm=true — is front-loaded, and the remaining clauses map choice values to effects with no filler. The terse 'current-first/second' shorthand is compact without being ambiguous in context.

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?

With an output schema present, return values need not be described, and the annotations cover the safety profile; the description fills in the mutation semantics and retention guarantees. It is only slightly incomplete in not distinguishing the keep-* variants from the current-*/drop-* variants or pointing at the undo path.

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 description coverage is 0%, so the description must carry the parameters, and it does for most: confirm (dry-run gate), the current-first/second and drop-first/second choices, survivor and merged_body for merge, and the keep/retire pair. Gaps remain for keep-both/keep-first/keep-second (undifferentiated) and question_id, which is never explained beyond implication.

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 first clause names a specific verb and object ('Apply one explicit USER answer'), making clear this commits a resolution to a pending review question rather than listing questions or undoing prior answers. It stops short of explicitly naming siblings like memory_review_questions or memory_review_undo, so the differentiation is inferable rather than stated.

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?

The word 'explicit USER' signals this is only for answers the user actually gave, not inferred ones, and the dry-run/confirm rule tells the agent the safe default. However, there is no explicit statement of when to call this versus memory_review_questions (to fetch questions) or memory_review_undo (to reverse), leaving sequencing to inference.

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