MCP tools: remote-memory-service

All tool groups

remote-memory-service

Registered when: MEMORY_SERVICE_ENABLED (on by default), explicit memory family and live org/project permissions; human sessions approve.

memory_get

Read one knowledge entry by id, including its history pointers. Scratch state that overwrites belongs in remember/recall; durable knowledge with history and search belongs here. Results arrive as {org, dataTrust:"untrusted", notice, data}; errors as {org, error}. Never store a secret: a secret-shaped title or body is refused whole (422 secret_in_memory). Set store:"memory" to read one scoped memory and its visible version history; projectId selects a project context. The org comes from the authenticated credential; project access is checked live. Agents may propose only; a signed-in org admin approves and manages versions.

ParameterTypeRequiredDescription
idstringyes
projectIdstringno
conversationIdstringno
store"memory" \"agent_knowledge"no

Example call:

{"name":"memory_get","arguments":{"id":"<id>"}}

Related: memory_search, memory_propose, memory_update.

memory_propose

Propose a sourced fact, preference, decision or rule for human review. Supply a real chat message, issue or issue-comment pointer, its author and timestamp, and SHA-256 of its complete text. human_statement evidence is session-only. This creates proposed content; it never activates a rule. The org comes from the authenticated credential; project access is checked live. Agents may propose only; a signed-in org admin approves and manages versions.

ParameterTypeRequiredDescription
scope"org" \"project" \"person" \
projectIdstringno
conversationIdstringno
kind"fact" \"rule" \"preference" \
titlestringyes
bodystringyes
tagsstring[]no
pinnedbooleanno
validFromstringno
expiresAtstringno
verifyBy"source_hash" \"human_confirmation"no
sourceobjectyes
clientRequestIdstringno

Example call:

{"name":"memory_propose","arguments":{"scope":"org","kind":"fact","title":"<title>","body":"<body>","source":{}}}

Related: memory_search, memory_get, memory_update.

memory_search

Full-text search of the knowledge you may read in this organization (newest first, 20 by default). Hides superseded, forgotten and expired entries unless asked. Scratch state that overwrites belongs in remember/recall; durable knowledge with history and search belongs here. Results arrive as {org, dataTrust:"untrusted", notice, data}; errors as {org, error}. Never store a secret: a secret-shaped title or body is refused whole (422 secret_in_memory). Set store:"memory" to search the new org/project memory and rules service with provenance, trust state, history and expiry. sourceAuthorId filters the original source person; createdBy filters the principal who submitted the proposal. The org comes from the authenticated credential; project access is checked live. Agents may propose only; a signed-in org admin approves and manages versions.

ParameterTypeRequiredDescription
qstringno
scope"org" \"project" \"person" \
kind"fact" \"rule" \"preference" \
projectIdstringno
tagsstring \string[]no
includeHistorybooleanno
includeExpiredbooleanno
dueForReviewbooleanno
limitintegerno
afterstringno
match"all" \"any" \"websearch"
status"proposed" \"active" \"superseded" \
conversationIdstringno
createdBystringno
pinnedbooleanno
sourceAuthorIdstringnoFilter the cited source author; createdBy independently filters the memory writer
store"memory" \"agent_knowledge"no

Example call:

{"name":"memory_search","arguments":{}}

Related: memory_get, memory_propose, memory_update.

memory_update

Approve, replace, retract or restore a memory version with an expected version and reason. Requires a signed-in admin session; API keys cannot promote or manage memory. The org comes from the authenticated credential; project access is checked live. Agents may propose only; a signed-in org admin approves and manages versions.

ParameterTypeRequiredDescription
idstringyes
projectIdstringno
conversationIdstringno
action"approve" \"supersede" \"retract" \
expectedVersionintegeryes
reasonstringyes
replacementobjectno

Example call:

{"name":"memory_update","arguments":{"id":"<id>","action":"approve","expectedVersion":1,"reason":"<reason>"}}

Related: memory_search, memory_get, memory_propose.

rules_for_context

Retrieve active verified unexpired directives for this credential and optional project or conversation context: pinned records first, then rules and decisions. Includes provenance and capabilities; proposed and stale records are excluded. The org comes from the authenticated credential; project access is checked live. Agents may propose only; a signed-in org admin approves and manages versions.

ParameterTypeRequiredDescription
qstringno
scope"org" \"project" \"person" \
kind"fact" \"rule" \"preference" \
status"proposed" \"active" \"superseded" \
projectIdstringno
conversationIdstringno
createdBystringno
tagsstringno
pinnedbooleanno
sourceAuthorIdstringnoFilter the cited source author; createdBy independently filters the memory writer
limitintegerno
afterstringno

Example call:

{"name":"rules_for_context","arguments":{}}

Related: memory_search, memory_get, memory_propose, memory_update.

We use essential cookies to keep you signed in. See our Privacy Policy for details.