Skip to main content
Glama
Telegram MCP Server

Telegram MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TELEGRAM_CHAT_IDYesNumeric ID of the target chat / user. Required.
TELEGRAM_BOT_TOKENYesBot 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues