Skip to main content
Glama

React to a Telegram message

telegram_set_reaction
DestructiveIdempotent

Put an emoji reaction on a message in a group the bot belongs to. The reaction is the bot's, not yours. The other person sees it and is notified, so confirm the message and the emoji with the user first. Only Telegram's standard reaction emoji are accepted — šŸ‘ šŸ‘Ž ā¤ šŸ”„ 🄰 šŸ‘ 😁 šŸ¤” šŸŽ‰ 🤩 šŸ™ šŸ‘Œ šŸ’Æ 🤣 ⚔ šŸ¤ 🫔 and similar; anything else is refused by Telegram, not by this server. Omit emoji to remove a reaction previously set. The message must already be in the archive. Two kinds of chat are out of scope: your 1:1 business chats, where the Bot API's setMessageReaction takes no business_connection_id and the call is refused here rather than failing obscurely; and the bot's own direct-message inbox, which is stored separately and is covered by telegram_bot_dm_react.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bigNoPlay the big animation for the recipient.
emojiNoThe reaction emoji. Leave out to remove the existing reaction.
chat_idYesChat the message is in.
message_idYesmessage_id to react to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial context beyond annotations: the reaction is attributed to the bot, the recipient is notified, omitting emoji removes an existing reaction, the message must already be in the archive, and out-of-scope calls are refused server-side. Annotations (destructiveHint, idempotentHint) are consistent with this, and the description explains the removal/refusal semantics they only hint at.

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?

Front-loaded with the core action and side-effect warning, then scope caveats. It is dense and each sentence carries operational information, though the emoji list and the two-paragraph exclusion detail make it longer than strictly necessary.

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?

Complete for a 4-parameter mutation tool with no output schema: it covers side effects, emoji constraints, removal semantics, archive precondition, and scope boundaries. An agent has everything needed to call it correctly or route elsewhere.

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

Parameters4/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, but the description adds an allowlist of accepted reaction emoji and states that invalid emoji are rejected by Telegram rather than the server, plus the omit-to-remove behavior for `emoji`. It does not explain the `big` animation parameter, which remains schema-only.

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 on a message in a group the bot belongs to) and immediately clarifies the actor is the bot, not the user. It distinguishes itself from telegram_bot_dm_react by naming that sibling explicitly for the DM-inbox case.

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 context (confirm with the user first because the recipient is notified) and clear when-not cases: 1:1 business chats, and the bot's DM inbox which is routed to telegram_bot_dm_react. The exclusions are named with their alternatives rather than left to inference.

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