Skip to main content
Glama

APKCube

Check app availability

check_availability
Read-onlyIdempotent

Free. Whether we hold a downloadable build of each of up to 100 packages, the newest one's versionName and versionCode, and versions: every build we hold by versionCode and versionName, highest code first — the cheap way to check for updates before calling list_versions or get_download_url. Send every package you are checking in one call rather than looping. Each lands in one of three lists: items for packages we know (available false when we hold no build), notFound for ones we have never seen, and refused for ones we will not serve at all, with the reason a download would give.

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": {
      "packageNames": "<packageNames>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageNamesYesAndroid package ids, 1–100.

Output Schema

NameRequiredDescriptionDefault
itemsYesPackages we know, in the order sent — `available` false when we hold no build.
refusedYesPackages we will not serve at all, with the reason a download would give.
notFoundYesIds with no row in the catalogue.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered; the description adds cost ('Free', 'cheap'), a batching constraint, and the exact three-bucket outcome model with `refused` carrying the refusal reason a download would produce. That is genuine behavioral context beyond structured fields, though it says nothing about auth or the size/shape of large `versions` payloads.

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-loading 'Free.' is smart and the routing hint lands at the end with no filler sentences. The cost is the long em-dash fragment in the opening sentence, which reads awkwardly and could be a clean sentence, but no content is wasted.

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, yet the description still adds the bucket semantics an agent needs to branch on (items / notFound / refused) and the `available: false` edge case. Combined with the batch limit and the alternative tools, nothing needed 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single `packageNames` array, so the baseline would be 3; the description earns more by framing the parameter as a batch ('every package you are checking in one call', cap of 100) rather than a single lookup, which is the non-obvious usage decision for this parameter.

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?

The description names a concrete resource (downloadable builds per package), the exact payload returned (newest versionName/versionCode plus `versions` with every build, highest code first), and the batch bound of 100 packages. It explicitly separates itself from list_versions and get_download_url as 'the cheap way to check for updates', so an agent can pick the right sibling without opening either 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?

It states when to use it ('before calling list_versions or get_download_url') and gives an explicit anti-pattern to avoid ('Send every package you are checking in one call rather than looping'). The only thing not spelled out is authentication, which is a precondition rather than a routing decision.

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