Skip to main content
Glama

Run Tests Wait

run_tests_wait

Dispatch Unity test runs in EditMode or PlayMode and wait for the exact run to reach a terminal state. Handles timeouts and transport failures by returning snapshot data without marking the run complete.

Instructions

Dispatch tests and wait for the exact run to become terminal. Dispatches test run. No confirmation required.

Transport failures and domain reloads do not erase the last snapshot. A
caller timeout is observational only: it returns ``TIMEOUT`` with request,
run and snapshot data and never marks the Unity run complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoTest runner mode: EditMode or PlayModeEditMode
filterNoNUnit filter expression (e.g. 'MyNamespace.MyTest')
timeoutNoMax seconds to wait for completion (default 120)
request_idNoCaller-supplied idempotency ID
poll_intervalNoSeconds between status polls (default 5)
Behavior5/5

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

Beyond the readOnlyHint: false annotation, the description reveals critical behaviors: no confirmation required, transport failures and domain reloads do not erase the last snapshot, and a caller timeout is observational—returning TIMEOUT with run data without marking the run complete. These details are valuable for agent decision-making and go well beyond annotation hints.

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?

The description is compact, with a clear first sentence followed by a short behavioral note. The slight redundancy ('Dispatches test run' repeats the first sentence) prevents a perfect score, but overall it is concise and front-loaded with the core purpose.

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?

For a tool with 5 parameters, no output schema, and only a readOnlyHint annotation, the description covers the essential behavioral aspects: dispatch, wait, timeout semantics, and resilience. It does not describe the success return format or polling behavior, but the schema provides parameter details. Overall, it is sufficiently complete for the tool's complexity.

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%, with all five parameters having descriptive text in the schema. The description itself does not add further parameter-level meaning beyond what is already in the schema. It mentions timeout behavior but does not tie it to specific parameters, so the baseline of 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's function: dispatching tests and waiting for the exact run to become terminal. It uses a specific verb ('dispatch' + 'wait') and resource ('tests'), and distinguishes itself from run_tests by emphasizing the waiting behavior. The added note about no confirmation further clarifies the action.

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?

The description implies this tool is for running tests and waiting for completion, but does not explicitly compare it to alternatives like run_tests. There is no direct 'when to use' or 'when not to use' guidance, though the wait semantics are clear. The absence of exclusions or alternative references makes the guidance only moderate.

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/german-krasnikov/unity-biome-mcp'

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