Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TELEGRAM_PHONEYesPhone number for the Telegram account.
TELEGRAM_API_IDYesTelegram API ID obtained from https://my.telegram.org/apps.
TELEGRAM_API_HASHYesTelegram API hash obtained from https://my.telegram.org/apps.
TELEGRAM_READ_ONLYNoWhen true, enables the read-only safety guard and blocks mutating tools.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Personal Telegram controller via Telethon MTProto. Use list_chats / list_folders / search_chats to discover chats, get_messages / search_messages_global to read messages, send_message / send_file / forward_messages to send content, and download_media to save files from Telegram channels or chats.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
auth_statusB

Check whether the Telegram personal account session is authorized.

auth_send_codeC

Send a Telegram login verification code to your phone/Telegram app.

auth_verify_codeA

Complete Telegram login with the verification code (and optional 2FA cloud password).

get_meA

Get profile information of the currently logged-in Telegram user.

list_foldersA

List custom Telegram chat folders (filters) such as work, courses, graphics, etc.

get_folder_chatsA

List all chats/channels/groups inside a custom Telegram folder (by folder title like 'Work' or folder ID).

list_chatsC

List recent Telegram dialogs/chats. chat_type: 'all', 'user', 'bot', 'group', or 'channel'.

search_chatsB

Search your Telegram dialogs and global directory by name or @username.

get_chat_infoB

Get detailed info about a user, group, or channel by ID, @username, or chat title.

get_messagesA

Read messages from a chat/group/channel ('me', @username, numeric ID, or chat title). Optionally filter messages inside that chat using 'search'.

search_messages_globalC

Search messages across ALL your Telegram chats, groups, and channels.

send_messageC

Send a text message to a user, group, channel, or 'me' (Saved Messages). parse_mode: 'md' (Markdown), 'html', or 'none'.

send_fileC

Upload and send a local file, image, video, or document to a Telegram chat or 'me'.

download_mediaC

Download the attached file/photo/video/archive from a specific message_id in target chat.

forward_messagesC

Forward one or more messages from one chat to another (e.g. to 'me' Saved Messages).

edit_messageC

Edit the text of a message you previously sent.

delete_messagesB

Delete one or more messages in a chat.

mark_as_readC

Mark unread messages in a chat/group/channel as read.

pin_messageC

Pin a message in a chat/group/channel.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 19 tools

Disambiguation4/5

Most tools target a distinct resource+action pair (send/edit/delete/forward/pin messages), and descriptions clarify the boundaries between list_chats, search_chats, and get_chat_info. Minor overlap remains between search_chats and get_chat_info (both resolve a chat by name/@username) and between get_messages and search_messages_global, but the wording makes the intended selection clear.

Naming Consistency4/5

All names are snake_case and follow a verb_noun pattern (send_message, edit_message, delete_messages, list_chats, get_chat_info), with an auth_ namespace prefix used consistently for the three login tools. The only deviations are the noun-phrase auth_status and the terse get_me, which are minor and readable.

Tool Count4/5

At 19 tools the set is on the heavy side but each tool maps to a real operation in a personal Telegram client (auth, chats, folders, messages, media). No obviously redundant tools inflate the count, though a few message-management operations could arguably be collapsed.

Completeness4/5

Core messaging lifecycle is well covered: send text/file, read, search (per-chat and global), edit, delete, forward, pin, mark read, and media download, plus auth and folder browsing. Gaps exist around chat membership operations (join/leave), contact/participant listing, reactions, and folder creation/deletion, but agents can work around most of these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues