Skip to main content
Glama

react

Idempotent

Add or remove an emoji reaction on a WhatsApp message, replacing any previous reaction for the specified chat and message ID.

Instructions

Réagit à un message avec un emoji, ou retire sa réaction (emoji vide). Remplace une réaction précédente.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
emojiYesUn emoji ; chaîne vide pour retirer sa réaction.
accountNo
message_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
atYes
chat_jidYes
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so safety is covered. The description adds genuinely useful behavior the annotations do not: the empty-emoji removal path and the fact that a new reaction replaces the previous one (single reaction per user).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

One compact sentence covering the react path plus a short second clause for the removal/replace semantics. Nothing is wasted and the primary action is front-loaded.

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?

An output schema exists so return values need no explanation, and annotations carry the safety profile for this mutation. It is nearly complete, but the three undocumented identifier parameters leave a small gap for a 4-parameter write tool.

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 description coverage is only 25% — 'chat', 'message_id' and 'account' are undocumented in both schema and description, so there is a real gap. The description does explain the emoji parameter's empty-string semantics, which duplicates the schema entry, so it compensates only partially.

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 ('Réagit à un message') plus the removal variant, so the agent knows exactly what the tool does. It does not name or contrast with any sibling tool, which keeps it short of a 5.

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 description implicitly tells when to use it ('empty emoji' for removal), which is the key branching condition. However it names no alternatives and gives no prerequisites, e.g. whether the message must be in your own chat or what account selection implies.

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