Skip to main content
Glama

APKCube

Check a build's integrity

get_version_security
Read-onlyIdempotent

What one build actually IS: its SHA-256, the anti-malware verdict, the certificates that signed it, and every Android permission it declares with a plain-English gloss. Defaults to the newest build, so you do not need list_versions first. findings is the part to read first: it applies our rules to the manifest and native facts on the same response and names what they imply — a debuggable build, a version that disagrees with the listing, cleartext traffic, components any app on the device can start, a packer. Two severities, warning and notice, and NEITHER is a verdict; an empty findings is not an all-clear, because a manifest nobody read produces no findings either. Read this BEFORE recommending an install, and read the nulls carefully — scanned: false and virusTotal: null mean nobody has looked, which is not the same as clean, and permissions: null means the manifest was never read, which is not the same as an app that asks for nothing.

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_version_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
apkIdNoA specific build from list_versions. Omit for the newest one.
packageNameYesAndroid package id.

Output Schema

NameRequiredDescriptionDefault
md5NoMD5 of the artifact, computed at ingest. Null on builds ingested before it was computed — never a claim the file has no MD5.
sha1NoSHA-1 of the artifact, when one was reported. Computed at ingest where available, else taken from the VirusTotal report. An identifier for matching a published IOC — sha256 is the integrity check.
apkIdYesThe build this describes — the one asked for, or the newest held.
pairipNoGoogle PairIP licence protection, which breaks a plain sideload. The same signal reaches natives.protectors as the id 'pairip' when the native walk ran; this field is the scan's own boolean and answers even when natives is null.
sha256YesSHA-256 of the artifact. The same value the version list and the download call publish.
nativesNoNative libraries the artifact ships: abis, libs (name, largest uncompressed size, the ABIs carrying it) and protectors. NULL means the archive's directory could not be read; empty lists are the factual 'ships no native libraries', which is ordinary for a split bundle's base APK. A protector is NOT a malware signal — anti-piracy and anti-tamper are what they are sold for — but it does mean the app's own code was not open to inspection, so treat other analysis of the same artifact as partial.
scannedYesSomething has analysed this artifact. When false, every field below is null or zero and NONE of it means 'clean'.
verdictYesOur overall reading of the artifact.
findingsNoWhat manifest and natives already imply, read for a caller who should not have to know Android to notice it. EMPTY IS NOT AN ALL-CLEAR: absence is never a finding, so an empty array also covers the case where the manifest was never read — manifest: null beside it is how you tell those apart. Warnings first.
manifestNoWhat the artifact's own AndroidManifest.xml declares beyond the permissions it requests: targetSdk, compileSdk, debuggable, usesCleartextTraffic, allowBackup, sharedUserId, installLocation, the permissions it DEFINES, uses-feature, uses-library, components exported without a permission guard, and its own versionCode/versionName. NULL means nobody read the manifest. A key ABSENT inside the object means the manifest does not declare that attribute — never that it declares the platform default. Its versionCode against the versionCode above is the only check there is on what the store claimed: they disagreeing means the file is not the build the listing describes.
scannedAtNoWhen the analysis ran, ISO 8601.
signatureNoSignature validation. Null when that stage did not run.
virusTotalNoAnti-malware analysis for this hash. NULL means nobody has looked — only a non-null object with flagged: 0 is an all-clear.
packageNameYesThe package asked for.
permissionsNoNULL means the manifest was never read — not that the app declares none. An empty array is the genuine 'declares none'.
versionCodeYesIts build number.
versionNameYesVersion name of that build.
permissionSummaryNo'24 declared · 5 sensitive'. Null whenever `permissions` is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/open-world; the description adds substantial semantics on top: the two severity levels, the explicit warning that neither severity nor an empty findings array is a verdict, and the crucial null semantics (scanned:false, virusTotal:null, permissions:null all mean 'nobody looked', not 'clean'). That distinction is exactly the kind of behavioral context annotations cannot convey.

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 core identity of the resource, and the backtick-quoted field names make the guidance scannable. It is a single dense paragraph whose later sentences about nulls and findings are long but each carries non-obvious safety information, so little is truly waste.

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?

Complete for a two-parameter read tool: the annotations cover the safety profile, an output schema exists so return shape need not be described, and the description instead covers the interpretive traps (verdict vs. finding, null vs. clean) that the output schema cannot express.

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?

Schema coverage is 100% and both parameters are already documented, so the schema carries the weight. The description's only parameter-related statement, that omitting apkId defaults to the newest build, repeats the schema's own wording for apkId rather than adding meaning.

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?

Concretely enumerates what the response contains: SHA-256, anti-malware verdict, signing certificates, and declared permissions with plain-English gloss, which goes well beyond the title's vague 'integrity'. It does not, however, differentiate itself from likely-overlapping siblings such as get_manifest, get_protection, or get_raw_scan, so an agent must infer the boundary.

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?

Gives a clear decision point — 'Read this BEFORE recommending an install' — and removes a prerequisite by stating it defaults to the newest build so list_versions is not needed first. It stops short of naming an alternative tool or an exclusion case (e.g., when to prefer get_manifest for raw structure).

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