Skip to main content
Glama

memory_update

Replace the text of one stored memory; pass scope only to move it to a different scope.

Instructions

Replace the text of one memory. Pass scope only to move it.

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>",
      "text": "<text>"
    },
    "name": "memory_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
scopeNo
memory_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose two non-obvious traits: the operation overwrites existing text rather than merging, and supplying scope relocates the memory. It omits whether the overwrite is reversible, what happens to the prior scope when scope is omitted, and any error behavior for an unknown memory_id.

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 short sentences with the primary action first and the scope caveat second; there is no redundant or filler wording.

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 an unannotated mutation tool with 0% schema description coverage, the definition is thin. The output schema covers return values, but the description should still address overwrite semantics, the omit-scope default, and failure modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so all three parameters rely on the description. Only scope receives added meaning (it moves the memory), while memory_id and text are left to their names, and "Pass scope only to move it" is ambiguous given that text is a required parameter.

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?

"Replace the text of one memory" gives a specific verb (replace) and a bounded resource (one memory), which clearly separates it from an additive sibling like memory_add. It stops short of naming any sibling as an alternative, so differentiation is implied 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 Guidelines2/5

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

There is no guidance on when to choose this over memory_add, memory_note, or memory_pin, and no stated preconditions such as the memory needing to exist. The only conditional phrasing, "Pass scope only to move it," governs a parameter, not tool selection.

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