Skip to main content
Glama

Complete a build upload

complete_build_upload

Finish the upload with every part's etag. The build is checked (app id, version, whether our devices can run it) and returned. Use the returned build.id in run_test {buildId} or run_project {buildIds} to run the new build. Uploading alone does not start a run. The command from create_build_upload completes the upload itself; call this only after uploading parts to the signed links yourself. Also accepts the signed completeUrl instead of an API key.

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": {
      "buildId": "<buildId>",
      "parts": "<parts>"
    },
    "name": "complete_build_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsYes[{partNumber, etag}]
buildIdYesBuild id (ab_…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (non-readOnly, non-idempotent, non-destructive), it discloses that the build undergoes validation on app id, version and device compatibility, that the validated build is returned, and that uploading alone does not start a run. The auth alternative is also behavioral context the annotations do not carry.

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-loaded with the action and the validation outcome, and each subsequent sentence carries routing or auth information. The phrasing 'The command from create_build_upload completes the upload itself' takes a moment to parse but is not wasted text.

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 two-parameter mutation with no output schema, the description covers inputs, validation behavior, the returned build, and the downstream run step. It does not say what happens when validation fails or what error/response shape to expect, which is the main remaining gap.

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 100%, so the baseline is 3, but the description adds a real constraint: the parts array must contain EVERY part's etag, not a subset. The closing note about accepting a signed completeUrl instead of an API key adds auth context, though it is not tied to any schema field and is slightly ambiguous about how it is supplied.

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 specific verb and resource — 'Finish the upload with every part's etag' — and adds that the build is validated (app id, version, device compatibility) and returned. It is clearly distinguishable from create_build_upload, which is named as the tool that produces the signed links.

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

Usage Guidelines5/5

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

Gives explicit when-to-use routing: pass the returned build.id to run_test {buildId} or run_project {buildIds}. It also gives a when-not: the CLI command from create_build_upload already completes the upload, so call this only after uploading parts to the signed links yourself. An alternative auth path (signed completeUrl instead of an API key) is also stated.

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.