Skip to main content
Glama
udah1

cursor-chat-bridge

Wait for the user's reply

bridge_await

Wait for and retrieve a chat reply after sending a message, returning the response text, timeout, or stopped status. Use this to get the answer without resending.

Instructions

Blocks on this conversation's chat thread for a single long-poll window and returns JSON with status 'message' plus the reply text, 'timeout', or 'stopped'. Use it when you already posted with bridge_send and only need the answer; to post and wait together, prefer bridge_send_and_await. Replies are consumed as they are delivered, so each message comes back exactly once and a later call will not see it again. A 'timeout' is normal rather than an error — the window elapsed with no reply, and you keep waiting by calling again. 'stopped' means the user ended remote chat mode, so stop calling bridge_* tools until a new bridge_start.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionYesSession handle returned by bridge_start for THIS conversation. Routes the call to the right chat thread and keeps concurrent conversations — even two in the same workspace — from crossing over.
maxBlockMsNoHow long to wait for a reply before giving up and returning status 'timeout', in milliseconds. Defaults to 50000 and is capped at 55000 to stay inside the MCP call timeout — wait longer by calling again, not by raising this.
Behavior5/5

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

Adds significant behavioral context beyond annotations: replies are consumed exactly once, a 'timeout' is normal and not an error, and 'stopped' indicates the user ended remote chat mode. These details help the agent anticipate non-obvious behaviors.

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?

Four sentences, each earning its place: the first states the core function, the second gives usage guidance, the third explains consumption behavior, and the fourth clarifies status semantics. Front-loaded with the primary purpose.

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?

With no output schema, the description thoroughly explains return values and all possible statuses, including edge cases (timeout is normal, stopped means stop calling). Covers usage prerequisites and post-conditions, making it complete for an agent to operate correctly.

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?

The input schema fully documents both parameters with detailed descriptions (session routing/concurrency, maxBlockMs default/cap). The description does not add additional parameter-level semantics beyond the schema, so the baseline of 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?

The description uses a specific verb ('Blocks') and resource ('this conversation's chat thread'), and specifies the exact return statuses ('message', 'timeout', 'stopped'). It clearly distinguishes itself from the sibling bridge_send_and_await by stating when each should be used.

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 states when to use this tool ('when you already posted with bridge_send and only need the answer'), names the alternative ('prefer bridge_send_and_await'), and gives post-condition guidance ('stop calling bridge_* tools until a new bridge_start' after 'stopped').

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/udah1/cursor-chat-bridge'

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