SPM — StellarPath Memory Operating System Docs

MCP tool reference

Published Last reviewed Applies to SPM-Polaris

After this page you can look up every parameter, scope and result field the five SPM memory tools accept at https://api.spmos.ai/mcp.

Connect a client first: Connect an MCP client.

Tools

Name Type Required Default Meaning
remember tool — — Saves one memory, idempotently. Needs memory:write.
status tool — — Reports whether saved memories are ready to recall. Needs memory:read.
recall tool — — Answers a question with the strongest saved evidence. Needs memory:read.
read tool — — Fetches a selected span or its backing source. Needs memory:read.
delete tool — — Removes one memory and everything derived from it. Needs memory:delete.

The aliases add_memory, search_memory and delete_memory take the same parameters as remember, recall and delete.

Parameters

Name Type Required Default Meaning
text string Yes, remember — The memory to save.
idempotency_key string Yes, remember and delete — Prevents a retried call from writing or deleting twice.
source_id string No, remember; yes, delete Server-assigned on save Identifies the saved content. Reusing a deleted ID returns 409 SOURCE_ID_PURGED until you clear memory.
source_ids[] string array One of source_ids[] or read_tokens[], read — Source-level read. Needs no token but still enforces account, partition and access checks.
read_tokens[] string array One of source_ids[] or read_tokens[], read — Span-level read. Short-lived; pass the values from evidence_refs verbatim.
question string Yes, recall — One intent, with every qualifier the answer depends on.
top_k integer No, recall 20 Result count. Raise it only when several facts are needed.
depth enum: fast, auto, deep No, recall Account setting, initially auto How much gathering recall may do. See depth.
lane_policy enum: explicit_first, blended, observed_only No, recall explicit_first Where evidence may come from. See lane_policy.
user_partition string No Tenant default Routes to one end user's memory. Needs memory:partition.
topic string No, remember — Groups related memories.
source_timestamp ISO 8601 string No, remember — When the event happened, if not now.
wait_seconds integer, 0–30 No, status 0 How long status may wait before answering.

status and delete take no user_partition; target them with source IDs.

depth

Value What it does
fast One bounded lookup, no provider tokens. Simple, well-named questions.
auto Fast path first, deeper rounds only when needed. A no-evidence result is not a reason to repeat paid deep calls.
deep Multi-round gathering from the start, for hard multi-part questions. The response reports rounds, tokens, latency, why it stopped, and an estimated cost, which is not your provider bill.

Without a configured deep selector, deep fails closed with DEEP_RECALL_UNAVAILABLE.

lane_policy

Value What it does
explicit_first Prefers things you saved over things the proxy captured.
blended One shared pool, ranked by relevance.
observed_only Answers only from captures. Suits "what did I say in chat" questions.

Result shape

answer is the single strongest saved line, not a rewritten summary. evidence_refs holds the wider supporting set, each with a short-lived read token.

Every span read returns carries a signed provenance label: user, assistant_proposal, system_constraint, external_observed, expert_advisor, admin, or derived. The label cannot be relabelled.

When nothing qualifies you get an explicit no-evidence result with a machine-readable reason, never an invented answer. evidence_decision says how well the evidence is backed; Recall verdicts lists its fields.

Captures whose speaker cannot be attributed appear in source_ids but cannot support an answer alone.

Next