Skip to main content
Glama

update_memory

Update an existing memory's name, description, or content. Type is immutable; to reclassify, forget and store again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId from a prior recall_memory result.
nameNoNew kebab-case slug.
contentNoNew body.
descriptionNoNew single-line summary.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
titleNo
messageNo
variantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"Replacement body. Omit to leave unchanged."New value: +"New body."
    • changedInput schema / properties / description / description
      Previous value: -"Replacement single-line summary. Omit to leave unchanged."New value: +"New single-line summary."
    • changedInput schema / properties / name / description
      Previous value: -"Replacement kebab-case slug. Omit to leave unchanged."New value: +"New kebab-case slug."
  2. Changed6 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "content": "Updated 2026-07-14: the user now prefers Sunday mornings instead of Saturday mornings for cleaning.",
      +    "description": "User now prefers the house cleaned on Sunday mornings",
      +    "id": "0195e3c1a2b34c5d6e7f8091a2b3c4d5"
      +  }
      +]
    • addedInput schema / properties / content / examples
      Added value: +[
      +  "Updated 2026-07-14: the user now prefers Sunday mornings instead of Saturday mornings for cleaning."
      +]
    • addedInput schema / properties / description / examples
      Added value: +[
      +  "User now prefers the house cleaned on Sunday mornings"
      +]
    • addedInput schema / properties / id / examples
      Added value: +[
      +  "0195e3c1a2b34c5d6e7f8091a2b3c4d5"
      +]
    • changedInput schema / properties / name / description
      Previous value: -"Replacement slug. Omit to leave unchanged."New value: +"Replacement kebab-case slug. Omit to leave unchanged."
    • addedInput schema / properties / name / examples
      Added value: +[
      +  "preferred-cleaning-day"
      +]
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already indicate the operation is read-write (readOnlyHint=false) and not destructive (destructiveHint=false). The description adds the important behavioral constraint that type is immutable and suggests a workaround. It doesn't disclose whether unspecified fields are preserved or overwritten, but the minimal annotations keep the bar low.

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?

Two sentences with no filler: the first states the action and targets, the second explains an immutable property and its workaround. Every sentence contributes essential information, and the key constraint is front-loaded.

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?

The definition is compact but sufficient for a straightforward update operation. The schema covers parameter meanings, the output schema covers return values, and the description covers the one non-obvious rule (type immutability). The only minor gap is not explicitly stating that partial updates preserve omitted fields, but this is not critical given the other structured information.

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%, with each parameter already documented (id from prior recall_memory result, name kebab-case slug, content body, description summary). The description's reference to 'name, description, or content' restates the schema without adding further semantic nuance, so the baseline of 3 applies.

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

Purpose5/5

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

The description clearly states the verb 'Update' and the resource 'existing memory', and lists the mutable fields (name, description, content). It also explicitly notes that type is immutable, which distinguishes it from reclassifying operations.

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?

The description implicitly defines when to use this tool (updating an existing memory) and explicitly provides an exclusion: if you need to change the type, 'forget and store again'. It doesn't explicitly name store_memory as the alternative for new memories, but the phrase 'existing memory' makes that clear enough.

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