Skip to main content
Glama

update_memory

Update an existing memory by modifying its metadata such as title, category, tags, or author, and optionally replace its markdown content.

Instructions

Patch memory metadata and optionally replace the full markdown body. Use append_memory when adding incremental observations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMemory id to update.
metaNoPartial metadata changes. Omitted fields keep their existing values.
contentNoReplacement markdown body. Leave null to preserve existing content.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It mentions patching and replacing but does not disclose potential side effects, authentication needs, or error behavior. The output schema may cover returns, but behavioral traits like idempotency are omitted.

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, no filler. The first sentence conveys the core action, and the second provides a sibling differentiator. Every word is meaningful.

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?

Given the tool's complexity (3 parameters, high schema coverage, output schema), the description is adequate. It explains the primary operations and the alternative tool, leaving return values to the output schema.

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?

The input schema has 100% coverage with descriptions for all parameters, so the description adds minimal extra value. It clarifies that 'content' is a full replacement and that 'meta' is partial, which is already implied by the schema.

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 action: patching memory metadata and optionally replacing the full markdown body. It also distinguishes itself from the sibling 'append_memory' by specifying when to use that alternative.

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 provides explicit guidance on when to use this tool versus 'append_memory' for incremental additions. While it does not cover all siblings, this targeted alternative is sufficient for most cases.

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