Skip to main content
Glama

APKCube

Trace the signing key

get_signing_history
Read-onlyIdempotent

Which certificate signed which releases of a package, and where the key moved. Android will only install an update signed by the key that signed what is already on the device, so a hasKeyReplacement: true means the newer build is not an update of the older one — it is a different app under the same package name, which is what a repackaged app looks like. unreadVersions lists releases whose signature we never read; those are gaps, not agreement.

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": "get_signing_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageNameYesAndroid package id.

Output Schema

NameRequiredDescriptionDefault
erasYesNewest era first.
signersNoCertificates on record for the package.
summaryYesOne sentence naming what the timeline shows.
packageNameYesThe package this timeline covers.
unreadVersionsYesReleases whose signing block was never read, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once. A gap in coverage, published as a gap so it is not mistaken for agreement.
hasKeyReplacementYesAt least one era shares no key with the era before it. Android will not install such a build over the existing app, and a key that changed without a rotation is the strongest repackaging signal there is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / eras / items / properties / versions / description
      Previous value: -"Version names in this era, newest first."New value: +"Releases in this era, newest first, 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 / unreadVersions / description
      Previous value: -"Releases whose signing block was never read. A gap in coverage, published as a gap so it is not mistaken for agreement."New value: +"Releases whose signing block was never read, by version name, with the build number in brackets (`1.0.0 (5)`) when the developer shipped that name more than once. A gap in coverage, published as a gap so it is not mistaken for agreement."
  2. First observed

TDQS

A3.7/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 real value beyond that by explaining what a `hasKeyReplacement: true` result actually means for update validity and by flagging that `unreadVersions` represents data gaps rather than positive agreement — a caveat an agent could easily misread.

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?

Three sentences, front-loaded with the core question the tool answers, then two targeted explanations of specific result fields. The parenthetical aside about Android install behavior is longer than strictly needed but earns its place by justifying the interpretation rule.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so raw return shapes need not be described, yet the description supplies interpretation rules for two non-obvious fields, which is exactly the right use of the space. For a single-parameter read tool this is close to sufficient; only explicit when-to-use routing is absent.

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?

There is a single parameter at 100% schema coverage, so the schema already documents `packageName` fully. The description refers to 'a package' but adds no format, casing, or lookup guidance beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause names the exact resource and scope: which certificate signed which releases of a package and where the key moved. That is specific enough to distinguish it from siblings like get_protection or get_version_security without naming them, though a reader must infer the verb (retrieve/trace) from the name rather than the text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the use case (detecting repackaged apps, verifying update-signature continuity) but never states when to call this tool versus alternatives, nor any prerequisites such as needing a known package id. Usage is inferable rather than prescribed.

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