Skip to main content
Glama

Update Memory

memory_update

Update fields on an existing memory by ID to correct content, tags, type, importance, confidence, or pinned status. Use it when stored information needs revision without creating a new entry.

Instructions

Updates fields on an existing memory.

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
idYes
tagsNo
typeNo
pinnedNo
contentNo
user_idNo
entitiesNo
namespaceNo
confidenceNo
importanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not explain partial-update semantics, whether omitted fields are preserved, overwrite behavior, required permissions, side effects, or what the tool returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and contains no filler, so it is concise. However, for a 10-parameter mutation tool, it is under-specified rather than appropriately structured.

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

Completeness1/5

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

Given 10 parameters, 0% schema description coverage, no annotations, and no output schema, the description is far too sparse. It omits the update semantics and field behavior an agent needs to invoke this mutation tool correctly.

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 0% across 10 parameters, and the description only says "fields" without identifying any parameter meanings. It does not compensate for the undocumented id, tags, type, pinned, content, user_id, entities, namespace, confidence, or importance parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ("Updates") and resource ("memory") and clarifies that the memory must already exist. However, "fields" is vague, and it does not distinguish this generic update from siblings such as memory_pin or memory_unpin that also modify memory state.

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 modifying an already-created record rather than adding one, but there is no explicit guidance on when to use this tool versus memory_add, memory_pin, memory_unpin, or memory_delete.

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