Skip to main content
Glama
Telegram MCP Server

Telegram MCP Server

by TONresistor

Telegram MCP Server

TypeScript MCP License: MIT npm

Production-ready MCP server for the complete Telegram Bot API. 162 methods with token-optimized meta mode (~157 tokens vs ~55,000).

Highlights

  • Complete API coverage: All 162 Telegram Bot API methods

  • Token efficient: Meta mode reduces context by 99.7%

  • Production hardened: Circuit breaker, rate limiting, retries with backoff

  • Observable: Prometheus metrics, structured logging, health checks

  • Type safe: Full TypeScript with Zod validation

Related MCP server: agent-telegram-mcp

Installation

npm install @tonresistor/telegram-mcp

Or clone and build from source:

git clone https://github.com/TONresistor/telegram-mcp.git
cd telegram-mcp && npm install && npm run build

Quick Start

Get your bot token from @BotFather, then add to your MCP config:

{
  "mcpServers": {
    "telegram": {
      "command": "node",
      "args": ["/path/to/build/index-meta.js"],
      "env": {
        "TELEGRAM_BOT_TOKEN": "your_token_here"
      }
    }
  }
}

Usage Modes

Mode

Entry Point

Tools

Best For

Meta (recommended)

index-meta.js

2

Production: minimal token usage

Standard

index.js

161

Development: direct tool access

Meta mode exposes just 2 tools:

  • telegram_find: Search methods by name or category

  • telegram_call: Execute any Telegram API method

Configuration

Variable

Default

Description

TELEGRAM_BOT_TOKEN

required

Bot token from BotFather

LOG_LEVEL

info

debug / info / warning / error / critical

REQUEST_TIMEOUT

30000

Request timeout in ms (5000-120000)

MAX_RETRIES

3

Retry attempts (0-10)

RATE_LIMIT_PER_MINUTE

30

Global rate limit (1-60)

HEALTH_PORT

—

Enable health endpoints (/health, /metrics)

Features

Resilience

  • Circuit breaker: Opens after 5 failures, auto-recovers after 30s

  • Rate limiting: Global + per-chat (respects Telegram limits)

  • Retries: Exponential backoff with jitter

Observability

  • Prometheus metrics: Request counts, latencies, error rates

  • Health checks: Kubernetes-ready readiness/liveness probes

  • Structured logging: JSON format with automatic secret redaction

API Reference

All 161 Telegram Bot API methods organized by category.

Method

Description

sendMessage

Send text message

sendPhoto

Send photo

sendVideo

Send video

sendAudio

Send audio file

sendDocument

Send document/file

sendAnimation

Send GIF animation

sendVoice

Send voice message

sendVideoNote

Send video note (round video)

sendLocation

Send location

sendVenue

Send venue/place

sendContact

Send phone contact

sendPoll

Send poll/survey

sendDice

Send animated dice

sendChatAction

Send typing indicator

sendMediaGroup

Send media album

sendPaidMedia

Send paid media

sendMessageDraft

Stream partial message (AI)

forwardMessage

Forward message

forwardMessages

Forward multiple messages

copyMessage

Copy message

copyMessages

Copy multiple messages

sendSticker

Send sticker

sendChecklist

Send checklist (business)

Method

Description

getChat

Get chat info

getChatMember

Get member info

getChatMemberCount

Get member count

getChatAdministrators

List administrators

banChatMember

Ban user

unbanChatMember

Unban user

restrictChatMember

Restrict user

promoteChatMember

Promote to admin

setChatAdministratorCustomTitle

Set admin title

setChatPermissions

Set default permissions

setChatTitle

Set chat title

setChatDescription

Set chat description

setChatPhoto

Set chat photo

deleteChatPhoto

Delete chat photo

pinChatMessage

Pin message

unpinChatMessage

Unpin message

unpinAllChatMessages

Unpin all messages

leaveChat

Leave chat

exportChatInviteLink

Generate invite link

createChatInviteLink

Create invite link

editChatInviteLink

Edit invite link

revokeChatInviteLink

Revoke invite link

approveChatJoinRequest

Approve join request

declineChatJoinRequest

Decline join request

banChatSenderChat

Ban channel

unbanChatSenderChat

Unban channel

setChatStickerSet

Set sticker set

deleteChatStickerSet

Delete sticker set

createChatSubscriptionInviteLink

Create subscription link

editChatSubscriptionInviteLink

Edit subscription link

Method

Description

editMessageText

Edit text

editMessageCaption

Edit caption

editMessageMedia

Edit media

editMessageReplyMarkup

Edit keyboard

editMessageLiveLocation

