Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPEN_BRAIN_DBNoWhere the data file lives.~/.open-brain/brain.sqlite3
OPEN_BRAIN_SOURCENoWritten to each note's source field.mcp

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
brain_saveA

Save a decision, bug fix, pattern, or lesson to a local knowledge base. Call this whenever you make a decision, fix a bug, learn something non-obvious, or the user corrects you. Write the content for a future agent with zero context about this session. Use state_key for current-value facts so a later save replaces the earlier value.

brain_searchA

Search the knowledge base by keyword. Matches exact words (with simple stemming), ranked by BM25, with an exact-phrase match on top. It does not match by meaning, so use the words the note probably contains: product, file, table, error-string and command names. Several guessed keywords in one query work well, because any word can match and notes with more of them rank higher. Use at session start to load context, and whenever a request may relate to earlier work.

brain_recentA

List the newest notes, optionally filtered by project or category. Use at session start for quick context.

brain_statsC

Counts by project and category, notes added this week, and how many are archived.

brain_update_projectA

Move every note from one project to another (or to no project). Use dry_run to see how many would move first.

brain_deleteA

Delete one note by its id or a unique id prefix (8+ characters). No undo. Refuses a prefix that matches more than one note. To replace a note instead, save the new one with SUPERSEDES .

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation5/5

Each tool maps to a distinct operation on the knowledge base: write (brain_save), keyword lookup (brain_search), recency listing (brain_recent), aggregate counts (brain_stats), bulk project reassignment (brain_update_project), and removal (brain_delete). The descriptions explicitly differentiate the two read paths (keyword/BM25 vs. newest-first), leaving little room for misselection.

Naming Consistency4/5

All tools share a predictable brain_ prefix and snake_case, with clear verb-based suffixes (save, search, update_project, delete). The only mild deviation is the use of noun/adjective forms in brain_recent and brain_stats, but the pattern remains readable and consistent.

Tool Count5/5

Six tools is a tight, well-scoped surface for a personal knowledge base — write, two read paths, stats, bulk maintenance, and delete. Every tool earns its place with no redundant or speculative operations.

Completeness4/5

The lifecycle is largely covered: save (with SUPERSEDES for replacement), search, recent, stats, project migration, and delete. Minor gaps exist — there is no direct fetch-note-by-id and no true in-place edit (only supersede), but agents can work around both via search and re-save.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues