Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_FETCHNoMaximum number of records read per knowledge base. CLI equivalent: --max-fetch <n>.1000
DEFAULT_TOP_KNoMaximum number of returned results. CLI equivalent: --top-k <n>.20
EMBEDDING_URLYesEmbedding API URL. Required. CLI equivalent: --embed-url <url>.
DEFAULT_KB_NAMENoLimit search to the knowledge base with the specified name. CLI equivalent: --kb-name <str>.
EMBEDDING_MODELYesVector embedding model ID. Required. CLI equivalent: --embed-model <id>.
DEFAULT_THRESHOLDNoMinimum similarity threshold (0-1). CLI equivalent: --threshold <n>.0.5
EMBEDDING_API_KEYNoAPI token for the embedding API. Can be left empty when using a local model. CLI equivalent: --embed-api-key.
EMBEDDING_DIMENSIONYesVector dimension, which must match the model's actual output. Required. CLI equivalent: --embed-dim <n>.
CHERRYSTUDIO_KB_PATHNoRoot directory path of the knowledge base, overriding the auto-detected default. CLI equivalent: --kb-path <dir>.auto-detected

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