Skip to main content
Glama

project_diagnostics

Validate GDScript files and Godot scenes headlessly and return structured diagnostics, with optional --import pre-run to catch errors before launch.

Instructions

Validate GDScript files and scenes via headless Godot, optionally running --import first, and return structured diagnostics.

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

Input Schema

NameRequiredDescriptionDefault
runImportNo
projectPathNo
scriptsOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; it does state the execution mode (headless Godot), an optional import phase, and that results come back as structured diagnostics. It omits important traits such as whether the import step writes to the project directory, how failures/exit codes surface, and whether timeouts or permissions matter.

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 well-formed sentence with the verb and resource front-loaded and no filler. It is efficient, though "structured diagnostics" is a slightly vague payoff that could have been spent on parameter meaning instead.

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?

For a tool with no annotations, no output schema, and three undocumented parameters, the description covers the core action but not the invocation details an agent needs. The return shape is only gestured at, and parameter defaults or required context for projectPath are absent.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must compensate and largely does not. "Optionally running --import first" loosely maps to runImport, but projectPath and scriptsOnly are never explained, leaving an agent to guess what scriptsOnly filters.

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?

The description names a specific verb ("Validate"), a specific resource (GDScript files and scenes), and the mechanism (headless Godot), which separates it from inspection siblings like scene_inspect or project_info. It stops short of explicitly contrasting itself with those tools, so it lands just below the top band.

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 when-to-use or when-not-to-use guidance and no named alternative among the many siblings (scene_inspect, project_info, run_headless_script). The only usage hint is the optional --import step, which is a behavior detail rather than routing guidance.

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