Skip to main content
Glama
xcode-cloud-mcp

xcode-cloud-mcp

by thatfactory

Resolve TestFlight Builds from an Xcode Cloud Run

get_build_run_testflight_builds
Read-onlyIdempotent

Verify an Xcode Cloud run, workflow, and app, then look up TestFlight-eligible builds linked to the run so you can hand off only ready build IDs.

Instructions

Verify an exact run, workflow and App Store Connect app, then look up the externally eligible builds linked to the run. For automatic handoff, supply both the expected canonical branch ref and full source commit SHA. Use build IDs only when the overall status is ready.

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": {
      "buildRunId": "<buildRunId>",
      "workflowId": "<workflowId>",
      "appId": "<appId>",
      "platforms": "<platforms>"
    },
    "name": "get_build_run_testflight_builds"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesExpected App Store Connect app resource ID.
platformsYes
buildRunIdYesExact run ID or xcode-cloud://build-run URI.
workflowIdYesExpected workflow ID or xcode-cloud://workflow URI.
expectedSourceRefNo
expectedSourceCommitShaNo

Output Schema

NameRequiredDescriptionDefault
appIdYes
statusYes
buildRunYes
platformsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered; the description adds the meaningful behavioral facts that inputs are *verified* against expectations and that only externally eligible builds are returned. It does not say what happens on a verification mismatch (error vs. empty result), which is the main remaining gap.

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?

Three short sentences, front-loaded with the verify-then-lookup sequence and no filler. Some phrasing is compressed to the point of ambiguity ('the overall status' — of the run? of the builds?), costing a little clarity.

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?

An output schema exists, so return values need not be described, and the safety profile comes from annotations. However, for a tool that gates on verification and serves a release handoff, the description leaves 'externally eligible', the purpose of the required platforms filter, and mismatch behavior to domain inference.

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 only 50%, and the description compensates for two of the three undocumented parameters: expectedSourceRef is characterized as the canonical branch ref and expectedSourceCommitSha as the full SHA, plus the non-obvious coupling that both must be supplied together for automatic handoff. The required 'platforms' array is left entirely unexplained, which keeps this below 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?

States a specific two-stage action: verify an exact run, workflow and App Store Connect app, then look up externally eligible builds linked to that run. The verb and resource are concrete and distinguishable from siblings like get_test_results or list_build_runs, though no sibling is named for contrast.

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?

Gives a real conditional: supply both expectedSourceRef and expectedSourceCommitSha for automatic handoff, and use build IDs only when overall status is ready. It does not name an alternative tool or an explicit when-not-to-use case, so it stops short of full routing guidance.

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