Skip to main content
Glama
Nexus Memory
by Neboy72

update

Update an existing memory in-place without losing metadata.

Instructions

Update an existing memory in-place without losing metadata.

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

Input Schema

NameRequiredDescriptionDefault
textNoNew content text (keep empty to keep existing)
reasonNoWhy this memory was withdrawn; required with withdraw=true and recorded with the entry.
withdrawNoWithdraw this memory instead of rewriting it: the text stays, the lifecycle status becomes 'deprecated' and the reason is recorded. Use it to merge duplicates (point superseded_by at the entry that stays) or to retire an entry that no longer holds. Requires reason.
memory_idYesID of the memory to update
modified_byNoWho made this modification (e.g. 'agent-a', 'agent-b')
superseded_byNoOptional: the memory that replaces this one when withdrawing (for merging duplicates).
effective_fromNoOptional ISO-8601 date/datetime: when the updated fact became valid (temporal validity, written to valid_from). Defaults to keeping the existing valid_from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.22.55
    • addedInput schema / properties / reason
      Added value: +{
      +  "default": "",
      +  "description": "Why this memory was withdrawn; required with withdraw=true and recorded with the entry.",
      +  "type": "string"
      +}
    • addedInput schema / properties / superseded_by
      Added value: +{
      +  "default": "",
      +  "description": "Optional: the memory that replaces this one when withdrawing (for merging duplicates).",
      +  "type": "string"
      +}
    • addedInput schema / properties / withdraw
      Added value: +{
      +  "default": false,
      +  "description": "Withdraw this memory instead of rewriting it: the text stays, the lifecycle status becomes 'deprecated' and the reason is recorded. Use it to merge duplicates (point superseded_by at the entry that stays) or to retire an entry that no longer holds. Requires reason.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.22.25
    • changedInput schema / properties / modified_by / description
      Previous value: -"Who made this modification (e.g. 'Kiosha', 'Miosha', 'Nebo')"New value: +"Who made this modification (e.g. 'agent-a', 'agent-b')"
  3. Changed1 schema field changedv0.16.0
    • addedInput schema / properties / effective_from
      Added value: +{
      +  "default": null,
      +  "description": "Optional ISO-8601 date/datetime: when the updated fact became valid (temporal validity, written to valid_from). Defaults to keeping the existing valid_from.",
      +  "type": "string"
      +}
  4. First observedv0.13.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only discloses in-place updating and metadata preservation. It omits important mutation behavior such as withdraw mode deprecating the entry, requiring a reason, and recording superseded_by, even though those details exist in the parameter schema rather than in the description.

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?

The description is a single front-loaded sentence with no wasted wording. It is efficient, though its brevity leaves important selection and behavioral context for the schema to carry.

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?

This is a seven-parameter mutation tool with a withdraw lifecycle, but the schema is fully described and covers the parameters in detail. The description is still thin for tool selection because it does not summarize withdraw behavior or differentiate update from forget and remember.

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 100%, and each of the seven parameters is already well documented in the input schema. The description adds only the general preservation guarantee and no parameter-specific meaning beyond what the schema provides, so the baseline of 3 applies.

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 description states a specific verb and resource: update an existing memory in-place while preserving metadata. It is clear what the tool does, but it does not explicitly distinguish this operation from siblings such as forget or remember, especially given the withdraw mode in the schema.

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?

The phrase 'existing memory' implies this is for modifications rather than creation, but there is no explicit guidance on when to use update versus remember, forget, or fact_history. No exclusions, prerequisites, or alternative-tool routing are provided.

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