Edit live location

stopMessageLiveLocation

Stop live location

stopPoll

Stop poll

deleteMessage

Delete message

deleteMessages

Delete multiple messages

Method

Description

setMyCommands

Set commands

getMyCommands

Get commands

deleteMyCommands

Delete commands

setMyName

Set bot name

getMyName

Get bot name

setMyDescription

Set description

getMyDescription

Get description

setMyShortDescription

Set short description

getMyShortDescription

Get short description

setChatMenuButton

Set menu button

getChatMenuButton

Get menu button

setMyDefaultAdministratorRights

Set default admin rights

getMyDefaultAdministratorRights

Get default admin rights

getUserProfilePhotos

Get user photos

getFile

Get file info

setUserEmojiStatus

Set emoji status

Method

Description

getBusinessConnection

Get connection info

readBusinessMessage

Mark as read

deleteBusinessMessages

Delete messages

setBusinessAccountName

Set account name

setBusinessAccountUsername

Set username

setBusinessAccountBio

Set bio

setBusinessAccountProfilePhoto

Set profile photo

removeBusinessAccountProfilePhoto

Remove photo

setBusinessAccountGiftSettings

Set gift settings

getBusinessAccountStarBalance

Get star balance

transferBusinessAccountStars

Transfer stars

postStory

Post story

editStory

Edit story

deleteStory

Delete story

repostStory

Repost story

approveSuggestedPost

Approve post

declineSuggestedPost

Decline post

Method

Description

getStickerSet

Get sticker set

getCustomEmojiStickers

Get custom emojis

uploadStickerFile

Upload sticker

createNewStickerSet

Create set

addStickerToSet

Add to set

setStickerPositionInSet

Move position

deleteStickerFromSet

Delete from set

replaceStickerInSet

Replace sticker

setStickerEmojiList

Set emojis

setStickerKeywords

Set keywords

setStickerMaskPosition

Set mask position

setStickerSetTitle

Set title

setStickerSetThumbnail

Set thumbnail

setCustomEmojiStickerSetThumbnail

Set emoji thumbnail

deleteStickerSet

Delete set

Method

Description

getForumTopicIconStickers

Get icon stickers

createForumTopic

Create topic

editForumTopic

Edit topic

closeForumTopic

Close topic

reopenForumTopic

Reopen topic

deleteForumTopic

Delete topic

unpinAllForumTopicMessages

Unpin all

editGeneralForumTopic

Edit General

closeGeneralForumTopic

Close General

reopenGeneralForumTopic

Reopen General

hideGeneralForumTopic

Hide General

unhideGeneralForumTopic

Unhide General

unpinAllGeneralForumTopicMessages

Unpin General

Method

Description

answerInlineQuery

Answer inline query

answerCallbackQuery

Answer callback

answerWebAppQuery

Answer Web App

savePreparedInlineMessage

Save prepared message

setMessageReaction

Set reaction

getUserChatBoosts

Get user boosts

Method

Description

sendInvoice

Send invoice

createInvoiceLink

Create invoice link

answerShippingQuery

Answer shipping

answerPreCheckoutQuery

Answer pre-checkout

getStarTransactions

Get transactions

refundStarPayment

Refund payment

editUserStarSubscription

Edit subscription

getMyStarBalance

Get balance

Method

Description

getAvailableGifts

Get available gifts

sendGift

Send gift

giftPremiumSubscription

Gift Premium

getUserGifts

Get user gifts

getChatGifts

Get chat gifts

getBusinessAccountGifts

Get business gifts

convertGiftToStars

Convert to stars

upgradeGift

Upgrade gift

transferGift

Transfer gift

Method

Description

sendGame

Send game

setGameScore

Set score

getGameHighScores

Get high scores

Method

Description

getUpdates

Get updates (polling)

setWebhook

Set webhook

deleteWebhook

Delete webhook

getWebhookInfo

Get webhook info

getMe

Get bot info

logOut

Log out

close

Close instance

Method

Description

verifyUser

Verify user

verifyChat

Verify chat

removeUserVerification

Remove user verification

removeChatVerification

Remove chat verification

setPassportDataErrors

Set Passport errors

Development

npm test          # Run tests
npm run build     # Compile TypeScript

License

MIT

Available Tools

161 tools
addStickerToSetA

Add a new sticker to a set created by the bot. Emoji sticker sets can have up to 200 stickers. Other sticker sets can have up to 120 stickers. Returns True on success.

Inputs: name (required), sticker (required), user_id (required).

answerCallbackQueryA

Send answers to callback queries sent from inline keyboards. The answer is displayed as a notification at the top of the chat screen or as an alert. Returns True on success.

