Skip to main content
Glama
mcp-whatsapp

mcp-whatsapp

send_reaction

Idempotent

Add or replace an emoji reaction on an existing WhatsApp message. Call again with an empty emoji string to clear the reaction.

Instructions

Add or replace an emoji reaction on an existing message; recipients see the small emoji badge attached to the original message. Reversible by calling again with an empty emoji string (clears the reaction); for a fresh message use send_message and for a quoted reply use send_reply. Returns the plain-text string Reaction sent on success.

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_jid": "<chat_jid>",
      "message_id": "<message_id>"
    },
    "name": "send_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
emojiNosingle emoji to react with; pass an empty string to clear an existing reaction
chat_jidYesWhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`
message_idYesWhatsApp message ID of the target message (use `message_id` from list_messages)
sender_jidNoJID of the original sender; optional when the message is in the local cache (the sender is then looked up), pass it for a message that is not cached (WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • changedInput schema / properties / sender_jid / description
      Previous value: -"JID of the original sender; required in group chats, omit in 1:1 chats (WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`)"New value: +"JID of the original sender; optional when the message is in the local cache (the sender is then looked up), pass it for a message that is not cached (WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`)"
  2. Changed3 schema fields changedv0.3.0
    • changedInput schema / properties / emoji / description
      Previous value: -"single emoji, or empty string to clear the reaction"New value: +"single emoji to react with; pass an empty string to clear an existing reaction"
    • changedInput schema / properties / message_id / description
      Previous value: -"WhatsApp message ID"New value: +"WhatsApp message ID of the target message (use `message_id` from list_messages)"
    • changedInput schema / properties / sender_jid / description
      Previous value: -"original sender; required in group chats (WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`)"New value: +"JID of the original sender; required in group chats, omit in 1:1 chats (WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us`)"
  3. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: recipients see the badge on the original message, the effect is reversible by re-calling with an empty emoji, and the success return is the literal string 'Reaction sent'. It stops short of mentioning permissions or rate limits, but the undo path and return value are meaningful additions.

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?

Everything is packed into one front-loaded block: purpose first, then alternatives, then reversibility, then return value. No filler sentences, though the semicolon-chained construction makes it denser than it needs to be and the return-value detail could be separated for scanability.

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?

For a four-parameter tool with full schema coverage and no output schema, the description covers what an agent needs: what it does, when to pick it over siblings, how to undo it, and what it returns. Nothing essential to correct invocation is missing.

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?

With 100% schema description coverage, the schema already explains emoji, chat_jid, message_id and sender_jid in detail, including the empty-string clearing behavior and JID formats. The description's only overlap is the clearing semantics, so it adds little meaning beyond the structured fields; baseline 3 applies.

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?

The description opens with a specific verb+resource+scope: 'Add or replace an emoji reaction on an existing message.' It also names what it is not (send_message for a fresh message, send_reply for a quoted reply), so an agent can distinguish it from siblings without opening schemas.

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?

It gives explicit routing: use this for reacting to an existing message, send_message for a fresh message, send_reply for a quoted reply. It also states the inverse operation path (call again with an empty emoji string to clear), which is a concrete when-to-use condition rather than inference.

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