Skip to main content
Glama

Check what the exported game will hold

godot_export
Read-onlyIdempotent

Checks Godot export presets against files scripts and scenes load before exporting, flagging missing filters, runtime paths, BOM issues, and absent templates; inspects .pck for missing or extra files.

Instructions

Compare the export presets (export_presets.cfg) with what the scripts and scenes load, without exporting: files that exclude_filter leaves out although they are preloaded or loaded (Godot leaves them out even when something needs them, so the build fails there), plain data files (text, binary, GeoJSON, cfg, XML, YAML; JSON and imported CSV are fine) that Godot only exports when include_filter names them, paths built at run time under an excluded folder, a BOM that makes Godot read no presets; plus whether export templates are installed. preset limits it to one preset (name or number). pck: read an exported .pck (or a game executable with the pack inside) instead, without Godot, and compare it with the project: files the game loads that are missing, editor-only and test files shipped. Read-only. Run it before an export and after changing what the game loads; godot_export_run exports for real.

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_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
pckNoan exported .pck or game executable to read and compare
pathNoproject folder, or a file or folder inside it (relative to the server's folder; default: the current project)
presetNoonly this preset (its name or number)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.0
    • changedInput schema / properties / path / description
      Previous value: -"The project folder, or any file or folder inside it (Godotwright walks up to project.godot). Relative paths start at the server's folder. Default: the current project."New value: +"project folder, or a file or folder inside it (relative to the server's folder; default: the current project)"
    • addedInput schema / properties / pck
      Added value: +{
      +  "description": "an exported .pck or game executable to read and compare",
      +  "type": "string"
      +}
  2. Addedv0.2.2

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses that nothing is exported, that `pck` mode works without Godot at all, and why the findings matter (Godot omits needed files, so the build fails). It does not describe the shape of the findings or how they are reported, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Almost all content earns its place, but the opening sentence is a ~90-word run-on with nested parentheses and semicolons that forces re-reading. Front-loading is only partial: the actual verb-object (compare presets with loaded files) is buried inside the first clause.

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 three-parameter diagnostic tool with no output schema, it covers the checks performed, the two operating modes, and the workflow position relative to godot_export_run. The only real gap is that it never hints at what the report looks like (per-file list? pass/fail summary?), which an agent would want to know for interpreting results.

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 the baseline is 3. The description does clarify that `preset` accepts a name or a number and that `pck` is an alternative operating mode rather than a filter, but `path` is left entirely to the schema and no extra syntax or interaction between `pck` and `preset` is explained.

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 names a specific action and resource: comparing export_presets.cfg against what scripts and scenes actually load, without running an export. It enumerates the concrete classes of problems it finds (exclude_filter dropouts, unlisted data files, run-time built paths, BOM breaking preset reads, missing export templates) and explicitly distinguishes itself from the sibling that does export, godot_export_run.

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?

It states when to run it ("before an export and after changing what the game loads") and names the alternative that performs the real export. It also carves out the second mode clearly: use `pck` instead when you already have an exported .pck or game executable and want a post-hoc comparison.

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