Inputs: callback_query_id (required), url, text, cache_time, +1 more.

answerInlineQueryA

Send answers to an inline query. Results are displayed in the user's chat. Maximum 50 results per query. Returns True on success.

Inputs: results (required), inline_query_id (required), button, cache_time, +2 more.

answerPreCheckoutQueryA

Respond to pre-checkout queries. Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent.

Inputs: ok (required), pre_checkout_query_id (required), error_message.

answerShippingQueryA

Reply to shipping queries. If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.

Inputs: ok (required), shipping_query_id (required), error_message, shipping_options.

answerWebAppQueryA

Set the result of an interaction with a Web App and send a corresponding message on behalf of the user to the chat from which the query originated. Returns a SentWebAppMessage object on success.

Inputs: result (required), web_app_query_id (required).

approveChatJoinRequestA

Approve a chat join request. The bot must be an administrator with can_invite_users rights. Returns True on success.

Inputs: chat_id (required), user_id (required).

approveSuggestedPostA

Approves a suggested post in a direct messages chat. The bot must have the can_post_messages administrator right in the corresponding channel chat. Returns True on success.

Inputs: chat_id (required), message_id (required), send_date.

banChatMemberA

Ban a user in a group, supergroup or channel. The bot must be an administrator with the appropriate rights. Returns True on success.

Inputs: chat_id (required), user_id (required), until_date, revoke_messages.

banChatSenderChatA

Ban a channel chat in a supergroup or channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator and must have the appropriate administrator rights. Returns True on success.

Inputs: chat_id (required), sender_chat_id (required).

closeA

Close the bot instance. Use before moving the bot to a local server. Must be called before running locally.

Inputs: no named parameters.

closeForumTopicA

Close an open topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: chat_id (required), message_thread_id (required).

closeGeneralForumTopicA

Close the 'General' topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: chat_id (required).

convertGiftToStarsA

Converts a given regular gift to Telegram Stars. Requires the can_convert_gifts_to_stars business bot right. Returns True on success.

Inputs: owned_gift_id (required), business_connection_id (required).

copyMessageA

Copy messages of any kind. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success.

Inputs: chat_id (required), message_id (required), from_chat_id (required), caption, +13 more.

copyMessagesA

Copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, paid media messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages. Returns an array of MessageId of the sent messages on success.

Inputs: chat_id (required), message_ids (required), from_chat_id (required), remove_caption, +4 more.

createForumTopicA

Create a topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns ForumTopic object.

Inputs: name (required), chat_id (required), icon_color, icon_custom_emoji_id.

createNewStickerSetA

Create a new sticker set owned by a user. The bot will be able to edit the sticker set. Returns True on success.

Inputs: name (required), title (required), user_id (required), stickers (required), +2 more.

declineChatJoinRequestA

Decline a chat join request. The bot must be an administrator with can_invite_users rights. Returns True on success.

Inputs: chat_id (required), user_id (required).

declineSuggestedPostA

Declines a suggested post in a direct messages chat. Requires the can_manage_direct_messages administrator right in the corresponding channel. Returns True on success.

Inputs: chat_id (required), message_id (required), comment.

deleteBusinessMessagesA

Deletes messages on behalf of a business account. Requires can_delete_sent_messages for bot's own messages or can_delete_all_messages for any message. Returns True on success.

Inputs: message_ids (required), business_connection_id (required).

deleteChatPhotoA

Delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator with can_change_info rights. Returns True on success.

Inputs: chat_id (required).

deleteChatStickerSetA

Delete a group sticker set from a supergroup. The bot must be an administrator with can_change_info rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.

Inputs: chat_id (required).

deleteForumTopicA

Delete a forum topic along with all its messages in a forum supergroup chat. The bot must be an administrator with can_delete_messages rights. Returns True on success.

Inputs: chat_id (required), message_thread_id (required).

deleteMessageA

Delete a message, including service messages, with the following limitations: A message can only be deleted if it was sent less than 48 hours ago. Service messages about a supergroup, channel, or forum topic creation can't be deleted. A dice message in a private chat can only be deleted if it was sent more than 24 hours ago. Bots can delete outgoing messages in private chats, groups, and supergroups. Bots can delete incoming messages in private chats. Bots granted can_post_messages permissions can delete outgoing messages in channels. If the bot is an administrator of a group, it can delete any message there. If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there. Returns True on success.

Inputs: chat_id (required), message_id (required).

deleteMessagesA

Delete multiple messages simultaneously. If some of the specified messages can't be found, they are skipped. Returns True on success.

