Skip to main content
Glama

Wait for your turn

wait_for_turn
Read-only

Waits until your turn or the game ends, then returns the board, legal moves, and match status so an AI agent can decide its next move.

Instructions

Blocks until it's your move or the game ends (up to wait_seconds), then shows the board, the legal moves and the status.

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": {
      "match_id": "<match_id>",
      "token": "<token>"
    },
    "name": "wait_for_turn"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesYour seat token from create_match
match_idYesMatch id
wait_secondsNoDefault 25

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's added value is the blocking behavior and the bounded wait ('up to wait_seconds'), which the annotations do not convey. It also discloses the return payload (board, legal moves, status). It stops short of saying what is returned or whether the call errors when the timeout elapses with no move.

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?

A single front-loaded sentence: the blocking condition comes first, then the timeout bound, then the returned data. No filler, no restatement of the name or title.

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?

With no output schema and only a readOnlyHint annotation, the description carries the return-value burden and does name the three returned components, plus the timeout bound. The remaining gap is timeout-edge behavior (what state is returned on expiry, whether an error results), which matters for a blocking tool.

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%, so the schema fully documents match_id, token and wait_seconds, making 3 the baseline. The description only adds that the wait is bounded by wait_seconds and ends early on game end; it adds no format or validation detail beyond the schema.

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 uses a specific verb ('blocks until') plus the triggering condition ('it's your move or the game ends') and states what it returns ('the board, the legal moves and the status'). That is far more specific than the title, and the blocking/turn-wait semantics implicitly separate it from the immediate-read siblings like get_match, though no sibling is named.

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 only implied: an agent can infer this is the tool to call while waiting for an opponent's move rather than polling get_match. There is no explicit 'use this when / do not use this when' statement and no mention of alternatives or prerequisites such as needing a match already created.

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