Skip to main content
Glama

peer_wait_until_complete

Read-only

Wait for a peer turn to complete, returning its response or completion status once the turn finishes or the wait window expires.

Instructions

Quietly wait for a previously-started peer turn and return only when it completes or the wait window ends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
peerIdYes
turnIdNo
threadIdYes
maxResponseCharsNo
waitWindowSecondsNoQuiet wait window. Reaching it returns turnCompleted false, not a task failure.
pollIntervalSecondsNoSeconds between internal app-server reads while waiting.
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. Description adds that reaching wait window returns turnCompleted false, not a failure, and that it waits quietly. No contradiction with 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?

Single sentence, no extraneous words, front-loaded with purpose. Every word earns its place.

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

Completeness3/5

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

No output schema present; description does not mention return value format (e.g., turnCompleted boolean). Adequate for high-level behavior but incomplete for a 6-parameter tool with no output schema.

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

Parameters2/5

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

Schema description coverage is only 33%, with 'waitWindowSeconds' and 'pollIntervalSeconds' described. The description does not explain 'peerId', 'threadId', 'turnId', or 'maxResponseChars', relying on schema which lacks descriptions for those. Insufficient compensation for low coverage.

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 it waits for a previously-started peer turn and returns only on completion or wait window end. The verb and resource are specific, distinguishing from sibling tools like 'peer_wait' which may be generic.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage after starting a peer turn but does not explicitly state when not to use or compare with alternatives like 'peer_wait' or 'peer_read'. Clear context but lacking exclusion guidance.

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/shotaro311/codex-peer'

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