Inputs: chat_id (required), message_ids (required).

deleteMyCommandsB

Delete the list of bot commands for the given scope and language. Returns True on success.

Inputs: scope, language_code.

deleteStickerFromSetA

Delete a sticker from a set created by the bot. Returns True on success.

Inputs: sticker (required).

deleteStickerSetA

Delete a sticker set that was created by the bot. Returns True on success.

Inputs: name (required).

deleteStoryA

Deletes a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns True on success.

Inputs: story_id (required), business_connection_id (required).

deleteWebhookA

Remove webhook integration. Use getUpdates to receive updates after this.

Inputs: drop_pending_updates.

editForumTopicA

Edit name and icon of a forum topic. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: chat_id (required), message_thread_id (required), name, icon_custom_emoji_id.

editGeneralForumTopicA

Edit the name of the 'General' topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: name (required), chat_id (required).

editMessageCaptionA

Edit captions of messages. Returns the edited Message on success, or True if the message is an inline message.

Inputs: caption, chat_id, message_id, parse_mode, +5 more.

editMessageLiveLocationA

Edit live location messages. A location can be edited until its live_period expires or editing is explicitly disabled by a call to stopMessageLiveLocation. Returns the edited Message on success, or True if the message is an inline message.

Inputs: latitude (required), longitude (required), chat_id, heading, +7 more.

editMessageMediaA

Edit animation, audio, document, photo, or video messages, or add media to text messages. If a message is part of a message album, then it can only be edited to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. Returns the edited Message on success, or True if the message is an inline message.

Inputs: media (required), chat_id, message_id, reply_markup, +2 more.

editMessageReplyMarkupA

Edit only the reply markup of messages. Returns the edited Message on success, or True if the message is an inline message.

Inputs: chat_id, message_id, reply_markup, inline_message_id, +1 more.

editMessageTextA

Edit text and game messages. Returns the edited Message on success, or True if the message is an inline message.

Inputs: text (required), chat_id, entities, message_id, +5 more.

editStoryA

Edits a story previously posted by the bot on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns a Story object on success.

Inputs: content (required), story_id (required), business_connection_id (required), areas, +3 more.

editUserStarSubscriptionA

Allows the bot to cancel or re-enable extension of a subscription paid in Telegram Stars. Returns True on success.

Inputs: user_id (required), is_canceled (required), telegram_payment_charge_id (required).

forwardMessageA

Forward messages of any kind. Service messages and messages with protected content can't be forwarded. Returns the sent Message on success.

Inputs: chat_id (required), message_id (required), from_chat_id (required), protect_content, +6 more.

forwardMessagesA

Forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. Returns an array of MessageId of the sent messages on success.

Inputs: chat_id (required), message_ids (required), from_chat_id (required), protect_content, +3 more.

getAvailableGiftsA

Returns the list of gifts that can be sent by the bot to users and channel chats. Returns a Gifts object.

Inputs: no named parameters.

getBusinessAccountGiftsA

Returns the gifts received and owned by a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns an OwnedGifts object on success.

Inputs: business_connection_id (required), limit, offset, exclude_saved, +7 more.

getBusinessAccountStarBalanceA

Returns the current Telegram Star balance of a managed business account. Requires the can_view_gifts_and_stars business bot right. Returns a StarAmount object on success.

Inputs: business_connection_id (required).

getBusinessConnectionA

Get information about the connection of the bot with a business account. Returns a BusinessConnection object on success.

Inputs: business_connection_id (required).

getChatA

Get up to date information about the chat. Returns ChatFullInfo object on success.

Inputs: chat_id (required).

getChatAdministratorsA

Get a list of administrators in a chat, which aren't bots. Returns an Array of ChatMember objects.

Inputs: chat_id (required).

getChatGiftsB

Returns the gifts received and owned by a chat. Returns an OwnedGifts object on success.

Inputs: chat_id (required), limit, offset, exclude_saved, +7 more.

getChatMemberA

Get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a ChatMember object on success.

Inputs: chat_id (required), user_id (required).

getChatMemberCountA

Get the number of members in a chat. Returns Int on success.

Inputs: chat_id (required).

getChatMenuButtonA

Get the current value of the bot's menu button in a private chat, or the default menu button. Returns a MenuButton object.

Inputs: chat_id.

getCustomEmojiStickersA

Get information about custom emoji stickers by their identifiers. Returns an Array of Sticker objects.

Inputs: custom_emoji_ids (required).

getFileA

Get basic info about a file and prepare it for downloading. Returns a File object with file_path for download. Files up to 20MB can be downloaded.

Inputs: file_id (required).

