Skip to main content
Glama

remember

Store a clear, self-contained memory as soon as it comes up so preferences, plans, people, boundaries, habits, decisions, and corrections persist; update existing entries while preserving history.

Instructions

Save something worth remembering the moment it comes up, so the person never has to repeat themselves. Great for preferences, plans, people in their life, boundaries, habits, decisions, and corrections. Write one clear, accurate, self-contained sentence in the user's own language (based only on what the user writes, not assistant replies; if mixed, use the language the user uses most) so it still makes sense months later. When updating an existing memory, pass its id in replaces (from recall) so the old version stays preserved as history. Use keep_moment instead for deeply meaningful quotes or turning points you never want summarized away. Returns { data: { id, created, replaced } }.

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>"
    },
    "name": "remember"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoFree-form labels.
typeNoOne of fact, event, preference, relationship, boundary, habit, decision, note, or world_fact for general world knowledge. Defaults to fact, or to the replaced memory's type.
reasonNoWith replaces: a brief note on what changed.
contentYesOne clear, self-contained sentence to remember.
fact_keyNoOptional stable key such as 'user:favorite_coffee'. Usually leave it out. If a memory with this key exists it is replaced, keeping the old version as history.
replacesNoId of the memory this one updates (from recall). The previous version is kept as history.
namespaceNoMemory space to use. Defaults to 'default'. Ignored when the API key is bound to a fixed namespace.
confidenceNo0 to 1, how sure you are. Defaults to 0.8.
importanceNo0 to 1, how much this matters. Defaults to 0.6.
authored_byNoOptional author signature. This label is a claim, independent of the authenticated credential.
valid_as_ofNoWhen this became true (ISO date or datetime), if different from today.
response_tendencyNoOptional: how you want to respond when this memory comes up.
source_message_idsNoOptional retained message IDs supporting this memory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv2.2.0
    • changedInput schema / properties / authored_by / description
      Previous value: -"Optional signature marking this as hand-written; it ranks above memories distilled overnight."New value: +"Optional author signature. This label is a claim, independent of the authenticated credential."
    • changedInput schema / properties / content / description
      Previous value: -"One self-contained sentence to remember."New value: +"One clear, self-contained sentence to remember."
    • changedInput schema / properties / reason / description
      Previous value: -"With replaces: a short note on what changed."New value: +"With replaces: a brief note on what changed."
    • changedInput schema / properties / replaces / description
      Previous value: -"Id of the memory this one updates (from recall). The old version is kept as history."New value: +"Id of the memory this one updates (from recall). The previous version is kept as history."
    • addedInput schema / properties / source_message_ids
      Added value: +{
      +  "description": "Optional retained message IDs supporting this memory.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"One of fact, event, preference, relationship, boundary, habit, decision, note, or world_fact for general knowledge about the world rather than about anyone. Defaults to fact, or to the replaced memory's type."New value: +"One of fact, event, preference, relationship, boundary, habit, decision, note, or world_fact for general world knowledge. Defaults to fact, or to the replaced memory's type."
    • changedInput schema / properties / valid_as_of / description
      Previous value: -"When this became true (ISO date or datetime), if it is not today."New value: +"When this became true (ISO date or datetime), if different from today."
  2. Addedv2.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the write/non-destructive profile is structured. The description extends this usefully by explaining that replaces preserves the old version as history and by stating the return shape { data: { id, created, replaced } }. It does not cover scoping or rate-limit behavior, and the namespace parameter's interaction with API-key binding is left to the schema.

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?

It is a single front-loaded paragraph that leads with the purpose before qualifications, and the alternative-tool pointer and return shape are placed last. A few sentences restate schema text (the one-self-contained-sentence rule appears in both content and the description), which is mildly redundant but not padding.

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?

For a 13-parameter mutation tool with no output schema, the description supplies what the schema cannot: the writing/language policy, the history-preserving update path, the sibling alternative, and the response shape. Nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, so every one of the 13 parameters, including fact_key and namespace, is already documented in structured form. The description adds only the cross-tool workflow detail that the replaces id comes from recall and the language-selection rule for content, while the schema already says '(from recall)'. Baseline 3 is appropriate when the schema does the heavy lifting.

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 opening clause pairs a specific verb (save) with a specific resource (something worth remembering) and a timing rule (the moment it comes up). It also names the sibling it is not (keep_moment) and ties updates to recall, so an agent can separate it from the rest of the memory family without opening any schema.

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?

It enumerates when to use it (preferences, plans, people in their life, boundaries, habits, decisions, corrections) and gives an explicit exclusion with the correct alternative: use keep_moment for deeply meaningful quotes or turning points you never want summarized away. It also routes update cases to the replaces parameter sourced from recall.

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