Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CHAT_IDYesYour Telegram chat ID.
FEED_PATHNoWhere the incoming feed is written. Point it outside `/tmp` to keep history across reboots.$DOWNLOAD_DIR/incoming.jsonl
DOWNLOAD_DIRNoWhere to save media files./tmp/telegram-mcp
OPENAI_API_KEYNoFor audio transcription and video processing.
SEND_FILE_DENYNoComma-separated glob patterns `send_file` refuses (defaults cover `.env`, `.mcp.json`, SSH keys, `*.pem`, `secrets*`, `credentials*`).
TELEGRAM_TOKENYesBot token from BotFather.
ALLOWED_USER_IDSNoComma-separated Telegram user IDs allowed to drive the session. Set this if `CHAT_ID` is a group — otherwise every group member can.
RETAIN_DOWNLOAD_DAYSNoDelete received media older than this many days, once at startup (`0` disables).7

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