Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for the HTTP server (default 8080).
KA_SINKNoQuery log sink, e.g. `firestore` or `none`.
KA_CACHENoPath to the in-process LRU cache storage.
KA_CORPUSNoPath to the corpus used by the knowledge base.
KA_BACKENDNoBackend implementation: `offline` or `gemini`.offline
KA_CHUNKERNoChunker implementation: `structure` or `llm`.structure
KA_LOG_LEVELNoLog level for structured logging.
KA_RETRY_MAXNoMaximum number of retries (only for 429/503).1
KA_CACHE_SIZENoIn-process LRU cache size.2048
KA_TAU_ANSWERNoConfidence threshold for answering rather than abstaining.0.45
KA_EMBED_MODELNoEmbedding model name used for the Gemini backend.text-embedding-005
MCP_AUTH_TOKENNoOptional token expected in the `X-MCP-Token` header for MCP requests.
KA_GEMINI_MODELNoGemini model name used for the Gemini backend.gemini-2.5-flash
KA_RETRY_BUDGETNoRetry budget fraction.0.10
KA_PRICE_IN_PER_MNoInput price per million tokens used for reporting.
KA_TAU_EARLY_EXITNoConfidence threshold for the confidence-gated early exit.0.9
KA_PRICE_OUT_PER_MNoOutput price per million tokens used for reporting.
KA_TIMEOUT_EMBED_SNoTime budget in seconds for the embedding stage.2
MCP_MAX_BODY_BYTESNoMaximum allowed MCP request body size in bytes.1048576
KA_ENFORCE_TIMEOUTSNoWhether to enforce stage timeouts. `auto` means on for `gemini`.auto
KA_TIMEOUT_EXPAND_SNoTime budget in seconds for the query expansion stage.5
KA_TIMEOUT_RERANK_SNoTime budget in seconds for the reranking stage.8
MCP_ALLOWED_ORIGINSNoOrigin allow-list for MCP HTTP requests.
GOOGLE_CLOUD_PROJECTNoGoogle Cloud project ID, required for the Vertex-backed path (`KA_BACKEND=gemini`) and for `KA_SINK=firestore`.
KA_BREAKER_THRESHOLDNoCircuit breaker failure threshold.5
GOOGLE_CLOUD_LOCATIONNoGoogle Cloud location/region.us-central1
KA_BREAKER_COOLDOWN_SNoCircuit breaker cooldown in seconds.15
KA_REQUEST_DEADLINE_SNoOverall request deadline in seconds.30
KA_RETRY_BASE_DELAY_SNoBase retry delay in seconds.0.2
KA_TIMEOUT_GENERATE_SNoTime budget in seconds for the generation stage.10
KA_FIRESTORE_COLLECTIONNoFirestore collection name used when `KA_SINK=firestore`.

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