Skip to main content
Glama

react_message

Adds or removes an emoji reaction on a specific WhatsApp message using chat and message ID, letting agents acknowledge messages or clear reactions.

Instructions

React to a message with an emoji (empty string removes the reaction).

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": "<chat>",
      "message_id": "<message_id>",
      "emoji": "<emoji>"
    },
    "name": "react_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesChat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us).
emojiYesEmoji to react with (empty string removes the reaction).
message_idYesId of the message to react to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description has the entire responsibility for behavioral disclosure. It does contribute one important behavior: an empty emoji removes the reaction. But it does not explain whether a new reaction replaces an existing one, whether per-user reactions are cumulative, what happens when the message is missing, or what the tool returns. That is a significant gap for a mutation tool with no annotation coverage.

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?

A single sentence with no wasted wording, and the removal behavior is placed up front in parentheses where it is easy to find. It is tight and well structured, but it is too brief to carry the behavioral detail a mutation tool without annotations needs.

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?

For a simple three-parameter tool whose schema is fully documented and which has no output schema, the description covers the core action adequately. It leaves out edge-case behavior and return information that would help an agent call it correctly, so it is only minimally sufficient.

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 role of chat, message_id, and emoji is already documented in the schema. The description's only added semantic, the empty-string removal rule, is already in the emoji parameter's schema description, so it adds no new information beyond what the schema provides. Baseline 3 applies.

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 and resource: react to a message, with the added detail that an empty emoji removes the reaction. It is clearly distinguishable from write-oriented siblings like edit_message and delete_message, though it does not name alternatives.

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 purpose implies when to use it, but there is no explicit guidance on prerequisites such as needing the message_id from get_messages, which chat formats are accepted, or how this relates to edit or delete operations. Usage is left implicit.

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