Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_SINKNoLog destination: stderr, file, sqlite, mysql, or postgres.stderr
TDX_PATHNoPath to the Tongdaxin installation directory, used by the after-hours daily package tool.
LOG_LEVELNoLogging level. Logs are written to stderr so stdout only carries protocol/data output.INFO
PROXY_URLNoSingle proxy URL for all outbound requests, e.g. http://user:password@proxy.example.com:8080. Proxy is optional and disabled by default.
REDIS_URLNoRedis connection URL used for caching. When unset, the server automatically falls back to in-process caching (reported as degraded / QFSD-2001, which is expected).
ENABLE_MOOTDXNoEnable the optional mootdx data source (requires the sources-legacy extra).false
TUSHARE_TOKENNoToken that enables the optional Tushare data source. Not required for core data sources.
ENABLE_AKSHARENoEnable the optional akshare data source (macro, valuation history, ST history).false
ENABLE_IWENCAINoEnable the optional iwencai data source.false
ENABLE_TUSHARENoEnable the optional Tushare data source.false
FIELD_MAP_PATHNoPath to the field mapping configuration file (field aliases, hidden fields, default projections, tier overrides).field_map.toml
IWENCAI_API_KEYNoAPI key that enables the optional iwencai_search tool. Not required for core data sources.
PROXY_POOL_LISTNoSemicolon-separated proxy URLs or a JSON array of proxy nodes. Only read when PROXY_POOL_CONFIG_PATH does not exist.
PROXY_POOL_ENABLENoEnable the proxy pool. Disabled by default; must be explicitly set to true to activate.false
PROXY_POOL_CONFIG_PATHNoPath to the proxy pool node configuration file. If the file exists it takes precedence over PROXY_POOL_LIST.logs/proxy_pool.json

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