Skip to main content
Glama

Install App Store signing profiles

setup_app_store_signing
Destructive

Prepares App Store binary signing without cloud-signing permission: downloads and installs app/extension provisioning profiles, then writes a manual-signing ExportOptions.plist for build_and_archive.

Instructions

Prepare App Store binary signing without the cloud-signing permission many API keys lack: downloads the app's IOS_APP_STORE provisioning profiles (app + extensions), installs them, and writes a manual-signing ExportOptions.plist for build_and_archive. If the app has no App Store profile yet it creates one (confirm:true) from the account's distribution certificates. Needs an Apple Distribution certificate already in the keychain. Pro feature.

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": {
      "app_id": "<app_id>"
    },
    "name": "setup_app_store_signing"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp Store Connect app ID
confirmNoNeeded only when the app has no usable App Store profile (none yet, or Apple invalidated it after a capability or certificate change): confirm:true creates a fresh one on your Apple Developer account.
output_plistNoWhere to write ExportOptions.plist (default ./ExportOptions.plist)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.14.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Needed only when the app has no App Store profile yet: confirm:true creates one on your Apple Developer account."New value: +"Needed only when the app has no usable App Store profile (none yet, or Apple invalidated it after a capability or certificate change): confirm:true creates a fresh one on your Apple Developer account."
  2. Changed1 schema field changedv1.12.1
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Needed only when the app has no App Store profile yet: confirm:true creates one on your Apple Developer account.",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by enumerating the actual side effects: downloading app and extension profiles, installing them into the keychain, writing a plist to disk, and potentially creating a new profile on the Apple Developer account. It also discloses the prerequisite (an Apple Distribution certificate already in the keychain) and the Pro gating, which are exactly the facts an agent needs before invoking a mutating tool.

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?

The purpose and the key constraint are front-loaded in the opening clause, and every sentence carries information about prerequisites, side effects, or the downstream tool. It is dense to the point of being packed, but there is no filler to cut.

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 mutating three-parameter tool with no output schema, the description covers the prerequisites, the disk and account side effects, the conditional creation path, and the Pro gate. Nothing an agent needs to decide whether and how to call it is missing.

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 100%, so all three parameters are already documented, and the description largely restates them (confirm:true for profile creation, ExportOptions.plist as the write target). It adds the useful nuance that confirm is triggered when a profile is missing or was invalidated by Apple, but that is a marginal gain over the schema text.

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?

Names a specific verb and resource (downloads/installs provisioning profiles and writes ExportOptions.plist) and frames the distinguishing scope: signing preparation without the cloud-signing permission many API keys lack. An agent can separate this from build_and_archive, which it explicitly serves as a prerequisite for.

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 clear context for when this applies (preparing App Store binary signing before build_and_archive, specifically when the key lacks cloud-signing permission) and states the condition under which confirm:true is needed. It stops short of explicitly naming an alternative path for keys that do have cloud-signing permission, so the exclusion is implied rather than stated.

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