Skip to main content
Glama

Update a memory

update_memory
Destructive

Edit one of the caller's memory facts (content and/or tags) by id. Only the caller's own memory is reachable. Use to correct or refine a remembered fact instead of adding a duplicate. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
contentNo
memory_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations only say it is a non-readonly, destructive, closed-world mutation; the description goes well beyond them by disclosing the two-phase protocol: the call is always PROPOSED, returns status='confirmation_required' with action_id and plan_token, and the write only occurs after confirm_action. That is exactly the kind of behavioral context an agent needs before invoking a destructive tool.

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?

Three tight sentences, front-loaded with the core action and scope, then the usage hint, then a clearly labeled CONFIRMATION block. No filler or redundancy.

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

Completeness4/5

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

For a destructive three-parameter mutation with no output schema, the definition covers purpose, access scope, and the confirmation workflow thoroughly. The remaining gap is edit semantics for tags (replace vs. append) and what happens to fields omitted from the request.

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

Parameters4/5

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

Schema coverage is 0%, so the description must carry the load; it does by explaining that the target is identified 'by id' and that content and/or tags are the editable fields, plus the access constraint that only the caller's own memory id is valid. It does not clarify the id's accepted type (integer or string) or whether supplying tags replaces or merges existing tags.

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 gives a specific verb and resource ('Edit one of the caller's memory facts (content and/or tags) by id') and states the scope constraint that only the caller's own memory is reachable. It implicitly contrasts with an add/create path via 'instead of adding a duplicate', but does not name the memory siblings (recall_memory, forget_memory) directly.

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 use case — correct or refine a remembered fact rather than adding a duplicate — which routes the agent away from a create-style action. It stops short of explicit when-not conditions or naming an alternative tool for other memory operations.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources