Skip to main content
Glama

React to a message

react_to_message
Idempotent

Add or remove one emoji reaction on a conversation message to signal feedback to the bot; omit message_id to react to its latest reply.

Instructions

React to a message in a conversation with one emoji (D-331), or take your reaction back. Without message_id it reacts to the bot's latest reply. One reaction per person per message: another emoji replaces yours. The bot sees it the next time it works in that chat; a 👍 or 👎 tells it whether the reply worked.

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": {
      "bot": "<bot>",
      "conversation_id": "<conversation_id>",
      "emoji": "<emoji>"
    },
    "name": "react_to_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
botYesBot name or id
emojiYesExactly one emoji, e.g. 👍
removeNoTake your reaction back instead
workspaceNo
message_idNo
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world. The description adds meaningfully beyond that: one reaction per person with replacement semantics, the delayed-visibility rule ("the bot sees it the next time it works in that chat"), and the intent signal conveyed by 👍/👎. It stops short of noting any permission or rate constraints, so a 4 rather than 5.

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 action and its inverse, then the default-target rule, then the replacement rule — a sensible order with no wasted sentences. The internal reference "(D-331)" is the only bit of noise that does not help an agent decide or call.

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 6-parameter mutation tool with no output schema, the description covers what an agent most needs: default targeting, replacement behavior, undo path, and when the effect becomes visible. The undocumented workspace parameter is the remaining hole, but it is a supporting scoping field rather than a decision-critical one.

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 50%, and the description compensates for the most consequential gap: message_id is optional and defaults to the bot's latest reply. It also clarifies emoji's one-per-message replacement behavior and remove's effect beyond the bare schema text. workspace and conversation_id remain unexplained in both places.

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 ("React to a message in a conversation with one emoji") and immediately covers the inverse operation ("or take your reaction back"). No sibling tool in the catalog touches reactions, and the description makes the tool's scope self-evident without opening the schema.

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?

Gives real usage context: omit message_id to react to the bot's latest reply, and use the remove flag to undo. It does not name an alternative or state when not to use it, but the calling conditions it does state remove most ambiguity.

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