Skip to main content
Glama
jgalea

telegram-mcp

by jgalea

send_message

Send messages to Telegram chats or forum topics. Include optional reply-to, topic targeting, and markdown/HTML formatting for context-rich communication.

Instructions

Send a message to a chat. For forum supergroups, pass topic_id to post into a specific topic (1 for the General topic). Combine with reply_to to reply to a specific message within that topic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
chat_idYes
reply_toNoReply to a specific message ID.
topic_idNoForum topic root message ID. Use 1 for General. Required to target a specific topic in a forum supergroup.
parse_modeNoMessage formatting: 'md' for Markdown, 'html' for HTML
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the forum-topic targeting constraint but does not state that this is a mutating operation, what happens if topic_id is omitted in a forum supergroup, what permissions are required, whether the call can fail, or what the response contains. For an unannotated mutation tool 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 sentences, each with a distinct job: the core action, the forum-topic edge case, and the reply combination. The main purpose is front-loaded and no sentence is wasted.

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

Completeness3/5

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

The description handles the two Telegram-specific gotchas — forum topics and reply threading — that would most likely cause an agent to mis-call this tool. But it omits the meaning of chat_id's string form and the default behavior when topic_id is omitted, and with no output schema or annotations the operation's effects and return value are left to inference.

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 coverage is 60%, and the description adds genuine value by documenting the '1 for General' convention for topic_id and the reply_within_topic combination with reply_to. But the two required parameters, text and chat_id, have no descriptions anywhere, and chat_id's integer|string union is left ambiguous (numeric ID vs @username). The description partially compensates for coverage gaps but not completely.

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?

"Send a message to a chat" states a specific verb and resource that clearly distinguishes this from siblings like edit_message, delete_message, forward_message, and schedule_message. The forum-topic and reply_to detail further pins down the scope. However, it never explicitly contrasts with send_file/send_voice/send_location, leaving that boundary implicit rather than stated, so it stops short of a 5.

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

Usage Guidelines3/5

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

The description gives concrete, non-obvious usage direction: pass topic_id in forum supergroups and use 1 for General, and combine reply_to to reply within a topic. But there is no explicit when-to-use vs alternatives guidance — nothing says to prefer forward_message for copying existing messages or schedule_message for delayed sends. Usage context is implied rather than spelled out.

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/jgalea/telegram-mcp'

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