Skip to main content
Glama
discord-mcp

discord-mcp

by wjrosa

events_wait

Read-onlyIdempotent

Blocks until a matching Discord gateway event arrives or the timeout is reached, using the same filters as events_read. Waits for new events only, starting from now by default.

Instructions

Block until the next matching gateway event (or timeout, max 3600 s). Same filters as events_read. after_seq defaults to 'now', so only events from here on count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "events_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
botNo
userNo
guildNo
typesNo
channelNo
containsNo
after_seqNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive), and the description adds genuinely non-obvious behavior beyond them: a hard ceiling of 3600 s and the fact that after_seq defaults to 'now' so only future events match. What is missing is timeout behavior on expiry (empty result vs. error) and whether a long block holds any connection or rate-limit budget.

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?

Three short sentences with the blocking behavior front-loaded, then the timeout cap, then the default that changes matching scope. No filler and nothing buried.

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?

There is no output schema, so the description should say what a successful return looks like (the matched event payload) and what happens on timeout. Neither is stated, which is a meaningful gap for a blocking call whose most common outcome may be an expiry.

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% across 8 parameters, so the description must carry the load. It explains after_seq's default and timeout_seconds' upper bound, and defers the six filter parameters to events_read, but bot/user/guild/types/channel/contains are left entirely undefined with no format hints (IDs vs. names).

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 with its defining trait: 'Block until the next matching gateway event (or timeout, max 3600 s).' The blocking semantics plus 'Same filters as events_read' let an agent tell this apart from the non-blocking siblings events_read and events_list, though it never names them directly.

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?

'Block until' implies you call this when you need to wait rather than poll, and 'Same filters as events_read' routes filter semantics to a sibling. However there is no explicit when-to-use/when-not statement, no mention of the alternative wait tools (wait_for_reaction, wait_for_reply), and no guidance on choosing a timeout value.

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