Skip to main content
Glama

build_compile_scripts

Compiles game scripts headlessly and returns structured compiler errors with file, line, code, and message parsed from the engine log instead of a raw log dump.

Instructions

Compiles game scripts headlessly. Returns structured compiler errors (file/line/code/message) parsed from the engine log, not a raw log dump.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorsYes
exitCodeYes
timedOutYes
succeededYes
errorCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, and the description usefully clarifies the output is parsed structured errors rather than a raw log dump, which is real added context. It does not disclose side effects of a non-read-only compile (artifact writes, project state changes, or prerequisites such as a prior build_generate_projects run), leaving a meaningful gap for a mutation-flagged tool.

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?

Two tight sentences with zero waste; the core action is front-loaded and the output characteristic follows immediately. Nothing in the description is filler.

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 an output schema present and no parameters, the description carries little burden and covers purpose plus the distinctive return-value character. The main omission is any indication of prerequisites or relation to the build pipeline siblings.

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?

The tool takes zero parameters and the schema coverage is 100%, so there is nothing to disambiguate. Baseline 4 applies for a no-parameter tool.

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 and resource ("Compiles game scripts") plus a scope qualifier ("headlessly"), so the agent knows exactly what operation it performs. It does not, however, distinguish itself from sibling tools like build_check_scripts or editor_compile, leaving the agent to infer the difference.

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?

The description gives no when-to-use or when-not-to-use guidance. With build_check_scripts, editor_compile, build_generate_projects, and build_game all present as siblings, an agent has no stated criterion for choosing this tool over those.

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