Skip to main content
Glama
mcp-telegram-agent

mcp-telegram-agent

send_text_message

Send text messages through a Telegram bot with Markdown or HTML formatting, silent delivery, inline buttons, or custom reply keyboards. Use it to deliver formatted chat messages and interactive prompts.

Instructions

Send text messages with Markdown/HTML formatting, silent mode, protection, inline buttons, or custom reply keyboards.

發送文字訊息。支援 Markdown 與 HTML 格式解析、靜音推播、內容保護、行內按鈕與底部鍵盤。

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": {
      "text": "<text>"
    },
    "name": "send_text_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
chat_idNo
parse_modeNoMarkdown
inline_buttonsNo
reply_keyboardNo
protect_contentNo
remove_keyboardNo
one_time_keyboardNo
disable_notificationNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does not meet it. It does not explain what happens when chat_id is null, whether the message is delivered to a default chat, permission or rate-limit constraints, or that this is a mutating operation that creates a new message rather than updating one. The listed features largely restate schema parameter names with friendlier wording rather than adding behavioral context.

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 definition is short and front-loaded, leading with the action and then the capability list. The English sentence and its Chinese translation are duplicative in content, but the bilingual form appears intentional for locale support and does not add bloat.

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?

That score is too generous: with nine parameters, no annotations, and 0% schema coverage, the definition leaves key invocation details unresolved, including the meaning of a null chat_id and the semantics of the keyboard toggles. An output schema exists, so return values need not be described, but the input-side gaps make the definition insufficient for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for nine parameters, so the description must compensate and it only partially does: "silent mode" maps loosely to disable_notification and "protection" to protect_content, but chat_id, remove_keyboard, one_time_keyboard (default true), parse_mode defaults, and the reply_keyboard/remove_keyboard interaction are all left unexplained. Only the nested InlineButton fields carry schema descriptions.

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 definition states a specific verb and resource ("Send text messages") and enumerates the supported capabilities: Markdown/HTML formatting, silent mode, content protection, inline buttons, and reply keyboards. It implicitly distinguishes the tool from siblings such as send_local_photo or send_poll by restricting the resource to text, but never names an alternative explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool instead of siblings. In particular, nothing distinguishes it from edit_message_text or explains whether sending to a chat that already has a message creates a new one. The only implied guidance is the tool name itself.

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