Skip to main content
Glama

Start build (spends credits)

create_build

Trigger an Android build. Credits deducted immediately: debug=10, starter=50, professional=100. Call get_account first to verify sufficient credits. Response includes estimatedWaitSeconds — use wait_for_build to wait for completion. On 402 insufficient_credits: surface the purchaseUrl from the error to the user. Never auto-retry.

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": {
      "siteId": "<siteId>",
      "buildTier": "<buildTier>"
    },
    "name": "create_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesThe siteId of the app to build
buildTierYesdebug = 10 credits (APK, test only) | starter = 50 (signed AAB) | professional = 100 (all features)

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 it is a non-idempotent, non-destructive write; the description goes well beyond by disclosing immediate credit deduction with per-tier pricing, the estimatedWaitSeconds response field, the 402 error contract, and a no-retry policy. That is exactly the behavioral context an agent needs before spending credits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, each carrying distinct information: action, cost, precondition, follow-up, error handling, retry policy. Front-loaded with the action and cost, zero filler.

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?

No output schema exists, yet the description names the key return field (estimatedWaitSeconds) and the failure contract (402 with purchaseUrl). For a two-parameter credit-spending mutation, nothing essential 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 both parameters and the tier enum are already documented in the schema; the description's credit table largely repeats the tier descriptions rather than adding new meaning. The siteId parameter gets no elaboration at all, so this is baseline rather than additive.

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 ("Trigger an Android build") with an immediate scope note that it spends credits. An agent can distinguish this from siblings like get_build_status and wait_for_build without opening any schema.

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 prerequisites ("Call get_account first to verify sufficient credits"), a named follow-up ("use wait_for_build to wait for completion"), an error path (402 → surface purchaseUrl), and a prohibition ("Never auto-retry"). When-to-use, when-not-to-retry, and alternatives are all covered.

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.

Resources