Skip to main content
Glama

build_project

Compile or cook an Unreal Engine project with real-time progress streaming, using UBT for compilation or RunUAT BuildCookRun for packaging after project setup.

Instructions

Build the UE project (streams progress in real time).

action: 'compile' (UBT compile) or 'cook' (RunUAT BuildCookRun). target: Build target suffix, compile only (Editor, Game, Client, Server). Default 'Editor'. configuration: Development, Shipping, DebugGame, etc. Compile only. platform: Win64, Linux, etc. extra_args: Additional arguments passed to UBT or RunUAT.

Requires project to be configured via setup_project first. Progress notifications are streamed to the client during the build.

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

Input Schema

NameRequiredDescriptionDefault
actionNocompile
targetNoEditor
platformNoWin64
extra_argsNo
configurationNoDevelopment

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: builds stream progress notifications in real time, and cook maps to a different backend (RunUAT BuildCookRun) than compile. It omits duration/blocking semantics, failure behavior, and whether a build mutates or cleans existing artifacts, which matter for a long-running heavy operation.

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 purpose sentence followed by a tight per-parameter breakdown with no filler. The progress-streaming fact is stated twice (opening parenthetical and closing line), which is minor redundancy.

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 5-parameter build tool with zero schema descriptions, the definition covers the prerequisite, both action modes, and all parameter meanings, and an output schema exists so return values needn't be explained. What remains thin is failure/timeout behavior for a long-running operation.

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 0%, so the description must compensate, and it does: all five parameters get meaning beyond the bare titles, including the valid target suffixes, configuration examples, platform examples, and the 'compile only' scope restriction on target/configuration. It does not restate the schema defaults or enumerate full valid value sets, so it is not a 5.

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 opens with a specific verb+resource ('Build the UE project') and immediately disambiguates the two build modes ('compile' = UBT compile, 'cook' = RunUAT BuildCookRun), which is the key distinction an agent needs. It stops short of naming a sibling, but the tool's intent is unmistakable.

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

Usage Guidelines4/5

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

It gives a hard prerequisite ('Requires project to be configured via setup_project first') and explains how to choose between the two actions. It offers no explicit when-not-to-use guidance (e.g. use launch_editor for merely opening the project), so it lands just below the top band.

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