Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

wait_for_reaction

Read-onlyIdempotent

Poll a Discord message until a non-bot user reacts, optionally filtered by emoji or user, to enable approval flows like ✅ to approve.

Instructions

Wait (polling) until someone other than the bot reacts to a message, optionally only with emojis and only by users. Good for '✅ to approve' flows.

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": {
      "message": "<message>"
    },
    "name": "wait_for_reaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
guildNo
usersNo
emojisNo
channelNo
messageYes
poll_secondsNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent, and non-destructive behavior. The description adds that it polls and ignores bot reactions, which is useful context beyond annotations. It does not, however, describe timeout behavior or what happens on timeout, leaving a minor gap.

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?

Two sentences, front-loaded with the core action and followed by a use case. No unnecessary wording; every sentence earns its place.

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?

Given the tool's complexity (8 parameters, polling, timeout) and the absence of an output schema, the description is incomplete. It omits critical operational details such as the default polling interval, timeout behavior, and what the tool returns.

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 0%, so the description must compensate. It clearly explains the 'emojis' and 'users' filters and implies the 'message' parameter. However, it leaves 'bot', 'guild', 'channel', 'poll_seconds', and 'timeout_seconds' completely unexplained, which is a significant gap for an 8-parameter tool.

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 ('wait') and resource ('reaction on a message'), clarifies polling and bot exclusion, and names optional filters. This distinguishes it from siblings like reaction_add (which adds a reaction) and wait_for_reply (which waits for a reply).

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 a clear use case ('✅ to approve' flows), indicating when to use the tool. However, it does not explicitly state when not to use it or name alternative tools (e.g., ask_buttons) as alternatives.

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