Skip to main content
Glama
telegram-mcp

telegram-mcp

by adsqwui

tg_send_message

Sends text messages to Telegram private chats, groups, channels, or bots with optional Markdown/HTML formatting, replies, silent delivery, and reply waiting.

Instructions

Send a text message to a private chat, group, channel (you must be allowed to post) or bot.

format "markdown": **bold**, __italic__, `code`, [text](https://link). reply_to: message id to reply to.
silent: no notification sound. wait_reply: seconds to wait and return incoming replies (useful for bots).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chat": "<chat>",
      "text": "<text>"
    },
    "name": "tg_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYes
textYes
formatNomarkdown
silentNo
reply_toNo
wait_replyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the description's job is supplementary — and it does add genuine behavior: a posting-permission prerequisite for channels, the markdown dialect accepted, and the fact that wait_reply blocks for a duration and returns incoming replies. It omits rate limits, message-length limits, and what identifier the call returns, which keeps it from a 5.

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

Conciseness4/5

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

The purpose sentence is front-loaded and the parameter notes are compressed into two scannable lines with no filler. A few entries are near-tautological ('reply_to: message id to reply to'), and the shorthand style trades some readability for density, but nothing 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?

For a six-parameter mutation tool with no output schema and no schema descriptions, the definition is adequate but not complete: it never says what a successful send returns (message id, delivery status), and the required 'chat' parameter's format is undefined. Those are precisely the details an agent needs to construct a correct first call.

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 0%, so the description carries the full burden, and it does explain four of six parameters meaningfully (format with concrete markdown syntax, reply_to as a message id, silent as suppressing notification sound, wait_reply as a blocking wait returning replies). The two required parameters, chat and text, get no explanation at all — most critically, the accepted chat identifier form (@username, numeric id, invite link) is never specified.

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?

The description opens with a specific verb+resource ('Send a text message') and enumerates the valid destination types (private chat, group, channel, bot), which implicitly distinguishes it from the file-sending sibling. It stops short of explicitly naming tg_send_file or tg_click as the alternatives for non-text payloads, so differentiation is inferred rather than stated.

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?

It states a real precondition for channels ('you must be allowed to post') and hints that wait_reply is 'useful for bots', which gives context for a subset of use cases. However, there is no explicit guidance on when to choose this over tg_send_file or tg_click, and no when-not-to-use framing, leaving routing decisions to inference.

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