Skip to main content
Glama

Save a memory

create_memory

Save a NEW memory straight into the user's cloud brain, immediately. Use this whenever a durable, reusable fact about the user or their world surfaces: a decision and its reasoning, a stated preference or opinion, a new or changed fact about a person / company / product / project / tool, a goal, or a constraint. Be selective: skip transient chatter, one-off task mechanics, secrets, and anything already saved. Keep fact concrete and standalone so it still makes sense read alone months later. List every person / company / product / project / tool / topic the memory is about in entities so it is found-or-created and linked into the knowledge graph. Duplicate facts are skipped, not piled up.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
factYesThe memory as ONE concrete, standalone statement (max ~280 chars).
kindNoWhat kind of memory this is.
entitiesNoEvery person, company, product, project, tool or topic this memory is about.
confidenceNo0-1, how sure you are this is true.
importanceNo1-5, how significant this fact is.
source_titleNoOptional short label for where this came from.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavior beyond that: duplicate facts are skipped rather than accumulated, and entities are found-or-created and linked into a knowledge graph. It stops short of stating auth requirements or what identifier is returned.

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?

A single dense paragraph, front-loaded with the action and the trigger condition before the selectivity caveats and field guidance. Slightly long, but nearly every clause carries a distinct instruction (selectivity, standalone wording, entity coverage, dedup), so little is wasted.

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?

For a mutation tool with no output schema, the description covers purpose, trigger conditions, exclusions, dedup behavior, and key field expectations. It could go one step further and say what a successful save returns, but an agent has what it needs to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds genuine semantics: `fact` must be concrete and standalone so it reads correctly months later, and `entities` should enumerate every person/company/product/project/tool/topic so the graph links them. That is more than restating 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?

States a specific verb and resource ('Save a NEW memory') plus the destination ('user's cloud brain') and timing ('immediately'). This cleanly separates it from read-side siblings like recall_memories, search, and get_memory_source.

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

Usage Guidelines5/5

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

Explicit about when to use it (durable reusable facts: decisions and reasoning, preferences, changed facts about people/companies/products/projects/tools, goals, constraints) and when not to (transient chatter, one-off task mechanics, secrets, anything already saved). Nothing is left to inference.

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