getForumTopicIconStickersA

Get custom emoji stickers that can be used as forum topic icons by any user. Returns an Array of Sticker objects.

Inputs: no named parameters.

getGameHighScoresB

Get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects.

Inputs: user_id (required), chat_id, message_id, inline_message_id.

getMeA

Get basic information about the bot. Returns a User object with id, is_bot, first_name, username, etc.

Inputs: no named parameters.

getMyCommandsA

Get the current list of bot commands for the given scope and language. Returns an Array of BotCommand objects.

Inputs: scope, language_code.

getMyDefaultAdministratorRightsA

Get the current default administrator rights of the bot. Returns a ChatAdministratorRights object.

Inputs: for_channels.

getMyDescriptionB

Get the current bot description for the given user language. Returns a BotDescription object.

Inputs: language_code.

getMyNameA

Get the current bot name for the given user language. Returns a BotName object.

Inputs: language_code.

getMyShortDescriptionA

Get the current bot short description for the given user language. Returns a BotShortDescription object.

Inputs: language_code.

getMyStarBalanceA

Returns the bot's current balance in Telegram Stars. On success, returns a StarAmount object.

Inputs: no named parameters.

getStarTransactionsB

Returns the bot's Telegram Star transactions in chronological order. On success, returns a StarTransactions object.

Inputs: limit, offset.

getStickerSetB

Get a sticker set by name. Returns a StickerSet object on success.

Inputs: name (required).

getUpdatesB

Receive incoming updates using long polling. Returns an Array of Update objects.

Inputs: limit, offset, timeout, allowed_updates.

getUserChatBoostsA

Get the list of boosts added to a chat by a user. Requires administrator rights in the chat. Returns a UserChatBoosts object on success.

Inputs: chat_id (required), user_id (required).

getUserGiftsC

Returns the gifts received and owned by a given user. Returns an OwnedGifts object on success.

Inputs: user_id (required), limit, offset, sort_by_price, +5 more.

getUserProfilePhotosB

Get a list of profile pictures for a user. Returns a UserProfilePhotos object.

Inputs: user_id (required), limit, offset.

getWebhookInfoA

Get current webhook status. Returns a WebhookInfo object with URL, pending updates count, and errors.

Inputs: no named parameters.

giftPremiumSubscriptionC

Gifts a Telegram Premium subscription to the given user. Returns True on success.

Inputs: user_id (required), star_count (required), month_count (required), text, +2 more.

hideGeneralForumTopicA

Hide the 'General' topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. The topic will be automatically closed if it was open. Returns True on success.

Inputs: chat_id (required).

leaveChatA

Leave a group, supergroup or channel. Returns True on success.

Inputs: chat_id (required).

logOutA

Log out from the cloud Bot API server. After logging out, you must wait 10 minutes before logging in again.

Inputs: no named parameters.

pinChatMessageA

Add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator with can_pin_messages rights in a supergroup or can_edit_messages rights in a channel. Returns True on success.

Inputs: chat_id (required), message_id (required), disable_notification, business_connection_id.

postStoryA

Posts a story on behalf of a managed business account. Requires the can_manage_stories business bot right. Returns a Story object on success.

Inputs: content (required), active_period (required), business_connection_id (required), areas, +5 more.

promoteChatMemberA

Promote or demote a user in a supergroup or channel. The bot must be an administrator with the appropriate rights. Pass False for all boolean parameters to demote a user. Returns True on success.

Inputs: chat_id (required), user_id (required), is_anonymous, can_change_info, +13 more.

readBusinessMessageA

Marks incoming message as read on behalf of a business account. Requires the can_read_messages business bot right. Returns True on success.

Inputs: chat_id (required), message_id (required), business_connection_id (required).

refundStarPaymentA

Refunds a successful payment in Telegram Stars. Returns True on success.

Inputs: user_id (required), telegram_payment_charge_id (required).

removeBusinessAccountProfilePhotoA

Removes the current profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.

Inputs: business_connection_id (required), is_public.

removeChatVerificationB

Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. Returns True on success.

Inputs: chat_id (required).

removeUserVerificationA

Removes verification from a user who is currently verified on behalf of the organization represented by the bot. Returns True on success.

Inputs: user_id (required).

reopenForumTopicA

Reopen a closed topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: chat_id (required), message_thread_id (required).

reopenGeneralForumTopicA

Reopen the closed 'General' topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: chat_id (required).

replaceStickerInSetA

Replace an existing sticker in a sticker set with a new one. The method is equivalent to calling deleteStickerFromSet, then addStickerToSet, then setStickerPositionInSet. Returns True on success.

