Skip to main content
Glama
Personal Memory MCP Server

Personal Memory MCP Server

by gaoziyang111

update_memory

Modify an existing memory's content and pass an expected version to prevent stale overwrites.

Instructions

Update content of an existing memory. Pass expected_version to protect against stale overwrites.

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": "update_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes
memory_idYes
expected_versionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 usefully discloses optimistic concurrency (expected_version guards against stale overwrites), but does not say what happens on a version mismatch, whether the update fails or is partial, or whether it is reversible.

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 zero filler. The core action comes first and the concurrency safeguard follows, so nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the tool is simple at three parameters. Still, for a mutation with no annotations, the description should say what a failed version check produces and whether the memory must already exist.

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 compensate. It explains the non-obvious expected_version parameter's purpose well, but content and memory_id are left as bare names with no format, length, or identifier-shape guidance.

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?

"Update content of an existing memory" states a specific verb and resource and scopes it to content only, which separates it from save_memory (creation). It does not name a sibling explicitly, so the 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 Guidelines3/5

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

Usage is only implied: it makes clear this applies to memories that already exist and that expected_version is the recommended safeguard. There is no explicit "use this instead of X" guidance and no statement of when version checking can or should be omitted.

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