Skip to main content
Glama

Import a build from a link

import_build

Fetch a build from an https link (an EAS, Bitrise, S3 or GitHub artifact link, up to the build size limit) into the project; it is checked and ready to run. Nothing to upload from your side. The link must be https to a public host name; up to 3 redirects are followed. headers (optional, at most 5: Authorization or X-… names) are sent to the first host only, for a private artifact store. The file name comes from Content-Disposition or the link; it must be an .apk or a zipped .app. Run the result with run_test {buildId} or run_project {buildIds}. Call find_build first when the file may already be 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>",
      "url": "<url>"
    },
    "name": "import_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps link to the build file
labelNoA label, for example the commit (optional)
headersNoRequest headers for the link, e.g. {"Authorization": "Bearer …"} (optional)
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

A4.7/5.0
Behavior5/5

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

Annotations only declare the safety profile (openWorld, non-idempotent, non-destructive); the description adds substantive behavior: https-only public hosts, max 3 redirects, a size limit, header scoping to the first host for private artifact stores, filename derivation from Content-Disposition or the link, and the .apk / zipped .app requirement. It also states the file is validated and ready to run, which the annotations cannot convey.

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 core action and then packed with constraints in tight sentences; almost nothing is wasted. It borders on dense run-on prose, and the trailing documentation URL adds little for an agent.

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?

With no output schema, the description still implies the return by referencing buildId in the run_test follow-up, and it covers source restrictions, headers, and file-type validation. What is missing is failure behavior (what happens when the link 404s, exceeds the size limit, or violates the redirect cap) and the concrete size threshold.

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 already 100%, so the baseline is 3, but the description adds real meaning the schema lacks: headers are limited to at most 5, restricted to Authorization or X-… names, and sent only to the first host. It also constrains url to https on a public host name with up to 3 redirects. Minor gap: label and fingerprint are not given extra meaning beyond the schema.

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 ("Fetch a build from an https link ... into the project"), enumerates the accepted source kinds (EAS, Bitrise, S3, GitHub), and pre-empts confusion with the upload siblings via "Nothing to upload from your side". An agent can distinguish this from create_build_upload/complete_build_upload without opening schemas.

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 sequencing: call find_build first when the file may already exist, then run_test {buildId} or run_project {buildIds} on the result. It also implies the when-not condition for the upload flow ("Nothing to upload from your side"), leaving little to inference.

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.