Inputs: name (required), sticker (required), user_id (required), old_sticker (required).

repostStoryA

Reposts a story from one managed business account to another. Both accounts must be managed by the same bot. Requires the can_manage_stories business bot right for both accounts. Returns a Story object on success.

Inputs: from_chat_id (required), active_period (required), from_story_id (required), business_connection_id (required), +2 more.

restrictChatMemberA

Restrict a user in a supergroup. The bot must be an administrator with can_restrict_members rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.

Inputs: chat_id (required), user_id (required), permissions (required), until_date, +1 more.

savePreparedInlineMessageA

Store a message that can be sent by a user of a Mini App. Returns a PreparedInlineMessage object with a unique identifier and expiration date.

Inputs: result (required), user_id (required), allow_bot_chats, allow_user_chats, +2 more.

sendAnimationA

Send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned. Bots can currently send animation files of up to 50 MB in size.

Inputs: chat_id (required), animation (required), width, height, +17 more.

sendAudioA

Send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent Message is returned. Bots can currently send audio files of up to 50 MB in size. For sending voice messages, use the sendVoice method instead.

Inputs: audio (required), chat_id (required), title, caption, +15 more.

sendChatActionA

Tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns True on success.

Inputs: action (required), chat_id (required), message_thread_id, business_connection_id.

sendChecklistA

Send a checklist on behalf of a business account. On success, the sent Message is returned. Available for business accounts only.

Inputs: chat_id (required), checklist (required), business_connection_id (required), reply_markup, +6 more.

sendContactA

Send phone contacts. On success, the sent Message is returned.

Inputs: chat_id (required), first_name (required), phone_number (required), vcard, +11 more.

sendDiceA

Send an animated emoji that will display a random value. On success, the sent Message is returned. Supported emoji: dice, darts, basketball, football, bowling, slot machine.

Inputs: chat_id (required), emoji, reply_markup, protect_content, +8 more.

sendDocumentB

Send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size.

Inputs: chat_id (required), document (required), caption, thumbnail, +13 more.

sendGameB

Send a game. On success, the sent Message is returned.

Inputs: chat_id (required), game_short_name (required), reply_markup, protect_content, +6 more.

sendGiftA

Sends a gift to the given user or channel chat. The gift cannot be converted to Telegram Stars by the receiver. Returns True on success.

Inputs: gift_id (required), text, chat_id, user_id, +3 more.

sendInvoiceC

Send an invoice to a user. On success, the sent Message is returned.

Inputs: title (required), prices (required), chat_id (required), payload (required), +25 more.

sendLocationB

Send point on the map. On success, the sent Message is returned. Supports live locations that can be edited.

Inputs: chat_id (required), latitude (required), longitude (required), heading, +13 more.

sendMediaGroupA

Send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.

Inputs: media (required), chat_id (required), protect_content, reply_parameters, +6 more.

sendMessageC

Send text messages to a chat. Supports formatting, reply markup, and various message options. Returns the sent Message on success.

Inputs: text (required), chat_id (required), entities, parse_mode, +11 more.

sendMessageDraftA

Stream partial messages to a user while being generated. This is useful for AI-powered bots that want to show responses as they're being created. Allows progressive message delivery during content generation.

Inputs: chat_id (required), draft_message (required), reply_parameters, message_thread_id, +2 more.

sendPaidMediaB

Send paid media. On success, the sent Message is returned. Maximum price is 25000 Telegram Stars.

Inputs: media (required), chat_id (required), star_count (required), caption, +13 more.

sendPhotoA

Send photos. On success, the sent Message is returned. Photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.

Inputs: photo (required), chat_id (required), caption, parse_mode, +13 more.

sendPollA

Send a native poll. On success, the sent Message is returned. Supports regular polls and quizzes.

Inputs: chat_id (required), options (required), question (required), type, +19 more.

sendStickerB

Send static .WEBP, animated .TGS, or video .WEBM stickers. Returns the sent Message on success.

Inputs: chat_id (required), sticker (required), emoji, reply_markup, +8 more.

sendVenueB

Send information about a venue. On success, the sent Message is returned.

Inputs: title (required), address (required), chat_id (required), latitude (required), +15 more.

sendVideoA

Send video files, Telegram clients support MPEG4 videos (other formats may be sent as Document). On success, the sent Message is returned. Bots can currently send video files of up to 50 MB in size.

Inputs: video (required), chat_id (required), cover, width, +20 more.

sendVideoNoteB

As of v.4.0, Telegram clients support rounded square MPEG4 videos of up to 1 minute long. Send video messages. On success, the sent Message is returned.

