Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZENBRAIN_DBNoPath 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_CONTEXTSNoComma-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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 emotionalWeight) becomes an episode; a confidence above 0.9 makes it a pinned core memory; anything else becomes a semantic fact. Set type only when you want to override that. Every call adds a new memory, except that storing the same core memory again updates it; the content is also kept in working memory while the server runs. Returns the id of the stored memory. If it may already be stored, check with zenbrain_recall first: storing it again adds a duplicate.

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 layers. Returns results ranked by relevance, each tagged with the layer it came from. Use this before answering when the user refers to something from an earlier session. To see how much is stored rather than what, use zenbrain_health; to save something, use zenbrain_store.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.6/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityActive
ResponsivenessSlow