Skip to main content
Glama

Update an agent memory

updateAgentMemory
DestructiveIdempotent

Rewords or recategorizes one saved memory, or archives it so the agent stops following it. Archiving is final. Repeating the call with the same input leaves the same result.

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": {
      "params": "<params>",
      "body": "<body>"
    },
    "name": "updateAgentMemory"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

'Archiving is final' genuinely adds irreversible-behavior context beyond destructiveHint=true, which is valuable for a mutation tool. The second half of the description ('repeating the call with the same input leaves the same result') largely restates idempotentHint=true, and nothing is said about partial-update behavior or errors on a bad id.

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?

Three short sentences with the mutation scope front-loaded and the destructive caveat immediately after. The idempotency sentence is the only low-value line, since the annotation already asserts it.

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 two-parameter, nested-body mutation with no output schema, the description covers the core semantics and the critical irreversibility warning. It falls short on how the target memory is identified and what the response contains after an update.

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?

With 0% schema description coverage and nested objects, the description partially compensates by mapping 'rewords' to content, 'recategorizes' to topic, and 'archives' to the archive flag. It never mentions the required id parameter or that body fields are optional (partial update), which the raw schema leaves ambiguous.

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 names specific operations (reword, recategorize, archive) on a clearly scoped resource ('one saved memory'), which separates it from createAgentMemory and listAgentMemories. It does not explicitly name those siblings as alternatives, so routing still requires a small inference.

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?

Implicit usage is clear: edit content/topic to change what the agent follows, or set archived to stop it. However, no guidance is given on obtaining the required memory id (e.g., via listAgentMemories) or on choosing this tool over creating a fresh memory.

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