ai-brain-memory
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AI_BRAIN_VAULT | No | Path to the Obsidian Markdown vault |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| brain_search_memoryB | Cerca nella memoria a lungo termine usando FTS5 BM25 per trovare decisioni, architetture o fatti rilevanti. |
| brain_auto_retrieveB | Alias per brain_search_memory per auto-retrieval contestuale usando prompt/query con ranking FTS5 BM25 + recency. |
| brain_read_memoryB | Legge il contenuto completo e i metadati di una memoria dato il suo percorso (path) nel vault o ID deterministico. |
| brain_add_memoryB | Salva una nuova memoria nel vault con sanitizzazione anti-leak automatica e indicizzazione FTS5 immediata. |
| brain_memory_statsA | Restituisce metriche e statistiche aggregate sul database di memoria (conteggio per layer, stato WAL, dimensione DB). |
| brain_syncB | Sincronizza bidirezionalmente i file Markdown del vault con l'indice SQLite FTS5 (scansione ricorsiva, rilevamento modifiche via hash, rimozione note eliminate). |
| brain_auto_captureB | Alias per brain_add_memory per salvataggio autonomo di decisioni o conoscenze (accetta text o content e deriva il titolo se omesso). |
| brain_archive_memoriesA | Archivia esplicitamente in 40_Archive/ le memorie inattive o indicate (mai invocata implicitamente durante search/read/add/sync). |
| brain_crew_log_writeB | Scrive un entry di handoff nel Crew Logbook (50_Memory/Working/crew_log.md). Registra agente, attività, file toccati e punti aperti per il prossimo agente. Sanitizzazione zero-leak automatica. |
| brain_log_handoffA | Writes a handoff entry to the Crew Logbook (50_Memory/Working/crew_log.md). Records agent, activity, files, and open items for the next agent. Alias for brain_crew_log_write with English parameter names. |
| brain_read_crew_logA | Reads the most recent entries from the Crew Logbook (50_Memory/Working/crew_log.md). Alias for brain_crew_log_read with English parameter names. Returns entries in reverse chronological order (most recent first). |
| brain_crew_log_readA | Legge gli entry più recenti dal Crew Logbook (50_Memory/Working/crew_log.md). Restituisce entries in ordine cronologico inverso (più recenti prima). |
| brain_lintA | Esegue un controllo di integrità read-only sul vault (wikilink rotti, note orfane, frontmatter incompleto e disallineamenti superseded). |
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 13 tools
Four tools are explicit aliases of others (brain_auto_retrieve=brain_search_memory, brain_auto_capture=brain_add_memory, brain_log_handoff=brain_crew_log_write, brain_read_crew_log=brain_crew_log_read), giving the agent no principled way to choose between duplicates that differ only in parameter language. The remaining tools are distinct, but nearly a third of the surface is redundant.
All tools use a brain_ snake_case prefix, which is readable, but the word order varies (brain_memory_stats vs brain_search_memory vs brain_crew_log_write vs brain_read_crew_log), mixing prefix_object_verb and prefix_verb_object patterns. The same operation is also named two different ways (crew_log_write vs log_handoff), undermining predictability.
13 tools is within a reasonable range for a memory vault server, but four of them are pure aliases, so the effective surface is ~9 functions padded out with duplicates. The inflation is borderline rather than extreme.
The surface covers search, read, add, sync, archive, stats, lint, and crew-log handoff well, but no update/edit operation exists for an existing memory, leaving a notable gap in the lifecycle. Archiving serves as a soft-delete, but revision of stored content is a dead end.