Spomory
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLM_MODEL | No | LLM model to use. Optional; defaults to gpt-4o-mini. | gpt-4o-mini |
| HF_ENDPOINT | No | HuggingFace mirror endpoint, useful when huggingface.co is unreachable (e.g., behind the Great Firewall). | |
| LLM_API_KEY | Yes | API key for any OpenAI-compatible Chat Completions endpoint (OpenAI, DeepSeek, Qwen, etc.). Must be set at runtime. | |
| DATABASE_URL | No | Postgres connection URL. If set, uses the Postgres backend instead of local SQLite. | |
| LLM_BASE_URL | No | Base URL of the OpenAI-compatible API. Optional; defaults to OpenAI's endpoint. | |
| EMBEDDING_MODEL | No | Sentence-transformers model name for embeddings. Optional; defaults to BAAI/bge-m3. | BAAI/bge-m3 |
| MEMORY_CORE_DATA_DIR | No | Directory to store memory data. Optional; defaults to ~/.memory-core/. | ~/.memory-core/ |
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 | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_memoryB | Extract facts from |
| search_memoryC | Retrieve and assemble a natural-language context relevant to |
| forget_memoryA | Find the single fact that best matches This is the user-facing counterpart to the "true delete" backing
|
| forget_all_memoryA | Permanently delete the entire memory graph -- every entity and relation.
|
| get_graphB | Return the subgraph around |
| export_memoryB | Export the full memory graph as a JSON memory passport. |
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 targets a clear, distinct operation: add, graph lookup, semantic search, single-fact delete, full wipe, and export. The two delete tools are explicitly differentiated by scope, and get_graph vs search_memory are distinguished by input type (entity vs natural-language query) and output format.
All tool names follow the same lower_snake_case verb_noun pattern: add_, get_, search_, forget_, forget_all_, export_. The shared 'memory' base and the obvious 'forget_memory' / 'forget_all_memory' pair make the naming highly predictable.
Six tools is a well-scoped size for a memory-graph server, covering creation, retrieval, deletion, and export without redundancy or bloat. Each tool earns its place and the count sits comfortably in the ideal 3–15 range.
The core memory lifecycle is covered: add, retrieve (graph and semantic), delete single, delete all, and export. Minor gaps exist—there is no explicit update operation and no import counterpart to the export—but agents can work around these via add_memory and re-adding facts.