Skip to main content
Glama

apply_testflight_distribution

Destructive

Executes a TestFlight distribution plan by applying only host-approved operation IDs, requiring write and beta distribution authorization. Uncertain writes are verified by read-back rather than replayed.

Instructions

Apply the exact host-approved operation IDs in a current TestFlight distribution plan. Requires --allow-writes and --allow-beta-distribution. Apple review and availability are separate observations. Uncertain writes are read back without replay.

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": {
      "planId": "<planId>",
      "digest": "<digest>",
      "operationIds": "<operationIds>",
      "authorization": "<authorization>"
    },
    "name": "apply_testflight_distribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
digestYes
planIdYes
operationIdsYes
authorizationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructive/open-world/non-idempotent behavior, and the description adds real context beyond them: Apple review and availability are separate concerns, and uncertain writes are reconciled by read-back rather than replay — meaningful given idempotentHint=false. It does not say what state a partial failure leaves behind.

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 front-loaded sentences with no filler; scope and gating come first. The CLI-style flag names are jargon that a tool-calling agent may not be able to act on, 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?

For a destructive mutation with four required parameters, no output schema, and no schema descriptions, the definition covers gating, scope, and retry semantics but omits what the call returns, what is destroyed on failure, and the meaning of digest and authorization.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. 'Host-approved operation IDs' and 'current plan' add some context for operationIds and planId, but digest and the nested authorization/confirmedByHost object get no explanation, leaving half the required parameters opaque.

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 names a specific verb and resource: 'Apply the exact host-approved operation IDs in a current TestFlight distribution plan.' That clearly separates it from the planning sibling (plan_testflight_distribution), though it never names the alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states prerequisites ('Requires --allow-writes and --allow-beta-distribution'), which implies this is a gated, post-planning step. It does not say when to prefer or avoid this tool versus re-planning, and the flag names do not map to any schema parameter.

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