Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

sendMessage

Send text messages to Telegram chats with formatting, reply markup, and message options. Returns the sent message for confirmation.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText of the message to be sent, 1-4096 characters after entities parsing.
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername).
entitiesNoA JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode.
parse_modeNoMode for parsing entities in the message text. See formatting options for more details. Supported: 'Markdown', 'MarkdownV2', 'HTML'.
reply_markupNoAdditional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user.
protect_contentNoProtects the contents of the sent message from forwarding and saving.
reply_parametersNoDescription of the message to reply to. Object with fields: message_id (required), chat_id, allow_sending_without_reply, quote, quote_parse_mode, quote_entities, quote_position.
message_effect_idNoUnique identifier of the message effect to be added to the message; for private chats only.
message_thread_idNoUnique identifier for the target message thread (topic) of the forum; for forum supergroups only.
allow_paid_broadcastNoPass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message.
disable_notificationNoSends the message silently. Users will receive a notification with no sound.
link_preview_optionsNoLink preview generation options for the message. Object with fields: is_disabled, url, prefer_small_media, prefer_large_media, show_above_text.
business_connection_idNoUnique identifier of the business connection on behalf of which the message will be sent.
direct_messages_topic_idNoUnique identifier for the target direct messages topic; for bots only.
suggested_post_parametersNoInformation about suggested post parameters; for channel chats only.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full disclosure burden. It does disclose the return value ('Returns the sent Message on success'), which is useful given the absent output schema, but it omits side effects (the message is delivered to real users and cannot be retracted), permission prerequisites (bot must be a chat member), and error/failure behavior. For a state-changing send operation, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences in roughly 20 words: core action first, then capabilities, then return value. Every sentence earns its place, there is no filler, and it avoids repeating the 15 parameters already documented in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter tool with no annotations and no output schema, the description covers purpose and return value but leaves sibling differentiation, failure behavior, and prerequisites unaddressed. The rich schema covers parameter semantics, but the operational context an agent needs to choose and invoke this reliably among roughly 250 siblings is incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with detailed per-parameter descriptions, so the baseline is 3. The description adds only a light grouping ('Supports formatting, reply markup, and various message options'), which maps loosely to parse_mode/entities, reply_markup, and the option flags, but does not add meaning beyond what the input schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Send text messages to a chat,' which differentiates it from the many media-sending siblings (sendPhoto, sendAudio, sendDocument) by the word 'text.' The mention of formatting, reply markup, and the returned Message adds specificity, though it doesn't explicitly delineate from near-neighbors like sendMessageDraft or editMessageText.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is provided. With over a dozen send* siblings plus editMessageText, copyMessage, and forwardMessage in the tool list, an agent gets no explicit signal about which alternative fits other content types or the message-editing case, and must infer everything from the word 'text.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TONresistor/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server