Skip to main content
Glama

ios_testflight

Destructive

Archive a scheme and upload the build to App Store Connect for TestFlight, with an App Store Connect API key kept on this Mac (keyId and issuerId; the issuer is remembered after the first upload). An uploaded build cannot be taken back and its build number is used up: confirm with the user first. buildNumber defaults to a UTC timestamp so every upload is new. Runs as a background job and returns its jobId; poll ios_build_status with it.

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": "<project>",
      "scheme": "<scheme>"
    },
    "name": "ios_testflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyIdNoApp Store Connect API key ID; the key file stays in ~/.appstoreconnect/private_keys. With it, Xcode may update signing profiles
schemeYes
teamIdNoApple Developer team ID for signing, when the project has none (DEVELOPMENT_TEAM)
projectYes.xcodeproj or .xcworkspace path from ios_projects
deviceIdNoComputer name or id
issuerIdNoApp Store Connect issuer ID; remembered on this Mac after the first TestFlight upload
buildNumberNoSets CURRENT_PROJECT_VERSION
configurationNo
workSessionIdNoFrom create_work_session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id; optional with one computer or a default"New value: +"Computer name or id"
    • removedInput schema / properties / scheme / minLength
      Removed value: -1
  2. Changed2 schema fields changed
    • changedInput schema / properties / deviceId / description
      Previous value: -"Computer name or id from list_devices. Optional with one computer online or a default set."New value: +"Computer name or id; optional with one computer or a default"
    • changedInput schema / properties / workSessionId / description
      Previous value: -"Work session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work."New value: +"From create_work_session"
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, but the description adds substantial non-obvious behavior: the upload cannot be undone, the build number is consumed, a user confirmation is required, the API key file lives in a local directory, the issuerId is persisted after the first upload, and execution is asynchronous with a returned jobId. These are exactly the operational facts an agent cannot infer from the annotations or schema.

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?

Four sentences, front-loaded with the purpose, then the risk warning, then the default behavior, then the async return contract. Nearly every clause carries information, though the opening sentence is long and packs in the key-storage detail before the more decision-relevant irreversibility warning.

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

Completeness5/5

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

For a 9-parameter destructive, open-world, asynchronous tool with no output schema, the description covers the essentials: what it does, that it is irreversible, that user confirmation is required, that authentication material is local and partly persisted, and that the return value is a jobId consumed by ios_build_status. Little an agent needs in order to call this safely is missing.

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 78%, so the schema does most of the work, but the description adds real meaning beyond it: buildNumber defaults to a UTC timestamp (the schema only says it sets CURRENT_PROJECT_VERSION), and issuerId is remembered after the first upload. keyId's local key-file location is also restated in context. Remaining parameters (configuration, deviceId, workSessionId) get no extra explanation, which is acceptable given their schema descriptions.

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?

The first sentence names specific verbs and a resource ('Archive a scheme and upload the build to App Store Connect for TestFlight'), which is enough for an agent to distinguish it from ios_archive (archive only) and ios_build_status (polling). The scope qualifier ('with an App Store Connect API key kept on this Mac') further pins down the variant of upload being performed.

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?

Explicit pre-call guidance is given: 'confirm with the user first' because the upload is irreversible and consumes a build number. It also routes the agent to the correct follow-up tool ('poll ios_build_status with it') and explains the buildNumber default so the agent knows when to override it. It stops short of stating when to prefer ios_archive or ios_build instead, so the exclusion side is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources