Skip to main content
Glama

build_project

Build an O3DE project by running CMake configure and build, with configurable timeouts and profile, debug, or release configurations.

Instructions

Build an O3DE project using CMake.

This runs CMake configure followed by CMake build. Timeouts are configurable via O3DE_CONFIGURE_TIMEOUT and O3DE_BUILD_TIMEOUT environment variables.

Args: project_path: Path to the O3DE project. config: Build configuration -- profile, debug, or release (default: profile).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configNoprofile
project_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does add genuine value by revealing the two-stage behavior (CMake configure followed by CMake build) and the configurable timeout environment variables. However, it does not disclose whether the call blocks until completion, how long a build might take, what happens on failure, or whether the result can be tracked via get_build_status.

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?

The description is tight and front-loaded: the main statement comes first, the process detail second, and the timeout note third. The Args section is warranted because the schema provides zero parameter descriptions. Every sentence earns its place, though the overall structure could arguably fold the second sentence into the first.

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 build operation that configures and compiles a project, the description covers the core invocation needs: what it does, the parameters, and timeout controls, and the output schema covers return values. But it omits behavioral expectations an agent needs — whether the call is synchronous or long-running, whether the build is tracked elsewhere, and how this relates to sibling tools start_build and get_build_status. These gaps are significant for a tool with zero annotations.

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 description coverage is 0%, so the description must compensate fully, and it largely does. The Args section documents both parameters: project_path is explained as 'Path to the O3DE project,' and config is given concrete allowed values ('profile, debug, or release') plus its default. The only shortfall is that project_path lacks details like absolute-vs-relative or whether the project must be registered.

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 statement, 'Build an O3DE project using CMake,' and clarifies the mechanism by stating it 'runs CMake configure followed by CMake build.' This makes the tool's function unambiguous. However, it never explicitly differentiates itself from sibling build-related tools like start_build, so it stops short of a 5.

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 guidance or comparison against alternatives such as start_build, get_build_status, or export_project. The only usage-adjacent information is the timeout environment-variable configuration, which is a tuning detail rather than a directive about when this tool is the right choice. The agent is left to infer which build tool to select.

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