Skip to main content
Glama

godot_run_tests

Run GdUnit4 tests for Godot projects with optional path or name filtering, timeout control, and continue-on-failure behavior to validate code changes.

Instructions

Execute GdUnit4 tests with optional filtering.

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": "godot_run_tests"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoTest path or file
filterNoTest name filter
timeoutNoTimeout in milliseconds (default: 300000 = 5 minutes)
continue_on_failureNoDon't stop on failure

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing about what happens on failure, whether the runner requires a live Godot instance, whether it blocks, or what a run returns. The timeout and continue_on_failure semantics exist only as schema hints, not in the description.

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?

A single front-loaded sentence with zero filler or repetition. However, the brevity reads as under-specification rather than economy, since the sentence could have carried one or two more essential facts at the same length.

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?

For a four-parameter test-runner with no annotations and no output schema, the definition is thin: it says nothing about result reporting, failure modes, or how timeout and continue_on_failure interact with a run. An agent can guess it runs tests, but not how to interpret or sequence a call.

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%, so all four parameters (path, filter, timeout, continue_on_failure) are already documented in structured form, which sets the baseline at 3. The description's only nod is 'optional filtering,' which adds no meaning about filter syntax (substring vs regex vs suite name) 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?

States a specific verb (Execute) and resource (GdUnit4 tests) plus the scoping modifier 'with optional filtering,' which implicitly distinguishes a suite-level run from the sibling godot_run_test_file. It never names that sibling or explicitly say 'run a whole suite rather than one file,' so differentiation is left to inference.

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?

There is no guidance on when to use this versus godot_run_test_file or godot_generate_test, no prerequisites (e.g., whether a Godot project/editor must be open), and no indication of when filtering is appropriate. 'Optional filtering' is the only usage-adjacent phrase in the description.

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