Skip to main content
Glama

wait

Pause the agent until a message arrives, then return it marked read; after the 50-second cap, call again to continue listening.

Instructions

Park until a message for you arrives, then return it (marked read). Returns after at most 50 s even if nothing arrived; then call wait again to keep listening.

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": "wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
meNoYour team name. Optional while this connection serves one session; required once register says the connection is shared.
timeout_secondsNoMax seconds to wait, capped at 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well: it discloses the hard 50 s ceiling, the empty-return-then-retry behavior, and the consequential side effect that the delivered message is marked read. It does not say what the response looks like on timeout (empty result vs. error) or whether marking read affects other consumers.

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 waste, and the front-loaded clause gives the core behavior first before the timeout caveat and retry instruction. Nothing could be removed without losing behavior the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter polling tool with no output schema, the definition covers the critical unknowns: blocking duration, cap, and read-marking. The one residual gap is the shape of a timeout return (null/empty list), which an agent would want before writing its loop, though 'then call wait again' partly covers the practical consequence.

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 100%, so 'me' and 'timeout_seconds' are already documented in the schema, including the 50 s cap. The description only restates the cap and adds no syntax or format detail for either parameter, so it sits at the baseline.

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 ('Park until a message for you arrives, then return it') plus the key side effect that distinguishes it from a plain read ('marked read'). The blocking-plus-mutation semantics separate it from siblings like inbox without needing to name them.

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?

Explains the operating pattern directly: it returns after at most 50 s even with nothing, and 'then call wait again to keep listening.' That tells the agent how to use it correctly in a loop. It stops short of contrasting with inbox (non-blocking check) or send, so the exclusion guidance is implied rather than explicit.

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