Skip to main content
Glama

control_wait_prompt

Long-polls until this client must respond, returning the prompt sequence, decision type, and candidate counters so an agent can continue the Yu-Gi-Oh! duel loop.

Instructions

Long-poll until it is this client's turn to respond. Returns the prompt: seq (pass it back to control_act), curMsg (what kind of decision), and candidate counters. This is the main agent loop primitive.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "control_wait_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNolast seq you handled (0 for the first call)
timeout_msNomax wait, default 30000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does usefully disclose that the call blocks ('Long-poll') and enumerates the return fields. It omits what happens on timeout expiry (empty result, error, or retry), whether calls must be serialized per client, and any concurrency assumptions for a multi-client loop primitive.

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?

Three short sentences, front-loaded with the blocking behavior and the return contract, with no redundant restatement of the schema. 'Candidate counters' is left undefined, which costs a small amount of clarity without adding bulk.

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?

There is no output schema, so the description is the only source for return values, and it does list them, but 'candidate counters' and 'what kind of decision' remain vague. Combined with the absence of annotations and no timeout-result semantics, a loop primitive that an agent will call repeatedly is described adequately but not completely.

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 description coverage is 100%, with both 'since' and 'timeout_ms' documented inline, so the schema does the heavy lifting for a baseline of 3. The description adds only the linkage that the returned seq feeds control_act, not additional meaning for 'since' (e.g., resumption semantics after a gap) or timeout behavior.

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?

States a concrete action ('Long-poll until it is this client's turn to respond') and names the returned payload (seq, curMsg, candidate counters), so the resource and effect are identifiable. It also hints at its position relative to control_act, though undefined terms like 'prompt' and 'candidate counters' keep it from fully distinguishing itself from siblings such as control_ready or control_state.

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?

'This is the main agent loop primitive' implies this is the default entry point into the loop, and mentioning that seq is passed back to control_act gives a concrete usage path. However, there is no explicit when-not guidance, no mention of how it differs from control_ready/control_state/control_lobby, and no stated prerequisites.

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