Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENGRAM_DBNoSQLite database path~/.engram/memory.db
ENGRAM_EMBEDDING_URLNoOllama base URL for embeddingshttp://localhost:11434

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
remember

Store a memory entry for a session. Embeddings and graph extraction happen automatically.

recall

Retrieve relevant memories via semantic search (falls back to keyword). Searches working + long_term tiers. Pass userId to blend in cross-session user facts.

history

Get recent conversation history for a session in chronological order.

forget

Delete session memories. Delete all, one by ID, or entries before a date.

stats

Memory statistics for a session — total, by role, by tier (working/long_term/archived), graph counts.

consolidate

Consolidate old working memories into dense long-term summaries via LLM. Archives originals.

graph

Query the knowledge graph for an entity — returns relationships and source memories. Requires ENGRAM_GRAPH=1.

remember_user

Store a user-scoped memory that persists across all sessions. Use for preferences, identity, long-term facts.

recall_user

Recall user-scoped memories — works from any session context.

forget_user

Delete user-scoped memories.

consolidate_user

Consolidate user-scoped working memories into long-term summaries.

user_stats

Memory statistics for a user — total, by role, by tier.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cartisien/engram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server