Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OLLAMA_URLNoOllama API URLhttp://localhost:11434
GEMINI_API_KEYNoGoogle Gemini API key
SUMMARIZE_MODELNoModel name
TELEGRAM_API_IDYesTelegram API ID
ANTHROPIC_API_KEYNoAnthropic API key
TELEGRAM_API_HASHYesTelegram API Hash
SUMMARIZE_PROVIDERNoLLM provider for summarizationsampling
SUMMARIZE_BATCH_TOKENSNoTokens per summarization batch8000
TELEGRAM_ALLOWED_PATHSNoAllowed directories for backupsOS app data dir
TELEGRAM_RATE_LIMIT_RPSNoRPS ceiling for history-fetching calls to Telegram. Exceeding Telegram's FLOOD_WAIT thresholds pauses all tools.0
TELEGRAM_MEDIA_MAX_BYTESNoMax bytes GetMedia will download per call (cap to avoid OOM on large attachments)52428800
TELEGRAM_PINNED_REFRESH_SECONDSNoPolling interval (seconds) for the pinned-chat resource watcher. 0 disables the watcher.30

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tolmachov/mcp-telegram'

If you have feedback or need assistance with the MCP directory API, please join our Discord server