Skip to main content
Glama

archive_project

Archives the active Xcode project into an .xcarchive file for distribution, using a specified scheme and configuration.

Instructions

Archives the active Xcode project for distribution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemeYesThe scheme to archive. Must be one of the schemes available in the project.
archivePathYesPath where the .xcarchive file will be saved.
destinationNoOptional destination specifier (e.g., 'generic/platform=iOS'). If not provided, uses the default destination for the scheme.
configurationYesBuild configuration to use (e.g., 'Debug' or 'Release').
exportOptionsPlistNoOptional path to an export options property list file for subsequent export operations.
Behavior2/5

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

With no annotations, the description carries full burden but provides only the basic action. It does not disclose side effects (e.g., creating an .xcarchive file), prerequisites (e.g., active project, valid scheme), or potential failures. The description adds no behavioral context beyond the verb itself.

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?

Single sentence, front-loaded with the verb and resource, no fluff. However, it is so brief that it sacrifices completeness for conciseness.

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 5-parameter tool with no annotations and no output schema, the description is insufficient. It omits key context like output format, required project state, and relation to export operations. The schema covers parameters but not tool behavior or workflow.

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 descriptions cover 100% of parameters with clear definitions. The description does not add extra parameter-level semantics, so the baseline of 3 is appropriate given high schema coverage.

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?

Description clearly states the action ('Archives'), the resource ('active Xcode project'), and the purpose ('for distribution'). This distinguishes it from sibling tools like build_project or export_archive.

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?

No explicit guidance on when to use this tool versus alternatives. The phrase 'for distribution' provides some context but does not indicate when not to use it or when to prefer a different tool (e.g., export_archive).

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/r-huijts/xcode-mcp-server'

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