Skip to main content
Glama

Attach a build to a version

attach_build
Destructive

Attach a specific or newest valid build to an editable App Store version by app ID, optionally selecting platform when multiple versions are in progress.

Instructions

Attach a build to the editable version (defaults to the newest processed build). 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": "attach_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp Store Connect app ID
build_idNoSpecific build ID (from list_builds). Omit for newest VALID build.
platformNoWhich version, needed only when this app has versions in progress on more than one platform.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.3
    • addedInput schema / properties / platform
      Added value: +{
      +  "description": "Which version, needed only when this app has versions in progress on more than one platform.",
      +  "enum": [
      +    "IOS",
      +    "MAC_OS",
      +    "TV_OS",
      +    "VISION_OS"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description is not obligated to establish that this mutates state. It adds the real constraint that the version must be editable and flags a Pro-plan requirement, but it never explains why the call is destructive — i.e. that attaching a build replaces a previously attached one — which is the single most important behavioral fact here.

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?

Two short sentences with the action and its default front-loaded and no filler. It is efficient, though the parenthetical default and the plan note are compressed into the same breath rather than separated into action versus prerequisite.

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 no output schema, the definition covers the target and the defaulting behavior but omits the preconditions an agent needs: what state the version must be in, what happens to a build already attached, and whether the call is repeatable. Adequate but with clear gaps for a write operation.

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 description coverage is 100%, so all three parameters are already documented, and the description adds no per-parameter meaning beyond a general defaulting note. There is also a small inconsistency: the description says the default is the newest 'processed' build while the schema says 'newest VALID build', which could confuse an agent reasoning about build states.

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 states a specific verb and resource ('Attach a build to the editable version') rather than restating the title, and the phrase 'editable version' narrows the target meaningfully. It does not name any sibling, so an agent must infer on its own that assign_build_to_group and list_builds are different operations.

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?

The parenthetical 'defaults to the newest processed build' tells the agent it can omit build_id, and 'Pro feature' signals a plan/trial gate that points toward asc_start_trial. However, there is no explicit when-to-use versus when-not, and nothing distinguishes this from assign_build_to_group or submit_for_review.

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