Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog granularity (e.g. INFO, DEBUG)INFO
POSTGRES_URLYesPostgreSQL connection string (SQLAlchemy async URL)
RERANKER_URLNoURL of the reranker endpointhttp://localhost:8003
GRAPH_ENABLEDNoEnable the relationship graph (Neo4j)false
MCP_HTTP_TOKEENNoBearer token for MCP HTTP endpoint (stored in private file)
BRAIN_MCP_PROFILENoMCP tool catalog profile: 'compact' (default) or 'native'compact
EMBEDDING_DIMENSIONNoVector dimension for embeddings (<=2000, pgvector HNSW ceiling)1536
BRAIN_RERANK_API_KEYNoAPI key for external reranker service (stored in private file)
BRAIN_RERANK_BACKENDNoReranker backend: 'shim' (default) or 'cohere'shim
BRAIN_EMBEDDING_MODELNoModel name sent by the openai backend (e.g. 'qodo')
EMBEDDING_SERVICE_URLNoURL of the local unified embedding endpointhttp://localhost:8003
MCP_HTTP_DREAM_TOKEENSNoBearer tokens for dream-mode HTTP endpoint (stored in private file)
BRAIN_EMBEDDING_API_KEYNoAPI key for external embedding service (stored in private file)
BRAIN_EMBEDDING_BACKENDNoBackend for embeddings: 'shim' (default) or 'openai'shim
GRAPH_LEDGER_WRITE_ENABLEDNoEnable writes to the graph ledgerfalse
BRAIN_EMBEDDING_QUERY_PREFIXNoQuery prefix for asymmetric embedding models (e.g. 'query: ')
BRAIN_EMBEDDING_DOCUMENT_PREFIXNoDocument prefix for asymmetric embedding models; change requires full re-embed

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
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
brain_session_startA

Start or replay a concurrent session from an explicit user command.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_session_captureA

Attach durable artifacts from an explicit user command — to repair or refine.

No longer a compulsory ritual. With derived capture armed, artifacts created during the session are attributed without this call, and end no longer demands a receipt. What this tool is for now: attaching something the derivation could not see — created outside the window, on another connection, or in another project — and saying so on the record.

It never steals: an artifact already attributed stays where it is.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_session_heartbeatA

Refresh an open session from an explicit user command.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_session_endA

End a session from an explicit user command, on judgement alone.

nothing_to_capture_reason is now OPTIONAL. The old rule — a non-empty ledger XOR a written reason — measured whether the client had DECLARED its work. Derived capture feeds that signal from the server, and a check is hollow the moment the thing it checks can influence its own signal; worse, it made a session whose ledger the server had filled impossible to close. Give a reason if you have one to give; a blank one is still refused, because saying nothing and saying " " are not the same act.

What end still requires is what the server cannot produce for you: a summary and a next focus. It REPORTS unattributed_in_window — artifacts of this project created during the session that belong to no ledger — as a measure, never a gate. It cannot refuse a close, and a session cannot improve it by doing nothing.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_session_listA

List sessions only in response to an explicit user command.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_session_resumeB

Resume an open session from an explicit user command.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_session_abandonB

Abandon a session only from an explicit user command.

An agent tracer is the only session the server opens or closes on its own; no hook and no auto-close may invoke this lifecycle boundary.

brain_find_toolA

Search for tools using natural language.

Returns matching tool definitions ranked by relevance, in the same format as list_tools.

brain_call_toolA

Call a tool by name with the given arguments.

Use this to execute tools discovered via search_tools.

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 9 tools

Disambiguation3/5

Most session tools map to distinct lifecycle states, but resume and heartbeat both target an open session with no clear boundary between them, and start's 'replay' capability also blurs with resume. The find_tool/call_tool pair is clearly distinct, which keeps the set usable.

Naming Consistency4/5

All tools share the brain_ prefix and snake_case, and the seven session tools follow a consistent brain_session_<verb> pattern. The two meta-tools break that pattern with brain_find_tool and brain_call_tool, so the set is mostly consistent but not fully uniform.

Tool Count5/5

Nine tools is well within the ideal range, and each tool maps to a distinct session lifecycle action or a general tool-search/call capability. Nothing feels redundant or bloated.

Completeness5/5

The session lifecycle is well covered: start, resume, heartbeat, capture, end, abandon, and list, with artifact attribution handled. Adding the meta find/call tools rounds out the surface with no obvious dead ends.

Maintenance

ActivityActive
ResponsivenessNo issues