Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GROQ_API_KEYNoAPI key for the Groq provider.
OLLAMA_API_KEYNoAPI key for the Ollama provider.
TOKENSAVE_MODELNoWorker model ID. Defaults to the chosen provider's preset model.
DEEPSEEK_API_KEYNoAPI key for the DeepSeek provider.
TOKENSAVE_LEDGERNoPath to the local ledger file used by the stats command.~/.token-save/ledger.jsonl
TOKENSAVE_API_KEYNoOverrides the preset's key variable.
TOKENSAVE_TIMEOUTNoTimeout in seconds for each worker model call.600
OPENROUTER_API_KEYNoAPI key for the OpenRouter provider.
TOKENSAVE_BASE_URLNoBase URL for any OpenAI-compatible endpoint. Defaults to the chosen provider's preset endpoint.
TOKENSAVE_PROVIDERNoProvider preset. Default is 'ollama'. One of: ollama, openrouter, deepseek, groq, local.ollama
TOKENSAVE_HOOK_MODENoHook enforcement mode. 'block' prevents reads over the threshold, 'warn' allows them but flags the cost.block
TOKENSAVE_MIN_LINESNoMinimum line count for the tool's hook threshold and 'too small' warnings.350
TOKENSAVE_NO_LEDGERNoSet to '1' or 'true' to disable local ledger recording.false
TOKENSAVE_MAX_RETRIESNoNumber of retries on transient failures.4
TOKENSAVE_HOOK_MAX_BYTESNoMaximum file size in bytes for the hook. Catches minified files even if line count is low.100000
TOKENSAVE_MAX_CONCURRENCYNoMaximum number of concurrent worker calls.3
TOKENSAVE_MAX_CORPUS_BYTESNoMaximum total size in bytes for a single bulk_read request.2000000

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