MCP toolsmemory_remember

memory_remember

Stores durable knowledge. By default it creates a fact; kind selects another kind of memory. The server embeds the statement, folds a paraphrase into the fact that already says the same thing, redacts PII and checks for contradictions.

Arguments

NameTypeRequiredDefaultNotes
statementstringyesThe fact in one short sentence. 1 to 1000 characters.
subjectstringnoworkspaceWho or what the fact is about, for example acme.
kindstringnofactfact, decision, episode, entity, strategy, workflow, skill, task, event or reasoning. An unknown value returns 400.
subtypestringnoFiner category, only for fact, decision and entity. A value outside the kind’s list is stored as other and reported in warnings.
confidencenumberno1.00 to 1. The default is the server’s.
topicKeystringnoStable key for a topic, for example acme/language. A second write with the same key updates the active fact or decision instead of creating a new one.
scopestringnoglobalglobal, conversation or personal. personal needs a key bound to a user.
scopeRefstringnoProject or entity the memory belongs to. memory_recall can filter by it.
scopeOwnerstringnoOwnership level: workspace:<id>, user:<userId> or tenant:<tenantId>.
targetWorkspaceIdstringnoStore in a workspace other than the active one. You need write access there.
sessionIdstringnoSession the fact comes from. When the session closes, its facts are attached to the episode.
episodeIdstringnoAttach the fact to an episode that already exists. An unknown id does not fail the write; the response carries a warning.
agentIdstringnoAgent that originated the fact.
conversationIdstringnoConversation id, for traceability.
idempotencyKeystringnoOn a retry with the same key, the server returns the original response instead of writing again.

memory_suggest_topic_key derives a topicKey from the subject and the attribute, so an updated value gets the same key.

Example

{
  "name": "memory_remember",
  "arguments": {
    "statement": "Acme prefers communication in Spanish.",
    "subject": "acme",
    "topicKey": "acme/language",
    "confidence": 0.9
  }
}

Returns

The stored fact, as the server returns it from POST /remember:

{
  "id": "<fact id>",
  "workspaceId": "<workspace id>",
  "statement": "Acme prefers communication in Spanish.",
  "confidence": 0.9,
  "topicKey": "acme/language",
  "status": "active",
  "sensitivity": "internal",
  "pinned": false,
  "attribution": {},
  "tags": ["fact"],
  "validFrom": "2026-11-18T14:02:11.000Z",
  "validTo": null,
  "createdAt": "2026-11-18T14:02:11.000Z"
}

statement is the text that was stored, which can differ from what you sent. Four optional fields appear only when they apply:

  • conflict: the write contradicts existing facts. candidates lists each one with a suggested action (supersede, reject or review). When judgmentRequired is true, resolve them with memory_judge.
  • warnings: part of the request was stored differently from how it was sent, for example a substituted subtype.
  • redactedCategories: PII was removed from the statement before storage. The original is not kept.
  • embeddingDeferred: the embedding provider was unavailable. The fact is stored and searchable by keyword; semantic search and conflict detection wait for the embedding.

Notes

  • One claim per call. Store two facts as two calls.
  • Reusing an idempotencyKey with a different request returns 422.
  • With a read-only role the call returns 403.