Telegram MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TELEGRAM_CHAT_ID | Yes | Numeric ID of the target chat / user. Required. | |
| TELEGRAM_BOT_TOKEN | Yes | Bot API token from @BotFather (format: 123456:ABC-DEF...). Required. |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| send_telegram_messageB | Sends a plain text message to the Telegram chat. Returns the message ID on success. |
| send_telegram_fileB | Sends a local file from the filesystem to Telegram as a document attachment. |
| send_telegram_file_directB | Creates a file from the provided content string and sends it directly to Telegram — no disk write needed. Supports utf-8 text and base64-encoded binary content. |
| get_telegram_messagesA | Fetches new text messages from the Telegram chat. Uses an internal offset to track which updates have already been seen, so each call only returns genuinely new messages. On the very first call after server start, all pending updates are returned. |
| send_telegram_photoB | Sends a local image file to Telegram, displayed as an inline photo with a large preview in the chat. |
| send_telegram_photo_directA | Sends a base64-encoded image directly to Telegram as an inline photo. Ideal for generated charts, diagrams, or screenshots that exist only in memory. |
| pin_telegram_messageB | Pins a previously sent message to the top of the Telegram chat so it stays visible. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
The send actions are mostly distinct by content type: message, file, photo, and pinning. The local-file vs _direct variants overlap conceptually, but their descriptions clearly differentiate disk-based sending from in-memory/base64 content.
All tools use consistent snake_case and follow a predictable verb_telegram_resource pattern (send_telegram_message, get_telegram_messages, pin_telegram_message). The _direct suffix is applied consistently to file and photo variants.
Seven tools are well-scoped for a Telegram chat integration: sending text, files, photos, fetching messages, and pinning. Each tool earns its place without excessive surface area.
Core messaging workflows are covered: send text/files/photos, fetch new text messages, and pin. Minor lifecycle operations such as edit, delete, unpin, or retrieving received media are missing, but agents can work around these gaps for most tasks.