Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MCP tools reference

llm-mem-mcp exposes 32 tools to MCP clients. They’re grouped by purpose here.

The 32 tools at a glance

Storing

Finding

Chronology

Abstraction

Banks

Documents

Introspection

How parameters work

Every tool takes a JSON object of parameters. Optional parameters can be omitted. Parameters marked as accepting a bank field default to the "default" bank if not provided.

The common bank parameter

Most tools accept an optional bank string. If omitted, the tool operates on the "default" bank.

{ "query": "JWT auth", "bank": "research" }

Agent and user IDs

FieldUsed byPurpose
agent_idstore/find toolsThe agent storing or querying. Set once via --agent CLI flag and inherited by all calls.
user_idstore toolsOptional. Only needed when multiple users share a bank.

Common response shape

Tools return a JSON object with at least:

{
  "success": true,
  "message": "human-readable status",
  "data": { /* tool-specific */ },
  "error": null
}

On failure, success is false and error contains a human-readable description.

Reading the per-tool pages

Each category page has a one-paragraph description of the tool, the input schema (as a table), and the output schema. For the canonical schema, see src/operations/tools.rs in the source.

Next