Skip to main content
Glama

update_memory

Update an existing memory by modifying only the fields you provide. Correct inaccuracies, adjust importance, or reclassify category without deleting. Omitted fields remain unchanged.

Instructions

Update an existing memory in the local SQLite database. Modifies only the fields you provide — omitted fields are left unchanged. The updated_at timestamp is set automatically. If content is changed, the full-text search index is rebuilt for this memory. Returns the full updated memory object on success, or {success: false, message: 'Memory not found'} if the ID does not exist. Use to correct inaccurate memories, adjust importance, or reclassify a memory's category without deleting and re-creating it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe UUID of the memory to update. Obtain from store_memory, search_memory, or list_memories results.
contentNoReplacement content for the memory. Omit to keep the existing content unchanged.
categoryNoNew category for the memory. Omit to keep the existing category unchanged.
importanceNoNew importance score from 1 (low) to 10 (critical). Omit to keep the existing score unchanged.
Behavior5/5

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

No annotations are provided, so the description carries full responsibility. It discloses key behaviors: partial field updates (omitted fields left unchanged), automatic updated_at timestamp, full-text search index rebuild on content change, and the exact return format for success and failure. This is comprehensive.

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?

The description is four sentences long, well-structured: first sentence states main purpose, second clarifies partial update behavior, third lists side effects, fourth gives use cases. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (partial updates, side effects like FTS rebuild, no output schema), the description covers all critical aspects: what fields can be updated, what happens to omitted fields, automatic timestamp, index rebuild, and the exact return format for both success and failure cases.

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 described in the schema. The description adds minimal additional context, such as 'id' being obtainable from other tools. The partial update behavior is implied by the schema's 'Omit to keep' statements, so the description just reinforces. Baseline 3 is appropriate.

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 tool's purpose: updating an existing memory in a local SQLite database. It specifies the verb 'update' and the resource 'memory', and distinguishes from sibling tools like store_memory and delete_memory by mentioning it avoids deleting and re-creating.

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 explicitly provides use cases: 'correct inaccurate memories, adjust importance, or reclassify a memory's category'. It implies not to use for creation (use store_memory) or deletion (use delete_memory), though it doesn't explicitly list when not to use or name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Skitchy/rekindle'

If you have feedback or need assistance with the MCP directory API, please join our Discord server