Skip to main content
Glama

wait_reply

Wait for and retrieve the reply to a sent message, reserving it exclusively for your session and marking it read upon return.

Instructions

Wait for the answer to a message you sent (600 s max) and return it; it is marked read. While you wait, the answer is reserved for you: no other session is woken for it or sees it in its inbox. Status "restarting": the relay is switching to new code; call again (the answer is kept for you). Returned without an answer (timeout, unavailable): the one that arrives later is attached (late_replies) to your next call, then marked read.

Args: id: id returned by send. timeout_s: maximum wait in seconds (1 to 600, default 300).

Input Schema

NameRequiredDescriptionDefault
idYes
timeout_sNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

The annotations indicate a non-read-only, non-idempotent, non-destructive operation, and the description adds substantial context: the answer is marked read, reserved exclusively for the caller, invisible to other sessions' inboxes, and late replies are attached to the next call. It also covers the "restarting" relay state and timeout behavior, which are valuable operational details beyond the annotations.

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?

The description is front-loaded with the core action and reservation semantics, then adds necessary edge-case behavior and parameter details without filler. Every sentence contributes operationally useful information.

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?

An output schema exists, so return structure need not be fully documented, yet the description still explains return semantics around missing answers and late_replies. Combined with the timeout and restarting edge cases, it gives the agent enough to invoke and interpret the tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates by explaining that id comes from send and that timeout_s is a maximum wait in seconds ranging from 1 to 600 with a default of 300. Both parameters gain clear meaning beyond the bare schema.

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?

The description states a specific verb and resource: wait for the answer to a message you sent, then return it. It also clarifies the reservation behavior while waiting, which distinguishes it from sibling tools like inbox or read.

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?

It clearly says to use the id returned by send, and explains what to do when status is "restarting" by calling again. It does not explicitly compare this tool against alternatives such as inbox or read, so it falls short of a full when/when-not routing guide.

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