Skip to main content
Glama

build

Build Xcode projects using xcodebuild with options for target, scheme, configuration, and destination to compile iOS/macOS applications.

Instructions

Build an Xcode project using xcodebuild. Can specify target, scheme, configuration, and destination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathYesPath to the .xcodeproj directory
schemeNoScheme to build (optional if target is specified)
targetNoTarget to build (optional if scheme is specified)
configurationNoBuild configuration (Debug or Release). Defaults to Debug.
destinationNoBuild destination, e.g., "platform=iOS Simulator,name=iPhone 15"
cleanNoClean before building
Behavior2/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 states the tool builds an Xcode project but doesn't describe what happens during execution (e.g., whether it shows build output, returns success/failure, handles errors, or requires specific permissions). For a build tool with potential side effects, this lack of behavioral context is a significant gap.

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?

The description is extremely concise—just two sentences that directly state the purpose and key parameters. Every word earns its place with no redundancy or fluff. It's front-loaded with the core action and efficiently lists relevant parameters without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a build tool with 6 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns (build logs, success status, artifacts), error handling, or execution context. Given the complexity of building Xcode projects and the lack of structured metadata, the description should provide more complete operational context.

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 schema already documents all 6 parameters thoroughly. The description adds minimal value by listing some parameter names (target, scheme, configuration, destination) but doesn't provide additional semantics beyond what's in the schema. This meets the baseline for high schema coverage.

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 clearly states the action ('Build an Xcode project using xcodebuild') and specifies the resource (Xcode project). It distinguishes from siblings like list-projects or read-project by focusing on building rather than listing or reading. However, it doesn't explicitly differentiate from potential build-related siblings that might exist in other contexts.

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 provides no guidance on when to use this tool versus alternatives. While it mentions parameters like target, scheme, configuration, and destination, it doesn't indicate when to choose this tool over other build tools or how it relates to the listed sibling tools (list-projects, list-schemes, etc.). There's no mention of prerequisites, dependencies, or typical workflow context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/airdrop-alpha/xcode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server