Skip to main content
Glama

discord_add_reaction

Idempotent

Add an emoji reaction to a specific Discord message as the bot using channel ID, message ID, and emoji. Idempotent; undo with remove reactions.

Instructions

Add a single emoji reaction to a message as the bot. Requires the Add Reactions and Read Message History permissions. Use discord_remove_reactions to undo. Idempotent: re-adding the bot's existing reaction has no effect.

Input Schema

TableJSON 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.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, and the description reinforces this with a concrete explanation of the idempotent behavior. It adds valuable context beyond the annotations by stating the required permissions and that the action is performed as the bot. There is no contradiction with any annotation.

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?

Four short sentences, each carrying distinct useful information: action, permissions, undo path, and idempotency. The core action is front-loaded, and there is no redundant or filler wording.

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 simple three-parameter action with no output schema, the description covers the essential context: what it does, what permissions are needed, how to undo it, and its idempotent nature. The schema already documents parameter formats, so nothing important is missing for an agent to invoke this correctly.

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?

The schema covers all parameters with descriptions, including emoji format ('name:id' for custom emojis) and snowflake patterns for IDs. The description adds little parameter-specific meaning beyond 'single emoji reaction', but with 100% schema coverage, the baseline of 3 is 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?

States a specific verb and resource: adds a single emoji reaction to a message as the bot. The phrase 'as the bot' clarifies the acting identity, and 'single emoji reaction' disambiguates it from broader message actions. This clearly distinguishes it from related siblings like discord_remove_reactions and discord_get_reactions.

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?

Provides explicit permission requirements (Add Reactions and Read Message History), which tells the agent when the tool is usable. It also names discord_remove_reactions as the undo alternative, giving clear routing for the reverse operation. It does not discuss choosing this over sending an emoji in a message, but that is not a strong competing alternative.

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