Skip to main content
Glama

Send Telegram Message

messaging.telegram.send_message
Destructive

Send text messages to Telegram users or groups with Markdown or HTML formatting. Supports up to 4096 characters for alerts and notifications.

Instructions

⚡ 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)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesTelegram chat ID (number) or @channel_username (string). Get from get_updates or manually
textYesMessage text (max 4096 chars). Supports Markdown: *bold*, _italic_, `code`, [link](url)
parse_modeNoText formatting: "Markdown" or "HTML" (default plain text)
disable_notificationNoSend silently without notification sound (default false)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior4/5

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

Annotations already indicate destructive hint, and description adds behavioral details like formatting support, character limit, and integration with Telegram Bot API. No contradictions with annotations.

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?

Description is concise, front-loaded with the action, and uses efficient formatting. Every sentence adds value without redundancy.

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

Completeness5/5

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

Given the tool's simplicity and the presence of an output schema, the description covers all relevant aspects: purpose, formatting, limits, and typical use cases. No critical information is missing.

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 has 100% parameter description coverage, so description does not need to add much. It repeats formatting and char limit info, but does not provide additional semantics beyond the schema for each parameter.

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?

Description clearly states it sends a text message to a Telegram user or group chat, with specific formatting support and character limit. It distinguishes from sibling tools like send_document and send_photo by focusing on text messages, and provides context for alerts and notifications.

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

Usage Guidelines4/5

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

The description implicitly tells when to use (sending text messages) but does not explicitly mention when not to use or list alternative tools. However, the purpose is clear and the context of 'alerts, notifications, reports' provides practical guidance.

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/whiteknightonhorse/APIbase'

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