Skip to main content
Glama

Wait for the next bridge message

bridge_wait

Keep your agent turn alive while waiting for a bridge message, so you can respond as soon as the other agent sends. Avoid ending the turn and needing a later wake-up.

Instructions

Keep this agent turn alive until a matching bridge message arrives. Use this instead of ending the turn and later asking the user to tell you to read the inbox. After handling and replying to the returned message, call bridge_wait again automatically if the coordination thread is still active. This is the MCP push-style handoff: the tool blocks efficiently and returns as soon as the other agent sends. It cannot wake a chat whose turn has already ended, so enter bridge_wait before going idle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYesAgent whose inbox should wake this turn.
threadIdNoOptional coordination thread filter.
fromAgentNoOptional sender filter.
acknowledgeNoMark returned messages handled before returning. Defaults true; history is preserved.
timeoutSecondsNoHow long to keep the MCP call open. Defaults to 285 seconds so common five-minute host limits do not cut it off.
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It discloses that the tool blocks, returns as soon as the other agent sends, and cannot wake a chat whose turn has ended. It misses some details such as timeout behavior or return value shape, but the description meaningfully explains the push-style handoff behavior.

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 well-structured and front-loaded: the first sentence captures the core purpose, and subsequent sentences add usage, recurrence, mechanism, and a critical limitation. Every sentence contributes meaningful guidance without repetition or filler.

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 blocking wait tool with no output schema, the description sufficiently explains when to call, how to chain calls, and the key constraint about not waking ended turns. It could elaborate on timeout behavior or what exactly is returned, but schema covers the timeout default and the 'returned message' is implied, leaving the description reasonably complete.

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?

All parameters have descriptive schema entries, so the baseline is 3. The description adds no parameter-specific details beyond schema, but it does imply relevance via terms like 'matching bridge message' and 'coordination thread.' Since schema coverage is 100%, the description's lack of additional param explanation is acceptable.

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 clearly states the tool's function: 'Keep this agent turn alive until a matching bridge message arrives.' It uses a specific verb (keep/block) and resource (bridge message), and explicitly contrasts itself with reading the inbox later, distinguishing it from sibling tools like bridge_inbox.

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?

Provides explicit when-to-use guidance: 'Use this instead of ending the turn and later asking the user to tell you to read the inbox.' It also instructs to call bridge_wait again automatically if the coordination thread is active, and warns to enter it before going idle. This clearly frames the tool's intended role among alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WebisityStudio/claude-codex-mcp-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server