Skip to main content
Glama

waitForNextTurn

Blocks until the opponent makes a move, returning the updated board state or a timeout message. Use to wait for your next turn.

Instructions

Blocks until it is the Agent's turn (or User's turn via Agent proxy).
Waits up to 30 seconds for the opponent to move.

Returns:
- Board state (Markdown)
- UI Board (HTML) if showUi is true
- Or 'Timeout' message if no move happens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
game_idYesThe ID of the active game.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the 30-second timeout, possible return types (Board state, UI Board, Timeout message), and the blocking nature. Could mention prerequisites like 'game must be active' but overall good transparency.

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 extremely concise, front-loads the main purpose, and uses clear bullet points for return values. Every sentence adds value with no redundancy.

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?

Given the tool's simplicity (1 parameter, no output schema, no annotations), the description covers essential aspects: blocking behavior, timeout, and return types. Missing details about error conditions (e.g., invalid game ID) but still sufficiently 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?

Schema coverage is 100% for the single parameter 'game_id', which the schema describes fully. The description adds no extra meaning beyond what the schema provides, so baseline 3 is appropriate.

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 blocks until it is the agent's turn, with a specific verb (blocks) and resource (turn). It distinguishes from siblings like createGame, finishTurn, and joinGame by focusing on waiting and observing the board state.

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?

The description implies usage after finishing a turn to wait for the opponent, mentioning timeout and return values. It does not explicitly state when not to use it or name alternatives, but the context is clear enough for selection.

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/fritzprix/chess-mcp-server'

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