Skip to main content
Glama

memory_update

Update a character's persistent memory to revise personality, directives, goals, backstory, play style, and session notes so context is retained across sessions.

Instructions

Update persistent memory for the current character. Allows updating personality, directives, goals, and notes.

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

Input Schema

NameRequiredDescriptionDefault
updatesYesObject with fields to update (personality, directives, goals, backstory, play_style, session_notes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 behavioral burden, and it omits the most consequential detail for an update on a nested object of fields: whether supplied fields merge into existing memory or replace it wholesale, and whether the schema's permissive additionalProperties means arbitrary keys are silently accepted. It also gives no signal about persistence scope, failure modes, or permissions.

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 compact sentences with the action and target front-loaded. The second sentence is partially redundant with the first but does contribute the field list, so it mostly earns its place.

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?

For a single-parameter mutation tool with no annotations and no output schema, the description covers the basics of what is written but leaves the merge-vs-replace semantics and the permissive free-form 'updates' object unexplained. Adequate to invoke, insufficient to predict the effect on existing memory.

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 the single 'updates' parameter already documents its accepted fields (personality, directives, goals, backstory, play_style, session_notes). The description restates only a subset of those names and actually drops backstory and play_style, adding no meaning beyond the schema.

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 ('Update') and resource ('persistent memory for the current character'), and enumerates the kinds of fields affected (personality, directives, goals, notes). It is clearly distinct from read-oriented siblings like memory_get or memory_load, though it does not explicitly contrast with memory_add_note.

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?

Usage is only implied: the agent can infer this is the write path for character memory, but there is no statement of when to use this versus memory_add_note for a single note, or whether memory_load must precede it. No exclusions or preconditions are given.

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