Skip to main content
Glama

APKCube

Fetch a missing app

request_fetch

Ask us to download an app from Google Play when list_versions came back empty. Costs 10 credits, even when we already have builds (READY) or Google Play doesn't list the app — so call list_versions first. Free only when a fetch for the app is already running (FETCHING). A fetch usually takes a few minutes. Poll get_fetch_status every 10–30 seconds — not this tool — and call list_versions once it says READY. Paid apps and apps Google Play will not deliver to us are refused with the reason. An app not in the catalogue yet is looked up on Google Play live, for up to 20 seconds; UPSTREAM_UNAVAILABLE / UPSTREAM_BUSY then is refunded and means Play did not answer in time, not that the app does not exist — retry after a few seconds.

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>"
    },
    "name": "request_fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageNameYesAndroid package id.

Output Schema

NameRequiredDescriptionDefault
errorNoFAILED only: why, in words safe to show a person.
statusYesREADY: we hold builds — list the versions. FETCHING: a job is queued or running; poll again in a few seconds. FAILED: the last job failed; see `error`.
terminalNoFAILED only, and present only when retrying cannot help: Google Play will not deliver this app to us. Absent means another fetch request may succeed.
updatedAtNoStatus read only: when the job last moved.
packageNameYesThe package this fetch is for.

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?

Goes well beyond the annotations: discloses the 10-credit cost, the single case where it is free (FETCHING), that credits are charged even for already-built or unlisted apps, typical duration of a few minutes, refusal reasons for paid/unavailable apps, and that UPSTREAM_UNAVAILABLE/UPSTREAM_BUSY are refunded and mean a timeout rather than a missing app. This is exactly the cost and failure semantics an agent needs before invoking a non-idempotent, open-world call.

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 trigger condition and cost, and dense with no filler. It runs long in a single paragraph, and the error-code sentence is packed tightly, but nearly every clause carries actionable information.

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?

An output schema exists, so return values need no explanation; the description instead covers the things structured fields cannot — cost, refunds, latency, polling cadence, and refusal cases. Nothing an agent needs to call 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?

Only one parameter with 100% schema description coverage, so the schema already carries the burden. The description adds a little meaning — that an app absent from the catalogue is looked up live on Play — but nothing about packageName format or resolution 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 — ask the service to download an app from Google Play — and immediately binds it to a precondition (list_versions returned empty), which separates it from list_versions and get_fetch_status.

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?

Explicit when-to-use ('when list_versions came back empty'), explicit prerequisite ('call list_versions first'), and explicit routing away from this tool for polling ('Poll get_fetch_status every 10–30 seconds — not this tool'). Alternatives and the follow-up action after READY are both named.

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