Skip to main content
Glama

APKCube

Check a variant build

get_variant_status
Read-only

Where one variant of an app stands: READY with the build (its variantId goes to get_download_url), FETCHING (keep waiting, 10–30 seconds between checks), FAILED with a reason (request_variant retries), or NEEDS_FETCH (nobody has asked for it, or it expired — call request_variant). Free when the build is still running (FETCHING); any other answer costs 1 credit, including when nobody has requested that variant (NEEDS_FETCH).

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": {
      "packageName": "<packageName>",
      "variant": "<variant>"
    },
    "name": "get_variant_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
variantYesWhich build: `<arch>[+all-langs][@sdkNN|@vcN]` with arch one of arm64-v8a, armeabi-v7a, universal, or `device:<slug>[+all-langs]`. Plain `arm64-v8a` is the ordinary build and not a variant. `+all-langs` carries every language Google Play has rather than the standard 24; armeabi-v7a is the 32-bit ARM build; universal is both ARM ABIs in one bundle; `@sdkNN` (NN one of 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24) asks for the newest build that runs on that Android version; `@vcN` asks for one exact build by its versionCode (not combined with `@sdkNN`; refused with UNLIKELY_VERSION when N is not written like this app's build numbers); `device:<slug>` is exactly what Play serves that device and takes neither pin. Device slugs: pixel-9a, galaxy-s25-ultra, nothing-phone-1, samsung-f34-5g, samsung-s20-plus, samsung-a13-5g, redmi-note-12-4g, xiaomi-11-lite-5g-ne, poco-f1, oneplus-8-pro, huawei-mate-20, xperia-5, oppo-r17, xiaomi-mi-a1, redmi-7, realme-5i, nokia-1-3, realme-5-pro, samsung-j5-prime, pixel-9-pro-fold, pixel-tablet, shield-tv, bravia-vu2, bravia-vh22, pixel-watch-3, hp-googlebook-14, play-games-pc. Examples: `armeabi-v7a`, `universal+all-langs`, `arm64-v8a@sdk28`, `arm64-v8a@vc1234`, `device:pixel-9a`.
packageNameYesAndroid package id.

Output Schema

NameRequiredDescriptionDefault
buildNo
errorNoFAILED only: why, in words safe to show a person.
statusYesREADY: `build` is live — mint it. FETCHING: being built; poll again in 10–30 seconds. FAILED: the last build failed, see `error`; requesting again retries. NEEDS_FETCH (status only): nobody has asked for this variant of the current release, or its build expired — request it.
variantYesThe variant asked about.
packageNameYesThe package.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations only declare readOnlyHint/openWorldHint/non-idempotent; the description adds the operational facts those annotations cannot convey: credit consumption semantics, expected poll cadence, and that NEEDS_FETCH can mean 'expired' as well as 'never requested'. Nothing here contradicts idempotentHint=false, since the returned state changes over time.

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?

The state→action mapping is front-loaded and every clause carries information; no filler. It is dense and parenthetical-heavy, which costs a little parseability, but nothing is redundant enough to cut.

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?

For a read-only status tool with a rich variant grammar and an output schema, the definition covers the state model, waiting behavior, retries and cost. An agent can call it correctly and knows what to do with each possible answer without consulting siblings' schemas.

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 description coverage is 100%, and the `variant` description already carries the full grammar, device slugs and examples, so there is little semantic space left. The description adds only that the returned `variantId` is what get_download_url consumes, which is output-side rather than parameter-side information.

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 ('where one variant of an app stands') and enumerates the four possible outcomes (READY, FETCHING, FAILED, NEEDS_FETCH), so an agent knows exactly what question this answers. It implicitly distinguishes itself from get_fetch_status and request_variant by routing to them from specific states.

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 next actions per outcome: READY → pass `variantId` to get_download_url, FETCHING → poll again in 10–30 seconds, FAILED → request_variant retries, NEEDS_FETCH → call request_variant. It also states the cost rule (free while FETCHING, 1 credit otherwise, including NEEDS_FETCH), which is exactly the decision input an agent needs before polling.

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