Skip to main content
Glama

Game / Run

game-run

Run a Godot scene windowless for a set game time and return its errors, warnings, and printed output—so you can reproduce runtime issues and verify fixes in one call.

Instructions

Run the game (the main scene, or 'scene') windowless in a separate process for 'seconds' of game time and return, in one call, its errors and warnings (with GDScript backtraces) and what it printed. Use it to reproduce a runtime error and to check a fix; no play / wait / stop / log reading needed. It runs the files as saved: save scene edits first (rql-mutate editor | call SaveScene()); C# changes need script-build first. Nothing is rendered, so errors that need a GPU or a window do not show.

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": "game-run"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneNores:// (or uid://) path of the scene to run; omit for the project's main scene.
secondsNoGame time to run, in seconds (fixed 60 frames per second, so a light game finishes faster than real time). Default 3, at most 60.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.42.2

TDQS

A4.6/5.0
Behavior4/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing that the run is out-of-process and windowless, so GPU/window-dependent errors are invisible, and that it executes files as saved rather than in-memory edits. The one gap is that it doesn't say whether the run can hang or time out beyond the 60-second game-time cap.

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?

Front-loaded with what it does and returns, then usage, then prerequisites, then the rendering caveat — a sensible order with no filler sentences. Slightly dense in places (quoted 'scene'/'seconds', the parenthetical 'rql-mutate editor | call SaveScene()'), but nothing is extraneous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 must describe returns and it does: errors, warnings with backtraces, and printed output, all in one call. Combined with prerequisite ordering and the no-GPU limitation, an agent has everything needed to call it correctly or not at all.

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% and already documents both parameters including the default 3 / max 60 bound, so the baseline is 3. The description adds real semantic value by clarifying that 'seconds' is game time at a fixed 60 fps, meaning a light game finishes faster than wall-clock, which prevents a wrong mental model of the timeout.

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?

States a specific verb and resource ('Run the game ... windowless in a separate process') plus the return payload (errors, warnings with GDScript backtraces, printed output). This clearly separates it from screenshot-camera/screenshot-viewport (render) and script-execute (code snippet).

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('reproduce a runtime error and to check a fix') and explicitly removes the alternatives ('no play / wait / stop / log reading needed'). It also spells out prerequisites that gate the call: save scene edits via rql-mutate editor | SaveScene(), and run script-build first for C# changes.

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