Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port.3000
DATA_DIRNoOAuth state (auth.db), message cache (cache.db), media secret./data
TIMEZONENoIANA time zone for dates and day boundaries (e.g. America/Lima).UTC
WAHA_API_KEYYesWAHA API key. Also the OAuth login secret.
WAHA_API_URLYesBase URL of WAHA (internal URL when deployed next to it).
WAHA_SESSIONNoWAHA session name.default
CACHE_ENABLEDNoKeep a SQLite copy of read messages in DATA_DIR/cache.db.true
MEDIA_MAX_BYTESNoLargest file served by /media/:token (100 MiB).104857600
PUBLIC_BASE_URLYesPublic HTTPS URL of this server (http only for localhost).
CACHE_MAX_AGE_DAYSNoPrune cached messages older than N days (0 keeps them forever).0
STATS_MAX_MESSAGESNoPer-chat message cap; fan-out tools read up to 100 chats each.5000
CACHE_REFRESH_HOURSNoEach sync re-reads this window before the newest cached message.48
TRANSCRIPTION_MODELNoTranscription model id (e.g. openai/whisper-large-v3-turbo). Must be set together with TRANSCRIPTION_API_URL and TRANSCRIPTION_API_KEY.
TRANSCRIPTION_API_KEYNoAPI key of the transcription provider. Must be set together with TRANSCRIPTION_API_URL and TRANSCRIPTION_MODEL.
TRANSCRIPTION_API_URLNoOpenAI-compatible speech-to-text base URL (e.g. https://openrouter.ai/api/v1). Transcription is off unless TRANSCRIPTION_API_URL, TRANSCRIPTION_API_KEY and TRANSCRIPTION_MODEL are all set (setting only some of them is a startup error).
MEDIA_INLINE_MAX_BYTESNoLargest file returned inline (5 MiB); larger ones get a link.5242880
MEDIA_LINK_TTL_SECONDSNoLifetime of signed media links.600
TRANSCRIPTION_LANGUAGENoLanguage hint, lowercase ISO 639-1/639-2 code (e.g. es); omit to auto-detect.
TRANSCRIPTION_MAX_SECONDSNoLonger voice notes are not transcribed automatically.300
TRANSCRIPTION_MAX_PER_CALLNoNew automatic transcriptions per tool call (0 = only the transcribe_audio tool).20

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