Skip to main content
Glama

discord_add_reaction

Idempotent

Add a single emoji reaction to a Discord message as the bot to acknowledge or tag content programmatically. Re-adding the same bot reaction is idempotent and has no effect.

Instructions

Add a single emoji reaction to a message as the bot. Requires the Read Message History permission to look the message up, plus Add Reactions when no one has reacted with that emoji yet. Use discord_remove_reactions to undo. Idempotent: re-adding the bot's existing reaction has no effect.

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": {
      "channel_id": "<channel_id>",
      "message_id": "<message_id>",
      "emoji": "<emoji>"
    },
    "name": "discord_add_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
emojiYesUnicode emoji (e.g. '👍') or a custom emoji in 'name:id' format.
channel_idYesID (snowflake) of the channel or thread containing the message.
message_idYesID of the message to react to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changedv2.0.0
    • addedInput schema / properties / channel_id / pattern
      Added value: +"^\\d{17,20}$"
    • addedInput schema / properties / message_id / pattern
      Added value: +"^\\d{17,20}$"
  3. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / channel_id / description
      Added value: +"ID (snowflake) of the channel or thread containing the message."
    • changedInput schema / properties / emoji / description
      Previous value: -"Unicode emoji (e.g. '👍') or custom emoji in format 'name:id'."New value: +"Unicode emoji (e.g. '👍') or a custom emoji in 'name:id' format."
    • addedInput schema / properties / message_id / description
      Added value: +"ID of the message to react to."
  4. Addedv1.5.0
  5. Removedv1.0.0
  6. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two distinct permission requirements (Read Message History for lookup, Add Reactions when the emoji is new), which is meaningful operational context. The idempotency sentence largely restates the idempotentHint annotation, and it does not mention rate limits or failure behavior when permissions are missing, so it is strong but not exhaustive.

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?

Three tight sentences, with the core action front-loaded and permissions and undo routing following in logical order. The final idempotency sentence duplicates structured annotation data and is the one element that doesn't fully earn its place.

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 three-parameter tool with no output schema, the description covers action, identity, permissions, inverse operation, and repeat-call semantics — everything an agent needs to invoke it correctly. Nothing material is left to inference.

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 100%, with each of channel_id, message_id, and emoji documented including formats and patterns, so the schema carries the burden. The description adds no meaning about parameter interplay or edge cases beyond what the schema already states, making the baseline 3 appropriate.

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 and resource ('Add a single emoji reaction to a message') and scopes it to the bot's own identity ('as the bot'), which cleanly separates it from discord_remove_reactions. An agent can classify the operation without inspecting 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?

It names the inverse operation explicitly ('Use discord_remove_reactions to undo') and states the required permissions for each phase, which tells the agent what must be true before calling. It stops short of stating when the tool should not be used (e.g., messages in channels the bot cannot read), so it falls just short of full routing guidance.

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

Deploy Server

Other Tools