Skip to main content
Glama

Put a build into a channel

promote_build
Idempotent

Publish a build to a channel as the active version after confirmation so its install link and QR code open it; Team gated channels need a completed release checklist and no open blocker.

Instructions

Make a build the newest in a channel (for example beta or live) so the channel link and QR code open it. Using an older build rolls the link back; apps already installed are not changed. On Team the gated channel (Live by default) refuses a build until its release checklist is ticked and no release blocker is open; see release_checklist. Ask the person first and pass confirm: true. Pro and Team, Developer role.

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": {
      "build": "<build>",
      "channel": "<channel>",
      "confirm": "<confirm>"
    },
    "name": "promote_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildYesBuild id or the slug of its install link
channelYesChannel name, created on first use
confirmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.7

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (idempotent, non-destructive, non-read-only), the description discloses the consequential behaviors: already-installed apps are not changed, an older build causes a link rollback, Team gated channels can refuse the call, and human confirmation is required. It also states the plan and role requirements (Pro and Team, Developer role), which annotations cannot express.

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?

Front-loads the effect, then consequences, then the Team gate, then the confirmation and eligibility tacks. Dense but each clause carries distinct information; the packed semicolon phrasing makes it marginally harder to scan than it could be.

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

Completeness4/5

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

For a small three-parameter mutation with no output schema, this covers the effect, side effects, rollback semantics, gating prerequisites, confirmation requirement, and eligibility. It does not describe the response or what happens if the channel gate refuses (error shape), but that gap is minor at this complexity.

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 67% and the undocumented parameter is confirm, whose `const: true` schema tells an agent nothing about intent. The description supplies that intent — ask the person first and pass confirm: true — which is genuine added meaning. build and channel are already explained in the schema, so no further detail is owed.

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?

States a concrete verb+resource+effect: make a build the newest in a channel so the channel link and QR code open it. That effect statement separates it cleanly from siblings like add_build_link or set_channel_address, which do not change what the channel link points at.

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 usage context: use it to point a channel at a build, using an older build deliberately rolls back, and Team gated channels require a ticked release checklist plus no open blocker before it will succeed. It routes to release_checklist for the gate but does not compare itself to the other link-management siblings, so guidance is strong but not exhaustive.

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