Skip to main content
Glama

wait_for_turn

Read-onlyIdempotent

Pauses until it is your turn or the game ends, within a seconds limit plus connection time, helping an MCP client decide when to act in a Lichess game.

Instructions

Wait for own turn or game termination, bounded by seconds plus connection time.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "game_id": "<game_id>"
    },
    "name": "wait_for_turn"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNocompact
game_idYes
secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, idempotent operation, so the lower bar applies. The description adds useful wait semantics by saying the wait is bounded by seconds plus connection time, but it does not explain timeout behavior or what is returned.

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 a single efficient sentence with no filler. The core wait condition and timing bound are front-loaded.

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

Completeness2/5

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

For a tool with no output schema, the description should clarify what the caller receives on turn arrival, game termination, or timeout. It does not address those return semantics, and the parameter documentation gap remains substantial despite clear annotations.

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 0%, so the description must carry parameter meaning. It adds some context for 'seconds' by noting connection time affects the bound, but it does not explain 'game_id', the compact/full 'detail' enum, or defaults and limits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: waiting for the caller's turn or for game termination. It is clear enough to distinguish this from state-reading siblings like get_game_state, though it does not explicitly name alternatives.

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?

Usage is implied by 'wait for own turn or game termination' and the bounded wait. There is no explicit guidance on when to prefer this over checking game state, when not to use it, or what to do after timeout.

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