Skip to main content
Glama

memory_update

Update an existing memory by ID to correct or refine stored knowledge, keeping project decisions and conventions accurate instead of creating duplicates.

Instructions

Update an existing memory by id. Prefer updating over creating duplicates when knowledge changes or gets corrected.

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

Input Schema

NameRequiredDescriptionDefault
idYesUnique identifier of the memory (Notion page ID or Obsidian UUID)
tagsNo
agentNo
titleNo
sourceNo
statusNo
contentNo
projectNo
categoryNo
confidenceNo
importanceNo
supersedesNo
verifiedAtNo
freshnessDaysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.7.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / id / description
      Previous value: -"Notion page id of the memory"New value: +"Unique identifier of the memory (Notion page ID or Obsidian UUID)"
    • addedInput schema / properties / verifiedAt / pattern
      Added value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
  2. Changed6 schema fields changedv1.6.0
    • addedInput schema / properties / confidence
      Added value: +{
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / freshnessDays
      Added value: +{
      +  "maximum": 3650,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "maxLength": 120,
      +  "type": "string"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • addedInput schema / properties / supersedes
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / verifiedAt
      Added value: +{
      +  "format": "date-time",
      +  "type": "string"
      +}
  3. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does not meet it. It never says whether this is a partial merge or a full replace, what happens to fields omitted from the call, whether status:"archived" hides the memory, how supersedes interacts with the old record, or whether a nonexistent id errors. Only the duplicate-avoidance norm is disclosed.

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?

Two tight sentences with the primary operation front-loaded and the disambiguation second; no filler. The brevity is appropriate in form but leaves the rest of the space unearned by substance, keeping it below a 5.

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?

With 14 parameters, zero annotations, and no output schema, the description is far too thin for the tool's complexity. An agent cannot infer patch-vs-replace semantics, the meaning of supersedes/freshnessDays, or what a successful response confirms, which are exactly the gaps a description must close when structured fields are silent.

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

Parameters1/5

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

Schema description coverage is 7% (only id is documented), leaving 13 parameters with no explanation anywhere, and the description adds no meaning for any of them. High-impact fields like supersedes, verifiedAt, freshnessDays, agent, and status are entirely undefined — supersedes in particular looks like a relationship field whose semantics are critical and completely absent.

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 an existing memory by id" gives a specific verb (update), resource (memory), and the keying mechanism (id), which separates it from memory_add and memory_delete. It does not explicitly name siblings, but the second sentence implicitly contrasts it with memory_add's create path.

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 states a clear selection rule: prefer update over creating duplicates when knowledge changes or is corrected. That is genuine when-to-use guidance against the strongest alternative (memory_add). It stops short of exclusions such as "use memory_delete to retire a memory" or "use memory_search first to find the id."

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