Skip to main content
Glama

APKCube

Find what a signing key signs

lookup_certificate
Read-onlyIdempotent

Every package we hold that one signing certificate is on record for. Android only installs an update signed by the key that signed what is already on the device, which makes the signing key the closest thing an app has to an identity across package names — so a key you found on one repackaged app is worth asking about, because it has usually signed others. Takes the SHA-256 fingerprint of the DER certificate (64 hex, colons and case fine). A SHA-1 IS REFUSED, free, with the reason: the record stores one fingerprint per certificate and a SHA-1 cannot be resolved to it — get the SHA-256 (keytool prints both). BOUNDED, and note says how: it covers packages we have ingested and scanned, never every app the key has signed, so it is free when we hold nothing signed by the key (total: 0), which is not to say the key signs nothing; charged even when every package the key signed has been removed (an empty items). blocked: true means the key is on our catalogue-wide blocklist and nothing it signed can be downloaded here. Taken-down packages are counted in blockedCount and not listed, so a page may be shorter than perPage.

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": {
      "fingerprint": "<fingerprint>"
    },
    "name": "lookup_certificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
perNoRows per page, 1–96. Defaults to 24.
pageNo1-based page. Defaults to 1.
fingerprintYesSHA-256 fingerprint of the signing certificate, 64 hex characters, with or without colons.

Output Schema

NameRequiredDescriptionDefault
noteYesWhat this answer is drawn from and therefore what it does not cover: the signing record we keep per package, so it covers packages we hold files for and have scanned — never every app the key has signed. A page can also be short, because withheld packages are removed after paging.
pageYes1-based page number of this result.
itemsYesNewest record first.
totalYesTotal matching rows across all pages.
blockedYesThis key is on the catalogue-wide signature blocklist: a download of anything it signed is refused whatever the anti-malware result said.
perPageYesRows per page.
subjectYesSubject as recorded, e.g. 'CN=Example, O=Example Ltd'.
algorithmYesAlways sha256. The per-package signing record stores that one fingerprint, and a SHA-1 cannot be resolved to it — sending one is refused with that reason, free.
totalPagesYesNumber of pages available.
fingerprintYesThe fingerprint as matched: lowercase hex, no separators.
blockedCountYesPackages this key is on record for that are taken down. Counted across the whole key, not this page, and withheld from `items` — a lookup is not a way to read back what has been removed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses a lot of behavior an agent could not infer: results are bounded to ingested and scanned packages, the call is free when nothing is held for the key (total: 0) but charged when all signed packages were removed (empty items), blocked: true means the key is catalogue-wide blocklisted, and taken-down packages count in blockedCount but are not listed. It also states that a SHA-1 fingerprint is refused at no cost with an explanation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The information is dense and useful, but the prose is long, run-on and heavy with capitalized emphasis (BOUNDED, REFUSED, A SHA-1 IS REFUSED), and the first sentence requires re-reading. Some content repeats the schema verbatim (64 hex, colons and case fine), which dilutes rather than earns its place.

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?

For a lookup tool with an output schema, this covers the important edge cases (empty results, blocked keys, short pages) and the cost model, leaving little an agent needs to guess. It arguably over-explains return fields that the output schema already carries, but nothing essential 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%, so the fingerprint format itself is already documented; the description nevertheless adds meaning by explaining why SHA-1 is rejected (the record stores one fingerprint per certificate and cannot resolve a SHA-1) and pointing to keytool as a source for the SHA-256. It adds no guidance on per/page beyond the schema's defaults, keeping it below a 5.

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 description makes clear this returns packages on record for a given signing certificate, framed via the app-identity analogy across package names. The core verb ('every package we hold that one signing certificate is on record for') is buried in a convoluted opening clause, and no sibling (e.g. get_signing_history, list_developer_certificates) is named to sharpen the boundary, so it is clear but not maximally crisp.

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?

It supplies a genuine usage scenario: 'a key you found on one repackaged app is worth asking about, because it has usually signed others.' However, there is no explicit when-not guidance and no named alternative tool for adjacent questions such as signing history, so the routing guidance is implied rather than stated.

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