Skip to main content
Glama

Forkit

wait_for_reply

Read-only

Block until a person replies on a thread, decides its review, or GitHub reports on it. Use after asking a question or requesting a review instead of polling get_thread.

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": {
      "thread_id": "<thread_id>",
      "after_seq": "<after_seq>"
    },
    "name": "wait_for_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
after_seqYesLast event number you saw (last_seq)
thread_idYesThread you are waiting on
timeout_msNoMax wait in milliseconds (default 60000, max 120000)

Output Schema

NameRequiredDescriptionDefault
stateYesThread state now
eventsYesEvents after after_seq, including the person's reply
last_seqYesPass this as after_seq next time
timed_outYesTrue when nobody replied within timeout_ms
waited_msYesMilliseconds elapsed before returning

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds the key behavioral fact that the call blocks and what events release it. It stops short of saying what happens on timeout (empty result vs. partial events), which matters for a 60-120s blocking call, though the timeout bound itself is covered in the schema.

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, zero filler, with the blocking semantics front-loaded before the usage routing. Nothing is redundant with the title.

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?

Output schema exists, so return values need not be described, and annotations cover the safety profile. The remaining open question (timeout result shape) is minor for a tool whose contract is otherwise fully specified.

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 coverage is 100%, including the default and max for timeout_ms and the meaning of after_seq, so the schema carries parameter meaning. The description adds no syntax or format detail beyond it; baseline 3 applies.

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 ('Block until') plus the resource ('a person replies on a thread') and enumerates the three conditions that end the block. It also names get_thread as the thing it replaces, so the agent can distinguish it without opening schemas.

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?

Explicit when-to-use ('after asking a question or requesting a review') and an explicit alternative to avoid ('instead of polling get_thread'). The routing decision is fully specified.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources