Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

memory_update

Correct or expand stored information in an AI agent's persistent memory by replacing an existing memory's content and metadata using its ID, keeping cross-session knowledge accurate.

Instructions

Update the content of an existing memory. Use to correct or expand stored information.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe memory ID (UUID) to update
contentYesThe new content to replace the existing memory
metadataNoUpdated metadata (replaces existing)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/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. It says the tool mutates an existing memory but never states whether the update is wholesale replacement, what happens on an unknown ID, whether prior content is recoverable, or what permissions are needed — all material for a destructive write.

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 action front-loaded and the usage cue second. No filler, though the second sentence is somewhat generic.

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?

With three fully documented parameters and no output schema, the description is sufficient to call the tool correctly. It is incomplete on the behavioral side — error conditions and replacement semantics are left unstated despite there being no annotations to cover them.

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%, so the schema already explains id, content, and metadata (including that metadata replaces existing values). The description adds no meaning beyond that structured documentation, which is the baseline-3 case.

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 the content of an existing memory.' That distinguishes it from memory_store/memory_batch_store by implication (existing vs new), though it does not name any sibling explicitly.

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?

'Use to correct or expand stored information' gives a contextual cue for invocation, but there is no explicit when-not guidance, no mention of what to do when the memory doesn't exist, and no routing toward memory_store or memory_delete.

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