Skip to main content
Glama

Memory Update

memory_update
Idempotent

Update an existing memory's content in place and re-embed it so future recall stays accurate; for org-scoped records, review a before/after conflict preview and confirm to apply.

Instructions

Update an existing memory's content in place. Re-embeds the new content for accurate future recall. For org-scoped memories, returns a conflict preview showing the before/after change for user confirmation. Pass confirm=true to apply after reviewing.

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

Input Schema

NameRequiredDescriptionDefault
confirmNoDeprecated: use `resolution: "confirm"`. Set true to apply the update.
contentYesThe new content to replace the existing memory with (max 20,000 characters).
projectNoOptional: update the project tag. Omit to keep the existing tag.
memory_idYesThe UUID of the memory to update.
resolutionNoConflict resolution: 'confirm' applies the update, 'cancel' aborts.
change_reasonNoWhy this memory is changing - the cause you investigated (e.g. 'the project was renamed', 'the old value was superseded'). For org-scoped memories this is recorded in the audit log, preserving why it changed, not just the new value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.6/5.0
Behavior3/5

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

The description usefully discloses non-obvious behavior beyond the annotations: re-embedding of content and a conflict-preview return for org-scoped memories. However, it instructs the agent to 'Pass confirm=true,' while the schema marks that parameter Deprecated in favor of resolution: 'confirm' — guidance that could steer an agent to the wrong field.

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?

Three short sentences, front-loaded with the core action and then the conditional conflict flow. Nothing is padded, though the final sentence carries the deprecated-parameter misdirection rather than useful guidance.

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 six-parameter mutation tool with no output schema, the description covers the important surprises: re-embedding side effect and the conflict-preview return value. It omits any statement about how the update interacts with the audit log or project tag, but the schema covers those fields adequately.

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 coverage is 100%, so baseline is 3 and the schema already documents memory_id, content, project, resolution, and change_reason in detail. The description's only parameter statement is the confirm=true instruction, which is both redundant and out of step with the deprecated flag.

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 sentence gives a specific verb and resource ('Update an existing memory's content in place') and adds the consequence of re-embedding for future recall. It implicitly distinguishes this from memory_store by saying 'existing,' but never names the sibling it replaces, so differentiation relies on inference.

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 clearly describes the two-step flow for org-scoped memories: receive a conflict preview, review it, then apply. It does not state when to use this versus memory_store or memory_forget, nor when org-scoping applies, so exclusions are left to inference.

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

Deploy Server

Other Tools