Inputs: chat_id (required), video_note (required), length, duration, +11 more.

sendVoiceA

Send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS, or in .MP3 format, or in .M4A format. On success, the sent Message is returned. Bots can currently send voice messages of up to 50 MB in size.

Inputs: voice (required), chat_id (required), caption, duration, +12 more.

setBusinessAccountBioA

Changes the bio of a managed business account. Requires the can_change_bio business bot right. Returns True on success.

Inputs: business_connection_id (required), bio.

setBusinessAccountGiftSettingsA

Changes the privacy settings for gifts in a managed business account. Requires the can_change_gift_settings business bot right. Returns True on success.

Inputs: show_gift_button (required), accepted_gift_types (required), business_connection_id (required).

setBusinessAccountNameA

Changes the first and last name of a managed business account. Requires the can_change_name business bot right. Returns True on success.

Inputs: first_name (required), business_connection_id (required), last_name.

setBusinessAccountProfilePhotoA

Changes the profile photo of a managed business account. Requires the can_edit_profile_photo business bot right. Returns True on success.

Inputs: photo (required), business_connection_id (required), is_public.

setBusinessAccountUsernameA

Changes the username of a managed business account. Requires the can_change_username business bot right. Returns True on success.

Inputs: business_connection_id (required), username.

setChatAdministratorCustomTitleA

Set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.

Inputs: chat_id (required), user_id (required), custom_title (required).

setChatDescriptionA

Change the description of a group, a supergroup or a channel. The bot must be an administrator with can_change_info rights. Returns True on success.

Inputs: chat_id (required), description.

setChatMenuButtonA

Change the bot's menu button in a private chat, or the default menu button. Returns True on success.

Inputs: chat_id, menu_button.

setChatPermissionsA

Set default chat permissions for all members. The bot must be an administrator and must have the can_restrict_members administrator rights. Returns True on success.

Inputs: chat_id (required), permissions (required), use_independent_chat_permissions.

setChatPhotoA

Set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator with can_change_info rights. Returns True on success.

Inputs: photo (required), chat_id (required).

setChatStickerSetA

Set a new group sticker set for a supergroup. The bot must be an administrator with can_change_info rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.

Inputs: chat_id (required), sticker_set_name (required).

setChatTitleA

Change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator with can_change_info rights. Returns True on success.

Inputs: title (required), chat_id (required).

setCustomEmojiStickerSetThumbnailA

Set the thumbnail of a custom emoji sticker set. Returns True on success.

Inputs: name (required), custom_emoji_id.

setGameScoreA

Set the score of the specified user in a game message. On success, if the message is not an inline message, the Message is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.

Inputs: score (required), user_id (required), force, chat_id, +3 more.

setMessageReactionA

Change the chosen reactions on a message. Service messages cannot be reacted to. Bots cannot use paid reactions. Returns True on success.

Inputs: chat_id (required), message_id (required), is_big, reaction.

setMyCommandsA

Change the list of bot commands. Returns True on success. At most 100 commands can be specified.

Inputs: commands (required), scope, language_code.

setMyDefaultAdministratorRightsA

Change the default administrator rights requested when adding the bot as administrator to groups or channels. Returns True on success.

Inputs: rights, for_channels.

setMyDescriptionA

Change the bot's description, shown in empty chats and shared via bot links. Returns True on success.

Inputs: description, language_code.

setMyNameA

Change the bot's name. Returns True on success.

Inputs: name, language_code.

setMyShortDescriptionA

Change the bot's short description, shown on the bot's profile page and shared alongside bot links. Returns True on success.

Inputs: language_code, short_description.

setPassportDataErrorsA

Informs a user that some of the Telegram Passport elements they provided contain errors. The user will not be able to re-submit their Passport to you until the errors are fixed. Returns True on success.

Inputs: errors (required), user_id (required).

setStickerEmojiListA

Change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.

Inputs: sticker (required), emoji_list (required).

setStickerKeywordsA

Change search keywords assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.

Inputs: sticker (required), keywords.

setStickerMaskPositionA

Change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success.

Inputs: sticker (required), mask_position.

setStickerPositionInSetA

Move a sticker in a set created by the bot to a specific position. Returns True on success.

Inputs: sticker (required), position (required).

setStickerSetThumbnailA

Set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set. Returns True on success.

Inputs: name (required), format (required), user_id (required), thumbnail.

setStickerSetTitleA

Set the title of a created sticker set. Returns True on success.

Inputs: name (required), title (required).

setUserEmojiStatusA

Change the emoji status for a user who authorized the bot via Mini App method requestEmojiStatusAccess. Returns True on success.

