Skip to main content
Glama

remember

Save durable facts, decisions, gotchas, and procedures across sessions so critical knowledge survives context compaction and remains searchable.

Instructions

Use remember to save durable facts and observations across sessions.

Use remember when you learn something durable — a decision, a gotcha, a non-obvious fact, a procedure — so it survives context compaction.

remember = a specific durable fact, ingest = a URL, learn = a distilled lesson that gets retrieval preference.

Call it at these five moments, not at the end and not never: a non-obvious root cause or gotcha (fact); a ratified design decision with its reason (fact); a repeatable how-to (procedure); a judgement you will revisit (opinion); and once before submitting a mission result (observation). Always pass your own agent_handle — the daemon cannot infer it, and a subagent's working directory resolves to the repo's leader, not to you.

The daemon scrubs secrets/PII before indexing. Returns immediately — the daemon indexes in the background.

Args: content: The text content to remember. document_name: Name for the document (e.g., 'notes.md'). overwrite: If true, replace existing data for this document. If false, an existing document of this name is left untouched. collection: Collection name. Leave empty to route by agent_handle — memory-<handle> when a handle is given, else default. format_hint: Format hint: 'auto', 'plain', 'markdown', 'latex'. agent_handle: Your own handle (e.g. "rmh") — the memory is filed under it and recalled by it. memory_type: Memory classification: fact, observation, opinion, procedure. 'lesson' is reserved for the learn tool. summary: One-line summary of the content.

Returns: The document name and accepted task ID; indexing runs in the background. Input refusals, daemon errors, and unexpected failures return Error: ... text. Connection failures include recovery guidance.

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

Input Schema

NameRequiredDescriptionDefault
contentYes
summaryNo
overwriteNo
collectionNo
format_hintNoauto
memory_typeNo
agent_handleNo
document_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.2.0
    • changedInput schema / properties / collection / default
      Previous value: -"default"New value: +""
  2. First observedv2.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and largely discharges it: it discloses that secrets/PII are scrubbed before indexing, that the call returns immediately while indexing happens in the background, how collection routing falls back by handle, and what error text looks like (refusals, daemon errors, connection failures with recovery guidance). The one omission is any statement about idempotency or duplicate handling beyond the overwrite flag.

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?

Front-loaded with the purpose, then routing rules, then timing, then args — a logical order with no filler sentences. There is mild redundancy between the opening 'use remember when you learn something durable' and the later five-moments paragraph, and the Returns block partially duplicates the output schema, but nothing is wasted enough to obscure the call.

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 an 8-parameter mutation-ish tool with no annotations and a 0%-covered schema, the description covers routing, timing, secret scrubbing, async behavior, and failure modes. The output schema already documents the return shape, so the short Returns section is sufficient elaboration rather than a gap.

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 0% across 8 parameters, so the description must compensate and it does: it explains routing semantics for collection ('memory-<handle>' vs 'default'), the precise false-vs-true consequence of overwrite, the allowed format_hint values, and that 'lesson' is reserved for the learn tool. Only content and document_name are restated rather than enriched, which keeps it short of a 5.

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 durable facts and observations across sessions, so they survive context compaction. It then explicitly partitions the space against siblings: 'remember = a specific durable fact, ingest = a URL, learn = a distilled lesson that gets retrieval preference.' An agent can pick the right tool 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?

Gives concrete triggering moments (five named categories: gotcha, ratified decision, repeatable how-to, revisit-able judgement, pre-mission observation) plus an explicit exclusion ('not at the end and not never'). It also names alternatives (ingest, learn) and their differing scopes, and adds an operational prerequisite to always pass agent_handle.

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