Skip to main content
Glama
telegram-bot-testing-mcp
by SnimanOff

tg_send_message

Sends a text message or /command to the open Telegram chat, optionally as a reply to a message ID, to exercise bot conversations.

Instructions

Send a text message or /command to the currently open chat. reply_to: message id to reply to (0 = plain message).

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": "tg_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
reply_toNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It adds the useful constraint that the target is the currently open chat, but says nothing about whether sending is irreversible, what happens if no chat is open, message-length limits, or error behavior.

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?

Two short sentences, with the core action front-loaded and the parameter note trailing. Every clause carries information and nothing is padded.

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 only two parameters and an output schema present, return values need not be described. What is missing is the operational context an agent would need to succeed, chiefly that a chat must be opened first and what failure looks like. Adequate but with clear gaps for a zero-annotation tool.

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 must compensate. It does explain that 'text' can be a message or a /command, and it clarifies 'reply_to' with '0 = plain message', which is meaning beyond the bare integer default in the schema. That covers both parameters at a basic level but leaves formatting or length expectations unaddressed.

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?

States a specific verb ('Send') and resource ('text message or /command') and scopes it to 'the currently open chat', which lets an agent distinguish it from media siblings like tg_send_file and tg_send_voice. It does not explicitly name a sibling or contrast behavior, so it falls 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 phrase 'to the currently open chat' implies the prerequisite that a chat must already be opened (presumably via tg_open_chat), but this is never stated as a condition. There is no when-to-use vs when-not guidance and no mention of alternatives for sending non-text content.

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