Inputs: user_id (required), emoji_status_custom_emoji_id, emoji_status_expiration_date.

setWebhookA

Specify a URL to receive incoming updates via webhook. Use deleteWebhook to remove.

Inputs: url (required), ip_address, certificate, secret_token, +3 more.

stopMessageLiveLocationA

Stop updating a live location message before live_period expires. Returns the edited Message on success, or True if the message is an inline message.

Inputs: chat_id, message_id, reply_markup, inline_message_id, +1 more.

stopPollA

Stop a poll which was sent by the bot. Returns the stopped Poll on success.

Inputs: chat_id (required), message_id (required), reply_markup, business_connection_id.

transferBusinessAccountStarsA

Transfers Telegram Stars from a managed business account to the bot's balance. The Stars can then be withdrawn by the bot. Requires the can_transfer_stars business bot right. Returns True on success.

Inputs: star_count (required), business_connection_id (required).

transferGiftA

Transfers an owned unique gift to another user. Requires the can_transfer_and_upgrade_gifts business bot right. Returns True on success.

Inputs: owned_gift_id (required), new_owner_chat_id (required), business_connection_id (required), star_count.

unbanChatMemberA

Unban a previously banned user in a supergroup or channel. The user will NOT return to the group automatically but will be able to join via link, etc. The bot must be an administrator. Returns True on success.

Inputs: chat_id (required), user_id (required), only_if_banned.

unbanChatSenderChatA

Unban a previously banned channel chat in a supergroup or channel. The bot must be an administrator and must have the appropriate administrator rights. Returns True on success.

Inputs: chat_id (required), sender_chat_id (required).

unhideGeneralForumTopicA

Unhide the 'General' topic in a forum supergroup chat. The bot must be an administrator with can_manage_topics rights. Returns True on success.

Inputs: chat_id (required).

unpinAllChatMessagesA

Clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator with can_pin_messages rights in a supergroup or can_edit_messages rights in a channel. Returns True on success.

Inputs: chat_id (required).

unpinAllForumTopicMessagesB

Clear the list of pinned messages in a forum topic. The bot must be an administrator with can_pin_messages rights. Returns True on success.

Inputs: chat_id (required), message_thread_id (required).

unpinAllGeneralForumTopicMessagesA

Clear the list of pinned messages in a General forum topic. The bot must be an administrator with can_pin_messages rights. Returns True on success.

Inputs: chat_id (required).

unpinChatMessageA

Remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator with can_pin_messages rights in a supergroup or can_edit_messages rights in a channel. Returns True on success.

Inputs: chat_id (required), message_id, business_connection_id.

upgradeGiftA

Upgrades a given regular gift to a unique gift. Requires the can_transfer_and_upgrade_gifts business bot right. Returns True on success.

Inputs: owned_gift_id (required), business_connection_id (required), star_count, keep_original_details.

uploadStickerFileA

Upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods. Returns the uploaded File on success.

Inputs: sticker (required), user_id (required), sticker_format (required).

verifyChatB

Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success.

Inputs: chat_id (required), custom_description.

verifyUserA

Verifies a user on behalf of the organization which is represented by the bot. Returns True on success.

Inputs: user_id (required), custom_description.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 161 tools

    Disambiguation4/5

    Most tools are clearly scoped to a distinct resource and action, and the descriptions resolve close pairs such as sendAudio/sendVoice and copyMessage/copyMessages. With 161 tools, a few lifecycle or profile-related pairs like close/logOut and setMyDescription/setMyShortDescription still require careful reading, but they are not genuinely overlapping.

    Naming Consistency5/5

    All tool names use the same camelCase convention and consistently follow a verb-first pattern (get, set, send, create, edit, delete, answer). Singular/plural variants such as forwardMessage/forwardMessages and deleteMessage/deleteMessages are predictable.

    Tool Count1/5

    161 tools dramatically exceeds the 50+ threshold and creates an extreme mismatch for an MCP tool surface. Even if the set mirrors the Telegram Bot API, an agent must navigate an unwieldy list to find simple operations.

    Completeness5/5

    The surface covers nearly every Telegram Bot API domain: messages, media, stickers, chats, payments, games, inline queries, forum topics, business accounts, stories, and gifts. CRUD/lifecycle operations are present without obvious dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Full-featured Telegram Bot API server for MCP (Model Context Protocol). 174 tools covering the entire Bot API — messages, chats, stickers, payments, forums, stories, and more.
      100
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Telegram Bot API for sending messages, photos, editing messages, answering callbacks, and fetching updates.
      MIT