Skip to main content
Glama

memory_save

Save a conversation message as a persistent memory note with automatic summaries, keywords, tags, embeddings, and links to support later search and association.

Instructions

Save a conversation message as a memory note. Automatically generates summary, keywords, tags, embeddings, and links using LLM and embedding models when available.

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": {
      "content": "<content>",
      "role": "<role>"
    },
    "name": "memory_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesThe role of the message sender
tagsNoTags for categorization (auto-generated if not provided)
contentYesThe content to save as a memory note
projectNoProject name or path to associate this note with
keywordsNoKeywords for this note (auto-generated if not provided)
session_idNoSession ID to associate this note with

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.2/5.0
Behavior3/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. It does disclose a meaningful side effect: summary, keywords, tags, embeddings, and links are auto-generated via LLM/embedding models "when available," which tells the agent that cost, latency, and model dependency are involved. It omits whether duplicate content is deduplicated, what happens when models are unavailable, and whether the save is durable or returns an identifier.

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 sentences, front-loaded with the core action, with the enrichment behavior placed second. No filler or restatement of the tool name. It is close to ideal size for a tool of this complexity.

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 six-parameter mutation tool with no annotations and no output schema, the definition covers the enrichment pipeline but leaves gaps: the return value (does it yield a note ID the agent can reuse with memory_associate?), duplicate handling, and failure modes when models are unavailable. Adequate, but not complete for a write operation.

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 all six parameters including the role enum are already documented in structured form, establishing the baseline of 3. The description does not add syntax or constraint detail beyond the schema; its only relevant contribution is reinforcing the auto-generation behavior that the schema already notes for tags and keywords.

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?

Uses a specific verb and resource: "Save a conversation message as a memory note." That is unambiguous about what the tool does and is naturally distinguishable from siblings like memory_search or memory_stats. It stops short of naming a sibling or stating what it is not, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as memory_update_index or memory_associate for post-save operations. The agent must infer that this is the write path for persisting conversation content, which is implied but never stated.

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