MemoryHub
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --agent | No | Agent identity used to select the private <agent>_memory.db when running with --memory-dir. | |
| --db-path | No | Path to a single database used by the server instead of the shared/private split. With neither --db-path nor --memory-dir, an ephemeral in-memory database is used. | |
| --memory-dir | No | Local directory used to store the shared_memory.db and <agent>_memory.db databases. |
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 |
|---|---|
| mem_listA | Zwraca stronicowany spis lekkich metadanych wpisów (bez pola content) z filtrami projektu, statusu i zasięgu (tylko baza wspólna oraz własna prywatna bieżącego agenta), w stabilnym porządku (scope ASC, id ASC), wraz z licznikami i raportem duplicate_ids przy kolizji ID. OGRANICZENIE: paginacja offset/limit przedstawia bieżący stan i nie gwarantuje zamrożonej migawki, jeśli baza zmienia się między wywołaniami stron. |
| mem_search_indexB | Etap 1 Smart Search (Progressive Disclosure): przeszukuje bazę pamięci i zwraca lekki indeks pasujących wpisów z filtrem fleksyjnym dla języka polskiego. |
| mem_get_detailsA | Etap 2 Smart Search: pobiera pełną treść dla wskazanych identyfikatorów. W trybie scope='all' (domyślnym) zwraca wszystkie dopasowane rekordy z obu baz (w tym oba rekordy przy kolizji ID między shared i private, oznaczone zakresem). |
| mem_saveB | Zapisuje nowy wpis do pamięci długoterminowej z heurystyczną walidacją P04 pól i tagów (druga linia obrony; nie zastępuje wykluczenia źródeł). |
| mem_deprecateA | Oznacza wpis jako zastąpiony/historyczny bez fizycznego usuwania i bez fałszowania daty weryfikacji. Jeśli ten sam item_id istnieje w bazie shared i private, bez jawnego parametru scope operacja kończy się błędem niejednoznaczności. |
| mem_purgeA | Usuwa wpis z tabeli SQLite (secure_delete włączone) oraz indeksu FTS5. Nie gwarantuje wyczyszczenia struktur cieni FTS, nieskonsolidowanego WAL ani zewnętrznych kopii/migawek. Jeśli ten sam item_id istnieje w bazie shared i private, bez jawnego parametru scope operacja kończy się błędem niejednoznaczności. |
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 6 tools
Each tool has a distinct role: listing metadata, two-stage progressive search, save, soft-deprecate, and hard purge. The only soft overlap is mem_list vs mem_search_index, both returning lightweight entry indexes, but filters vs. inflection-aware matching distinguish them adequately.
All tools share a consistent mem_ snake_case prefix with verb-style suffixes (mem_save, mem_list, mem_purge, mem_deprecate). Minor deviation: two tools use verb_noun (mem_search_index, mem_get_details) while others are verb-only, but the convention remains readable and predictable.
Six tools is a tight, well-scoped set covering the memory lifecycle plus a deliberate two-phase search design. No tool appears redundant or padded.
Coverage spans create (mem_save), read (mem_list, mem_search_index, mem_get_details), soft-update (mem_deprecate), and delete (mem_purge). The notable gap is an explicit in-place content update/edit, forcing agents to deprecate-and-recreate; otherwise the surface is coherent.