Skip to main content
Glama

Send Telegram Message

messaging.telegram.send_message
Destructive

⚡ ACTION: Send a text message to a Telegram user or group chat. Supports Markdown (bold, italic, code, link) and HTML formatting. Max 4096 chars. Perfect for alerts, notifications, reports (Telegram Bot API)

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_id": "<chat_id>",
      "text": "<text>"
    },
    "name": "messaging.telegram.send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesMessage text (max 4096 chars). Supports Markdown: *bold*, _italic_, `code`, [link](url)
chat_idYesTelegram chat ID (number) or @channel_username (string) of a chat the bot was added to
parse_modeNoText formatting: "Markdown" or "HTML" (default plain text)
disable_notificationNoSend silently without notification sound (default false)

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / chat_id / description
      Previous value: -"Telegram chat ID (number) or @channel_username (string). Get from get_updates or manually"New value: +"Telegram chat ID (number) or @channel_username (string) of a chat the bot was added to"
  2. First observed

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the agent knows this is an outward-facing, non-reversible write. The description adds nothing about irreversibility, that the bot must already be in the target chat, rate limits, or delivery behavior; the 4096-char limit and formatting support merely restate the schema.

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?

It is short and front-loaded with the action and target, and every clause is readable at a glance. Minor waste in the "⚡ ACTION:" tag and the redundant char-limit/formatting restatement keeps it off a 5.

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?

With an output schema and rich annotations already supplied, the description only needs to cover operating context such as permissions, irreversibility and failure modes. It covers the basics of what is sent but leaves those operational concerns unaddressed.

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 documented with types, enum and defaults. The description repeats the max length and Markdown syntax already present in the text field description, adding no new meaning. Baseline 3 applies.

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 opens with a specific verb and resource ("Send a text message to a Telegram user or group chat") and the word "text" implicitly separates it from the send_document and send_photo siblings. An agent can identify the operation without opening the schema.

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 offers use cases ("alerts, notifications, reports") that imply when to call it, but gives no explicit when-not conditions or named alternatives for image/document delivery. Routing guidance is inferred rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.