Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THOTH_DATA_DIRNoData directory for SQLite database~/.thoth
THOTH_HTTP_PORTNoHTTP REST API port7438
THOTH_HYDE_MODELNoHyDE generation model idonnx-community/Qwen2.5-Coder-0.5B-Instruct
THOTH_HYDE_ENABLEDNoEnable HyDE dual-input semantic query expansiontrue
THOTH_KG_LLM_MODELNoKG LLM model idonnx-community/Qwen2.5-Coder-0.5B-Instruct
THOTH_HTTP_DISABLEDNoDisable HTTP REST API bridgefalse
THOTH_HYDE_BASE_URLNoOptional HyDE provider base URLunset
THOTH_HYDE_PROVIDERNoHyDE generation provider (transformers_local, ollama, lmstudio)transformers_local
THOTH_KG_LLM_ENABLEDNoEnable optional LLM KG enrichment for long observationsfalse
THOTH_PREVIEW_LENGTHNoSearch result preview length300
THOTH_EMBEDDING_MODELNoEmbedding model idnomic-ai/nomic-embed-text-v1.5
THOTH_HYDE_TIMEOUT_MSNoHyDE timeout before raw-query-only fallback4000
THOTH_KG_LLM_BASE_URLNoKG LLM provider base URL for remote providersunset
THOTH_KG_LLM_PROVIDERNoKG LLM provider (transformers_local, ollama, lmstudio)transformers_local
THOTH_KG_LLM_TIMEOUT_MSNoKG LLM timeout before deterministic-only fallback8000
THOTH_EMBEDDING_BASE_URLNoBase URL for remote/local API providersprovider-specific
THOTH_EMBEDDING_PROVIDERNoEmbedding provider (transformers_local, ollama, lmstudio)transformers_local
THOTH_MAX_CONTENT_LENGTHNoMax content length (warns, never truncates)100000
THOTH_MAX_SEARCH_RESULTSNoMax search results returned20
THOTH_MAX_CONTEXT_RESULTSNoMax observations in context response20
THOTH_EMBEDDING_DIMENSIONSNoOptional embedding dimensions overrideinferred for known models
THOTH_DEDUPE_WINDOW_MINUTESNoRolling deduplication window15
THOTH_KG_LLM_MIN_CONTENT_CHARSNoMinimum observation size that triggers LLM enrichment12000

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
mem_saveA

Save unprompted as soon as decisions, root causes, failed approaches, or non-obvious conventions are verified. Save durable discoveries and continuation handoffs. Direct promoted memory (not handoff): memory.content uses labeled Result, Rationale, Scope, Caveat / safe action lines; omit inapplicable Scope/Caveat and never invent details. Handoffs: Objective, Completed, First pending action, Blockers, Key files/checks; require a stable workstream topic_key; close a finished handoff by saving its outcome under the same topic_key. Send exactly one branch: evidence, observation, observation_review, or observation_promotion. Supply root_session_key and harness together or omit both.

mem_recallB

Call at the start of non-trivial repository work before exploring, with task key terms, unprompted. Search promoted project memory before expanding selected records.

mem_contextC

Build bounded handoff-first continuity. project_key required; root_session_key and harness together for session context, neither for project context.

mem_getB

Expand one selected record from a prior tool result.

mem_projectC

Read-only project views. list: no fields required; returns at most 256 exact aliases/project with aliasCount/aliasesTruncated. timeline: project_key required; accepts only since, until, cursor, limit, budget_chars. briefing/summaries/observations: project_key required; optional session filter selects summaries/observations, not briefing's project-wide memories. history: id required from a prior result.

mem_sessionB

Record verified root lifecycle events, never ordinary saves. guide_post_compact content carries host compaction text.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 6 tools

Disambiguation4/5

mem_save and mem_session both persist information, but mem_session is explicitly limited to lifecycle events. The read-side tools (mem_recall, mem_context, mem_project) have overlapping search/context/view roles, which could cause misselection, though descriptions provide clear trigger guidance.

Naming Consistency4/5

All tools use a consistent mem_ prefix in snake_case, making names predictable and readable. Minor inconsistency exists because some names are verbs (save, get, recall) and others are nouns (context, project, session), but the pattern is still coherent.

Tool Count5/5

Six tools is well within the ideal range for a focused memory server. Each tool maps to a distinct stage of the memory lifecycle—save, recall, expand, context building, project inspection, and session events—without obvious redundancy.

Completeness3/5

The surface covers saving, searching, retrieval, context building, project views, and session lifecycle. However, there is no explicit update or delete/forget operation for memories, and listing memories beyond search results or project views is limited, which may hinder correcting or pruning stored knowledge.

Maintenance

ActivityActive
ResponsivenessNo issues