Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

wait_for_reply

Read-onlyIdempotent

Polls a Discord channel or thread until a new message appears after a specified message, optionally filtering by users or text, then returns the matching message or a timeout result.

Instructions

Wait (by polling, no gateway needed) until someone posts in a channel/thread after message after (id/link; default: now). Filter by users and contains regex. Returns the new message(s) or timed_out.

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": "<channel>"
    },
    "name": "wait_for_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
afterNo
guildNo
usersNo
channelYes
containsNo
include_botsNo
poll_secondsNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world. The description adds genuinely new context beyond them: the mechanism is polling rather than a gateway, and the return distinguishes found messages from a 'timed_out' result. It does not mention blocking duration or polling cost, which would round this out.

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?

A single dense sentence that front-loads the wait behavior and follows with filters and return values, with no filler. The parenthetical notation (id/link; default: now) is compact but slightly cryptic.

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?

The return contract is stated inline, which matters since there is no output schema, and the polling model is disclosed. However, with nine parameters and zero schema descriptions, an agent still cannot confidently set the polling interval, timeout, guild/bot scoping, or bot-inclusion flags from the definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning, and it only covers `after` (id/link, default now), `users`, and `contains` (regex). Five of nine parameters (`bot`, `guild`, `include_bots`, `poll_seconds`, `timeout_seconds`) get no explanation of meaning or interaction anywhere in the definition.

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?

The description names a specific verb and outcome: poll until someone posts in a channel/thread after a given message, returning the new message(s) or 'timed_out'. That is far more precise than the name alone. It stops short of naming how it differs from siblings like wait_for_reaction or events_wait, so an agent must infer the distinction.

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?

It implies when to use it (you want to block for a new message starting from `after`, with optional user and regex filters) and clarifies the default of `after` is now. There is no explicit when-not-to-use guidance or comparison to the reaction/event wait siblings, leaving the agent to infer selection.

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