Skip to main content
Glama

upload_build

Build the app in this project with the simulated device (the same build shipvo sim makes), upload it to the hosted phone for this key, and return a build id. Then call open_app("@build:") on the hosted server. The build is private to your account and is deleted when it expires. Runs only on the local (stdio) server, because it reads your project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoApp id (default: read from the project's shipvo config)
dirNoProject folder (default: the server's working directory)
wait_msNoHow long to wait for the result before returning { status: "running", job } (default 20000). Read it later with job_status.
skip_buildNoUpload the existing sim-dist folder without building again

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wait_ms
      Added value: +{
      +  "description": "How long to wait for the result before returning { status: \"running\", job } (default 20000). Read it later with job_status.",
      +  "maximum": 55000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that the build is private to the account, is deleted on expiry, only works on the local stdio server, and that exceeding wait_ms returns { status: "running", job }. That lifecycle and local-only constraint is exactly the context an agent cannot get from readOnlyHint/openWorldHint.

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 action and its output, then the required follow-up, then the constraints. Every sentence carries information, though the run of three constraints in a row is dense enough that a list would read faster.

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 still states the return value (a build id), the async fallback shape, and the expiry behavior, and covers the local-only limitation. Nothing an agent needs to invoke it 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 the schema already documents app, dir, wait_ms, and skip_build. The description adds only the polling hint that a running job can be read later with job_status; it says nothing new about app/dir defaults or skip_build that the schema does not already carry.

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?

Names a specific verb and resource (build the app in this project) and states the full effect: build, upload to the hosted phone for this key, return a build id. The parenthetical tying it to the `shipvo sim` build makes the artifact concrete, and the follow-up open_app call separates it from the sibling that merely opens apps.

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 a clear precondition — runs only on the local (stdio) server because it reads the project — and prescribes the follow-up step open_app("<app>@build:<id>"). It does not explicitly contrast with siblings like apply_update or export_test, so the agent must infer which to prefer for pure build/upload work.

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.