Skip to main content
Glama

memory_update

Destructive

Update a user memory if the caller supplies the currently visible revision ID.

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

Input Schema

NameRequiredDescriptionDefault
tagsNo
textYes
projectNo
categoryNo
device_idNo
memory_idYes
revision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds useful context beyond that by tying the operation to a visible revision ID, implying an optimistic-concurrency check, but it does not disclose what happens on a revision mismatch or which fields are overwritten on an existing memory.

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 short sentence with no padding, front-loading the action before the condition. It is efficient, though the conditional clause reads awkwardly and could have been spent on a more load-bearing detail.

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 destructive mutation with 7 undocumented parameters, no output schema, and no annotations explaining overwrite behavior, this one sentence is far too thin. An agent still cannot tell what fields are replaced, whether omitted fields are preserved, or how conflicts are reported.

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 description coverage is 0% across 7 parameters, so the description carries the full burden and does not meet it. It clarifies only revision_id ('currently visible revision ID'); memory_id, text, tags, project, category, and device_id receive no meaning, format, or effect explanation at all.

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?

States a specific verb and resource: 'Update a user memory'. The purpose is clear enough for an agent to distinguish it from read-oriented siblings, though it never contrasts itself with write siblings such as memory_save, and the trailing conditional slightly dilutes the statement of purpose.

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 description gives an implicit usage gate: call this only when the caller holds the currently visible revision ID. That is a real precondition, but there is no explicit when-not guidance, no mention of what to do if the revision is stale, and no routing to memory_save for creating new memories.

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