MCP server for Telegram Bot API — send messages, manage chats, webhooks, files, and more through 27 tools
This server demonstrates solid tool coverage (27 tools) with consistent schema presence and tool annotations. All tools have names following verb_noun patterns (tg_get_*, tg_send_*, tg_edit_*, tg_delete_*, etc.), and all visible tools include JSON Schema definitions with proper type declarations. Descriptions are generally complete and actionable (averaging ~150 chars), and tool annotations (readOnlyHint, destructiveHint, idempotentHint) are present for composition hints. However, several critical gaps reduce the score: (1) many parameter descriptions lack specificity around constraints (length limits, allowed values, ranges); (2) output schemas are not explicitly documented, callers must infer response structure from the Telegram API; (3) some descriptions reference the Telegram Bot API but don't explain WHY an LLM would use each tool or WHEN to prefer one over another; (4) error handling guidance is absent, tools provide no recovery hints for common failures (invalid chat_id, permissions, rate limits); (5) a few tools with complex inputs (reply_markup, scope) have object descriptions that are too generic ('Optional scope e.g. {...}') without explaining the valid scope types.
Answer a callback query from an inline button press. Shows a notification/alert to the user.
Ban a user from a chat. Removes them immediately and prevents them from rejoining.
Create an invite link for a chat. The link will be valid until it's revoked or expired.
Delete a previously sent message.
Delete the webhook and revert to polling for updates.
Edit the caption of a previously sent message.
Output schemas not documented: Tools have no explicit schema definitions for return values. LLMs cannot plan downstream calls or extract required fields (e.g., does tg_send_message return message_id? Does tg_get_chat return member_count?). This forces callers to guess at response structure.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 60 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Edit the text of a previously sent message.
Get information about a chat (title, description, members, etc.).
Get information about a specific member in a chat (status, permissions, etc.).
Get the total count of members in a chat.
Get file information and download URL for a file by file_id.
Get basic information about the bot: id, username, first_name, can_join_groups, can_read_all_group_messages, supports_inline_queries.
Get profile photos of a user.
Get the current webhook URL and connection status.
Pin a message in a group, supergroup, or channel.
Send an audio file to a chat. Displayed as a music player. Provide a URL or file_id. Max 50MB, MP3/M4A format.
Send a contact card to a chat.
Send a document/file to a chat. Provide a URL or file_id. Max 50MB for bots.
Send a geographic location point to a chat.
Send a text message to a chat. Supports Markdown, MarkdownV2, and HTML formatting. Can include inline keyboards via reply_markup.
Send a photo to a chat. Provide a URL or file_id from a previously uploaded photo.
Send a poll to a chat. Supports regular polls and quiz mode. For quiz mode, set type to "quiz" and provide correct_option_id.
Send a video to a chat. Provide a URL or file_id. Supports MPEG4 format, max 50MB.
Set the list of bot commands shown in the Telegram chat menu. Each command has a "command" (1-32 chars, lowercase a-z, 0-9, _) and a "description" (1-256 chars). Max 100 commands.
Set the webhook URL for receiving updates from Telegram instead of polling.
Unban a user from a chat and allow them to rejoin.
Unpin a message from a group, supergroup, or channel.
Generic parameter descriptions with weak constraint guidance: Many parameters reference Telegram API constraints in tool descriptions but not in parameter descriptions. E.g., tg_send_message.text says '1-4096 characters' in tool description, not in the parameter description. tg_send_poll.options lacks min/max item count. reply_markup and scope are described as 'Optional object' without enumerating valid scope types or keyboard structures. LLMs cannot validate inputs without explicit constraints in parameter descriptions.
No error handling or recovery guidance: Tools have no descriptions of what can go wrong or how to recover. E.g., tg_send_message does not document 'Invalid chat_id → try tg_get_chat first', 'Rate limited → retry after N seconds', or 'Permissions denied → bot not admin'. Error classification and recovery hints are absent.
Ambiguous chat_id parameter: Described as 'Chat ID (number) or @channel_username' but does not clarify format. LLMs may pass numeric strings ('12345'), integers (12345), or usernames ('@mychannel') interchangeably. Add format: 'Numeric string (e.g., "123456789") or @username (e.g., "@mychannel")'.
Missing parse_mode enum constraint: tg_send_message describes parse_mode as '"Markdown", "MarkdownV2", or "HTML"' in the tool description, not in the parameter schema. Should be an enum: ["Markdown", "MarkdownV2", "HTML"] to prevent LLM hallucination of invalid modes like 'markdown' or 'HTML5'.
Incomplete parameter descriptions: Several parameters have minimal or no descriptions. E.g., tg_get_me._fields says 'Comma-separated list...' but lacks details on valid field names or what they contain. tg_get_chat_member_count has only 'Chat ID or @channel_username' with no explanation of what count is returned or when to use it vs tg_get_chat.
No tool-level composition guidance: Descriptions do not explain when to use related tools. E.g., tg_send_message vs tg_send_photo vs tg_send_document are all 'send' tools but descriptions don't guide selection. No hints like 'Use tg_send_photo for images; tg_send_document for PDFs/files'. Missing dependency documentation like 'Requires tg_get_chat first to verify permissions'.