Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
embedderNoEmbedder backend, e.g. onnx or hash fallback.onnx
api_tokenYesLong bearer token for API/MCP authentication. MCP requests must send Authorization: Bearer <api_token>; Home Assistant ingress does not need a token.
nas_rootsNoExplicit NAS path(s) to index, e.g. /share/nas. Leave empty to disable NAS indexing. Do not set to all of /share.
batch_sizeNoEmbedding batch size. Lower on RAM pressure.4
chat_modelNoChat model preset: gemma3-1b, gemma3-4b, org/repo:file.gguf, or mock.gemma3-1b
chat_n_ctxNoChat context size. Keep small on Raspberry Pi.2048
chat_top_kNoNumber of retrieved chunks included in the RAG prompt.6
throttle_sNoIndexing throttle in seconds. Increase if Home Assistant becomes slow.0.05
max_file_mbNoMaximum file size to index in MB.32
chat_enabledNoEnable RAG chat. Set false to use search only.true
nas_smb_hostNoSMB server host, e.g. 192.168.1.x. Required only when nas_smb_enabled is true.
onnx_threadsNoONNX thread count. Lower to leave CPU for Home Assistant.2
embedding_dimNoEmbedding dimension: 128, 256, 512, or 768.256
chat_n_threadsNoChat thread count. Leave cores for Home Assistant.2
max_seq_lengthNoMaximum sequence length for embeddings.512
nas_smb_sharesNoSMB share name(s) to read, e.g. home. Required only when nas_smb_enabled is true.
chat_max_tokensNoMaximum answer length in tokens.512
itslearning_urlNoit's learning base URL, e.g. https://<school>.itslearning.com. Required only when itslearning_enabled is true.
nas_smb_enabledNoEnable SMB fallback when no Home Assistant network mount is available.false
chat_temperatureNoChat temperature. Lower is more factual.0.3
nas_smb_passwordNoSMB password. Required only when nas_smb_enabled is true.
nas_smb_usernameNoSMB username. Required only when nas_smb_enabled is true.
itslearning_enabledNoEnable daily it's learning sync.false
itslearning_passwordNoit's learning password. Required only when itslearning_enabled is true.
itslearning_usernameNoit's learning username. Required only when itslearning_enabled is true.
chat_idle_unload_minutesNoIdle minutes before unloading the chat model from RAM; 0 keeps it loaded.15

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources