Skip to main content
Glama

Create signed upload links

create_build_upload

Start a build upload and get signed links that upload the file without an API key: run the returned command in a shell, or PUT each part and POST complete to the links. The build is then checked and ready to run. For AI agents: tool arguments cannot carry a build, so hand the bytes to a shell command. command downloads the command-line tool and uploads the file (parts, then complete). Without it: PUT the raw bytes of part n (partBytes each, the last one shorter) to partUrlTemplate with {partNumber} replaced, then POST {parts: [{partNumber, etag}]} to completeUrl. The links expire at expiresAt and work only for this upload. Call find_build first to skip uploading a file that is already there. Reference: https://testsy.dev/docs/mcp/

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": {
      "projectId": "<projectId>",
      "fileName": "<fileName>",
      "size": "<size>"
    },
    "name": "create_build_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeYesSize in bytes
labelNoA label, for example the commit (optional)
fileNameYesapp.apk or MyApp.app.zip
projectIdYesProject id (p_…)
fingerprintNoNative fingerprint to store with the build, for find_build (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already state readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation profile is known. The description adds real context beyond that: the links work without an API key, expire at expiresAt, and are scoped to a single upload. It does not say what happens on retry or whether a partly uploaded build is left dangling, which matters given idempotentHint=false.

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 purpose, then the two upload modes, then the prerequisite. The brief aside 'The build is then checked and ready to run' is filler, but on the whole the tactical detail is dense and earns its space.

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?

With no output schema, the description carries the burden of explaining what comes back, and it does so: signed part URLs, a completion endpoint, the expected payload shape, and expiration. It also covers the prerequisite call and the agent-specific constraint that arguments cannot carry bytes. Nothing an agent needs in order to invoke this correctly 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 five parameters, including the optional label and fingerprint, are already documented in the schema. The description does not add meaning to any of them; its detail goes to the returned links (partBytes, partUrlTemplate, completeUrl) rather than to inputs. The baseline of 3 applies.

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?

States a specific verb and resource: 'Start a build upload and get signed links that upload the file without an API key.' This clearly distinguishes it from sibling creation tools like create_project or create_share_link, though it never names complete_build_upload, which is the obvious next step in the same flow.

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 explicit routing: for AI agents, hand bytes to a shell command, otherwise PUT parts and POST complete. It also names find_build as a prerequisite to skip redundant uploads. It stops short of naming complete_build_upload as the sibling that finishes the job.

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.