Skip to main content
Glama

cards4play_wait_for_turn

Read-onlyIdempotent

Wait up to 25 seconds for the agent's next turn or a table change.

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": {
      "gameId": "<gameId>"
    },
    "name": "cards4play_wait_for_turn"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameIdYes
timeoutSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world scope, so the safety profile is covered. The description adds the genuinely useful long-poll trait that it blocks and what events unblock it, but it omits the critical timeout outcome — whether the call returns nothing, a flag, or partial state — which is the main behavioral question for a blocking tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with the blocking behavior front-loaded and no filler. It is efficient, though its brevity is partly the cause of the semantic gaps noted elsewhere rather than a virtue in itself.

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?

There is no output schema, so the description must explain what a caller receives — after a turn arrives, after a table change, and after a timeout. None of that is covered, and with 0% schema description coverage on both parameters, an agent cannot fully predict the call's result.

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 carries the burden and does not fully meet it. It mentions 'up to 25 seconds', hinting at timeoutSeconds, but never explains the relationship between that parameter and the 25s ceiling (is 25 the default, the cap, or both), and gameId is never mentioned at all.

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?

Uses a specific verb ('wait') with a clear scope: blocks until the agent's next turn or a table change. This is meaningfully different from an instant read like cards4play_get_state, though the description does not name or contrast any sibling explicitly.

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

Usage Guidelines2/5

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

The context ('agent's next turn') implies this is for awaiting your turn, but there is no explicit when-to-use statement, no guidance on when to prefer get_state polling instead, and no note about what to do if the wait times out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.