Skip to main content
Glama

APKCube

Compare two builds

compare_versions
Read-onlyIdempotent

What changed between two releases: permissions gained and lost, whether the signing key moved, size and minimum Android. Name either side by version name or by version code — the code is tried first, because a version name is free text the developer sets and is often a placeholder. A version name the developer shipped more than once (two builds under one name) matches its newest build; name an older one by its version code. Order does not matter; the higher build number is treated as the newer. Check permissionsKnown before reading two empty permission lists as 'nothing changed'.

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>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "compare_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe other release, by version name or version code.
fromYesOne release, by version name or version code. A version name the developer shipped more than once (two builds under one name) matches its newest build; name an older one by its version code.
packageNameYesAndroid package id.

Output Schema

NameRequiredDescriptionDefault
sizeNoByte delta for one arch present in both releases. Null when they share none — comparing across differing split sets would report a change that is only a change in what we store.
minSdkNoMinimum Android API level move, when both sides are known and differ.
versionYesThe newer of the two, whichever order they were asked for in, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once.
noteworthyYesWorth a human's attention: a permission was gained, or the signer moved.
newCertShasNoCertificates signing the newer release but not the older one.
packageNameYesThe package compared.
signerChangeNo'same', 'added', 'narrowed', 'changed' or 'replaced'; null when either side's signature was never extracted.
previousVersionYesThe older of the two, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once.
permissionsAddedNo
permissionsKnownYesBoth releases had their manifests read. When FALSE the permission arrays are empty because we could not look, not because nothing moved.
signerChangeLabelNoShort reading of `signerChange`.
permissionsRemovedNo
signerChangeDetailNoWhat it means for whoever installs the build.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"One release, by version name or version code."New value: +"One release, by version name or version code. A version name the developer shipped more than once (two builds under one name) matches its newest build; name an older one by its version code."
    • changedOutput schema / properties / previousVersion / description
      Previous value: -"The older of the two."New value: +"The older of the two, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once."
    • changedOutput schema / properties / version / description
      Previous value: -"The newer of the two, whichever order they were asked for in."New value: +"The newer of the two, whichever order they were asked for in, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once."
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious resolution behavior (code-first matching, duplicate names resolve to the newest build), but does not explain what happens when a version cannot be resolved or what the comparison does across differing package names.

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 what-changed summary is front-loaded, and the resolution rules follow in logical order. The prose is dense and one clause about duplicate version names appears both here and in the schema, but nothing is genuinely 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?

For a three-parameter, read-only diff tool with a full output schema, this covers what an agent needs: how to address each side, how ambiguity is resolved, that order does not matter, and the `permissionsKnown` caveat that prevents misreading empty permission lists as 'nothing changed'.

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%, so the baseline is 3, and the description rises above it by clarifying that from/to ordering is irrelevant and by explaining why version code takes precedence over version name. It largely restates the schema's duplicate-name rule for `from` rather than adding new meaning there.

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 specific verb and resource (compare two releases) and enumerates what the diff covers: permissions gained/lost, signing key movement, size, and minimum Android. That is far more specific than siblings like list_versions or get_signing_history, which return single facets rather than a diff.

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?

It gives strong operational guidance: either side can be addressed by version name or code, the code is tried first because names are free text, and order does not matter since the higher build number is treated as newer. It stops short of saying when to prefer this over a sibling such as get_signing_history or list_permissions for a single-facet lookup.

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