Skip to main content
Glama

Wait for a Slack reply

wait_for_reply

Block briefly until someone other than the bot replies in a Slack channel, DM, or thread, then return the new messages. Use it when an answer is likely within a minute or two.

Instructions

Block for a short time until someone other than the bot replies in a channel, DM or thread, then return the new messages. Use it only when an answer is likely within a minute or two; every call costs a model turn. Pass since_ts = the ts of your question (from send_message). Replies both as new messages and inside the question's thread are found. On replied: false, follow the returned next_step: after a couple of timeouts, stop waiting, tell the user, and collect the answer later with check_replies. Keep timeout_seconds below your MCP client's tool-call timeout (often 60 seconds; Claude Code users can raise it with MCP_TOOL_TIMEOUT).

Input Schema

NameRequiredDescriptionDefault
channelYesChannel ID, #channel-name, or user (ID, @handle, email) for their DM
since_tsNots of your question; only later messages count (default: now)
from_userNoOnly count messages from this user (ID, @handle, or email)
thread_tsNoThread to check; new top-level messages in the channel are checked too
timeout_secondsNoHow long to wait; keep it below the MCP client's tool-call timeout
poll_interval_secondsNoHow often to check Slack

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) by disclosing the blocking cost per call, the `replied: false` contract with `next_step`, the recommendation to cap retries, and the hard interaction with the MCP client's tool-call timeout. Nothing here contradicts the annotations — the tool does read Slack but consumes a model turn, so readOnlyHint=false is not inconsistent with the text.

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?

Purpose is front-loaded in the first clause, and each subsequent sentence carries a distinct operational rule with no filler. It is dense but slightly long, with the Claude Code MCP_TOOL_TIMEOUT parenthetical being the only marginal content.

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 six-parameter blocking poll tool with no output schema, it covers the blocking semantics, the failure return fields, the retry policy, and the client-side timeout ceiling. An agent can call this correctly and know what to do on a timeout without further information.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: `since_ts` should be the ts of the question from send_message, and `timeout_seconds` must stay under the client's tool-call timeout. It also explains that replies both as top-level messages and inside the question's thread are matched, which is not evident from the schema alone.

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 with precise scope: blocks until a human (not the bot) replies in a channel, DM, or thread, then returns the new messages. It also implicitly distinguishes itself from the non-blocking sibling check_replies, which it names later.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly bounds when to use it ('only when an answer is likely within a minute or two; every call costs a model turn') and gives a decision path for the failure case: follow `next_step`, and after a couple of timeouts stop and use check_replies instead. That is when/when-not/alternative guidance in full.

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