Skip to main content
Glama

Run Tests

run_tests
Idempotent

Dispatch Unity tests and get a durable run ID immediately. Retry with the same request_id to avoid duplicate executions when transport fails.

Instructions

Dispatch Unity tests and return their durable identity immediately.

A successful response is
``tests-started|request_id=...|run_id=...|utf_guid=...|state=dispatched``.
If transport fails after dispatch may have happened, the result is
``START-UNKNOWN`` with the same request_id; resolve it instead of retrying
with a new identity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoTest runner mode: EditMode or PlayModeEditMode
filterNoNUnit filter expression (e.g. 'MyNamespace.MyTest')
request_idNoCaller-supplied idempotency ID — reuse to retry a failed dispatch without double-running
Behavior5/5

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

The description goes well beyond the idempotentHint annotation by disclosing the exact success response format, the START-UNKNOWN failure mode, and the correct resolution strategy (reusing the same request_id). This is critical behavioral information that an agent needs to handle dispatch reliably.

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 four concise lines, front-loaded with the core purpose. Every sentence adds value: the action, the success format, and the failure handling. No filler or redundant information.

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, the description compensates by specifying the response protocol. It covers the main dispatch flow and the transport-failure edge case. However, it does not mention how to check results later (e.g., via run_tests_wait), leaving a slight gap in the overall workflow for a dispatch-only tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaning for request_id by explicitly tying it to the START-UNKNOWN resolution flow, and it mentions run_id and utf_guid in the response, reinforcing the durable identity concept. It does not explain mode or filter beyond the schema, but the added context for request_id elevates it.

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 action ('Dispatch Unity tests') and the distinctive outcome ('return their durable identity immediately'). This differentiates it from the sibling run_tests_wait by emphasizing the immediate, async nature of the dispatch.

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 usage for asynchronous dispatch and provides operational guidance on handling START-UNKNOWN, but it does not explicitly contrast with alternatives such as run_tests_wait or state when not to use this tool. The guidance is more about handling edge cases than selecting between tools.

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