Skip to main content
Glama

autopilot_tuist_build

Builds Tuist-managed Xcode projects by detecting the Tuist version, running install/fetch and generate, then executing xcodebuild to return structured compile errors.

Instructions

Build a Tuist-managed Xcode project. Automatically detects Tuist version and runs the correct commands: v4+ uses 'tuist install' + 'tuist generate', v3.x uses 'tuist fetch' + 'tuist generate'. Then runs xcodebuild and returns structured errors with source context, same format as autopilot_build. Use skip_install or skip_generate to skip steps already completed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_directory": "<project_directory>",
      "scheme": "<scheme>"
    },
    "name": "autopilot_tuist_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemeYesBuild scheme name
destinationNo
skip_installNo
configurationNoDebug
skip_generateNo
workspace_pathNo
include_warningsNo
project_directoryYesAbsolute path to the directory containing Project.swift or Tuist/

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses version auto-detection, the exact command sequence per Tuist major version, that xcodebuild runs afterward, and the structured error return with source context matching autopilot_build. It omits side effects (e.g., that generate regenerates project files) and any timeout/rate-limit behavior, keeping 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.

Conciseness5/5

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

Three sentences, front-loaded with the purpose, then the version-specific command pipeline, then the skip-flag escape hatch. The version detail reads as necessary behavior rather than padding, and nothing is redundant.

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 an 8-parameter mutation-style build tool with no annotations and no output schema, the description explains the workflow, the return format, and the skip semantics well. It is still thin on how workspace_path interacts with project_directory and on what configuration/include_warnings affect, which an agent would need before calling.

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 coverage is only 25%, so the description must compensate; it explains the intent of skip_install and skip_generate ('skip steps already completed') but leaves destination, configuration, workspace_path, and include_warnings entirely undocumented in both places. Partial compensation only.

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?

States a specific verb+resource ('Build a Tuist-managed Xcode project') and immediately distinguishes itself from the sibling autopilot_build by naming that tool's error format as the reference. An agent can tell this is the Tuist-specific build path rather than the generic build.

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?

Usage context is clear: this is for Tuist-managed projects, and the description adds explicit guidance to use skip_install/skip_generate when steps were already completed. It does not explicitly say when NOT to use it (e.g., non-Tuist projects should use autopilot_build), but the contrast is implicit and strong.

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