Skip to main content
Glama

React in the bot's own DM

telegram_bot_dm_react
DestructiveIdempotent

Put an emoji reaction, as the bot, on a message in the bot's OWN direct chat — one returned by telegram_bot_direct_messages. That inbox is stored separately from the main archive and this tool reaches only it: it does not react in groups, and it cannot react in your 1:1 business chats. Only Telegram's standard reaction emoji are accepted; omit emoji to remove one. The other person is notified, so confirm the message and emoji with the user first. Use an already connected Session where supported; preserve source, coverage and actual errors. Do not suggest connecting or reconnecting Session unless the user explicitly asks for Session setup. Never switch sender automatically or request login codes/passwords in chat.

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>",
      "message_id": "<message_id>"
    },
    "name": "telegram_bot_dm_react"
  }
}

Input Schema

NameRequiredDescriptionDefault
bigNoPlay the big animation for the recipient.
emojiNoThe reaction emoji. Leave out to remove it.
chat_idYeschat_id from telegram_bot_direct_messages.
message_idYesmessage_id from telegram_bot_direct_messages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, idempotent, open-world, and the description coherently explains why: omitting emoji removes a reaction. It adds value beyond annotations by disclosing recipient notification, the standard-Telegram-emoji-only constraint, and a confirm-first requirement. Some trailing text about Sessions, login codes and sender switching is agent boilerplate rather than behavior of this tool, 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.

Conciseness3/5

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

The purpose and scope are front-loaded and efficient in the first three sentences. The remaining sentences drift into generic session/credential policy that does not describe this tool, adding length without helping an agent invoke it correctly.

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?

For a 4-parameter, no-output-schema mutation tool, it covers scope, side effects (recipient notified), removal semantics and emoji constraints well. It stops short of describing what the call returns and never explains the `big` flag, which the schema leaves to a brief one-liner.

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 coverage is 100%, so the baseline is 3 and chat_id/message_id provenance is already documented in the schema. The description only adds the constraint that reactions must be Telegram's standard emoji (no enum enforces this) and repeats the omit-to-remove semantics; the `big` parameter is never mentioned in the description.

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?

States a specific verb and resource ('Put an emoji reaction, as the bot, on a message') plus the exact scope: the bot's OWN direct chat, one returned by telegram_bot_direct_messages. The negative scoping ('does not react in groups, and it cannot react in your 1:1 business chats') separates it from telegram_set_reaction without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (messages from the bot DM inbox), explicit when-not (groups, 1:1 business chats), and names the tool that supplies the required ids. It also adds a procedural precondition: confirm the message and emoji with the user first, since the recipient is notified.

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.

Resources