Skip to main content
Glama
LoneVertex

Telegram MCP — Next Generation

Send Text Message to Telegram Chat

send_message

Send a text message to any Telegram chat, group, channel, or user. Specify chat ID and message content, with optional Markdown or HTML formatting.

Instructions

Send a text message to a specified Telegram chat, group, channel, or user. Mutation operation requiring TELEGRAM_SEND_ENABLED=true. For replying to an existing message, prefer reply_to_message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoOptional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts.
chat_idYesTarget Telegram chat, group, supergroup, channel, or user identifier. Accepts numeric chat ID (e.g. -1001234567890 or 123456789), username (e.g. '@channel'), or phone number.
messageYesText content of the message to send or save as draft. Supports Markdown or HTML.
parse_modeNoText formatting parser: 'markdown' (default), 'html', or 'none'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark readOnlyHint=false, but the description adds the operational requirement TELEGRAM_SEND_ENABLED=true, which is not inferable from the schema. It also reinforces the mutation nature. While it does not detail side effects like duplicate delivery on retries, the existing annotations and output schema reduce that burden.

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?

The description is compact: two sentences that state the core action, the prerequisite, and the primary alternative. Every sentence adds distinct value and the most important information is front-loaded.

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

Completeness4/5

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

For a four-parameter mutation tool with a full output schema, the description covers the essential selection and invocation needs: what it sends, where it sends, the required environment flag, and the sibling to use for replies. It does not mention sending files, but the 'text message' scope already implies `send_file` is for non-text media.

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%, so all four parameters are already well documented. The description's 'text message' phrasing aligns with the `message` parameter but adds little beyond what the schema provides. Baseline of 3 is appropriate since the schema carries the parameter-semantic weight.

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

Purpose5/5

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

The description uses a specific verb ('send') with a clear resource ('text message') and target scope ('Telegram chat, group, channel, or user'). It also differentiates itself from the sibling `reply_to_message` by explicitly directing replying use cases away, making the tool's role unambiguous.

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

Usage Guidelines5/5

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

The description provides concrete usage context: it is a mutation, requires TELEGRAM_SEND_ENABLED=true, and explicitly tells the agent to prefer `reply_to_message` when replying to an existing message. This gives clear when-to-use and when-not-to-use guidance.

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