ZenBrain
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZENBRAIN_DB | No | Path to the SQLite file that holds the memory. A leading ~/ means the home directory; ':memory:' gives a store that is discarded when the process exits. | ./zenbrain.db |
| ZENBRAIN_CONTEXTS | No | Comma-separated context domains for cross-context memory. | personal,work,learning,creative |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| zenbrain_storeA | Write something into long-term memory so it survives this conversation. Routing is automatic by default: steps or instructions become a procedure; content with an emotional weight above 0.5 (detected, or set via |
| zenbrain_recallA | Search long-term memory for anything relevant to a query. By default it searches the episodic, semantic, procedural and core layers; working memory (a handful of recently stored items, held only while the server runs) is searched only when named in |
| zenbrain_consolidateA | Run one consolidation pass: among the 100 most recent episodes, each one with an emotional weight above 0.5 becomes a semantic fact — once, however often the pass runs. Working-memory slots lose relevance with age, and slots whose relevance has dropped to 0.01 or below are removed; that is the only deletion, and nothing in long-term memory is deleted. Run it between sessions or after a batch of zenbrain_store calls, not on every turn; compare zenbrain_health before and after to see the effect. |
| zenbrain_healthA | Report how full the memory layers are: working-memory slots in use, interactions held, episodes, facts and how many are due for review, procedures, core blocks. Read-only and cheap, safe to call at any time. It returns counts only; to read the memories themselves, use zenbrain_recall. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: recall reads, store writes, consolidate maintains, and health reports stats. Descriptions explicitly cross-reference to avoid confusion (e.g., 'to see how much is stored rather than what, use zenbrain_health'), and no overlap exists among the four operations.
All tools share the zenbrain_ prefix and use snake_case, forming a predictable pattern. However, the action words mix verbs (recall, store, consolidate) with a noun (health), a minor deviation from a pure verb-based convention.
Four tools cover the core memory lifecycle: write, read, maintain, and monitor. The count is well within the 3-15 well-scoped range, and each tool clearly earns its place without redundancy.
The surface covers storing, recalling, consolidating, and monitoring memory layers. Minor gaps exist: no explicit update or delete for non-core memories, though storing anew works around this and deletion is intentionally absent.