Skip to main content
Glama

Update memory labels

update_memory

Change the labels on an existing memory: tags, importance, metadata, source or event_type. The memory text itself cannot be edited — to correct a fact, call add_memory with the correction instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoReplace the tag list. Pass [] to clear all tags.
sourceNoUpdate the origin label.
metadataNoReplace the metadata bag. Reserved system keys are ignored.
memory_idYesThe memory id, for example 'm_123'.
event_typeNoUpdate the event_type label.
importanceNoManual importance override between 0.0 and 1.0.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
scoreNoRelevance score, only on search results.
sourceNo
summaryNo
metadataNo
memory_idYesStable id, for example 'm_123'.
created_atNo
importanceNo
changed_fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-readOnly, non-destructive behavior, but the description adds important context the annotations cannot: that only labels are mutable and the memory text is immutable, plus the correction workflow via add_memory. It doesn't mention permission or auth requirements, so it isn't exhaustive.

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 tight sentences: the actionable scope comes first, followed by the key limitation and its alternative. Every clause carries information and there is no filler.

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?

With annotations covering safety and an output schema covering returns, the description supplies the one non-obvious rule an agent needs — text immutability — making it largely complete. Minor gaps remain around auth or failure behavior, but nothing critical is missing for correct invocation.

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%, so the schema already documents each parameter including replace-vs-clear semantics for tags and reserved-key handling for metadata. The description only echoes the field names without adding syntax or format detail, making 3 the right baseline.

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 names a specific verb ('Change the labels') and resource ('an existing memory'), then enumerates the exact mutable fields (tags, importance, metadata, source, event_type). This clearly separates it from siblings like add_memory and delete_memory.

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 explicitly states the boundary condition — the memory text cannot be edited — and routes the agent to add_memory for corrections, which is a genuine alternative with a selecting condition. It doesn't address broader routing against get_memory or delete_memory, so it falls short of a full when/when-not map.

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