Skip to main content
Glama

APKCube

Read the stored scan record verbatim

get_raw_scan
Read-onlyIdempotent

The whole stored analysis record for one build, exactly as stored and with none of our rules applied — for when you want to judge the facts yourself rather than read our conclusions. It carries two things no other tool publishes: the EVIDENCE DIGEST every SDK match is drawn from (dex package prefixes, manifest component names, intent actions, how much code was read), so you can match it against your own corpus; and each signing certificate's serial and signature algorithm. Also the raw VirusTotal counters and every flagging vendor. Prefer the narrower tools when you want an answer — get_version_security, get_protection, list_trackers, list_permissions, get_manifest — and reach for this when you want the inputs. A build nobody has scanned is scanned: false, which is not a clean result.

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

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
md5NoMD5 of the same artifact. An identifier for matching a published IOC, never an integrity check.
sha1NoSHA-1 of the same artifact, ours where we computed one, else VirusTotal's.
apkIdYesThe build this describes — the one asked for, or the newest held.
certsYesEvery signer certificate found, with the full X.509 detail — including the serial and the certificate's own signature algorithm, which the projected signer shape does not carry. Empty on scans that predate multi-signature support; read `signature` below for those.
pairipNoGoogle PairIP detected. NULL = not reported by the engine that scanned this.
sha256YesThe artifact's SHA-256, from the version row — the bytes a download serves.
statusNoQueue state of the record: PENDING | ACTIVE | COMPLETED | FAILED. Only COMPLETED is a finished analysis; FAILED is one that will not finish, and its stored facts are whatever completed before it stopped.
nativesYesThe native inventory as stored: abis, libs, protectors.
scannedYesA scan record exists. FALSE and everything below is null or empty — none of which means clean.
verdictNoOur classification, as stored: verified | secure | caution | dangerous | unverified | pending.
evidenceYesWhat the scan SAW, with no judgement in it: dex package prefixes truncated at `depth`, manifest component class names, intent actions, how much code was read, and which tiers were capped. Every SDK match on this surface is drawn from this — published so you can run your own corpus against it instead of ours. NULL = scanned before the digest existed, or unreadable.
manifestYesThe manifest facts as stored. Same object the manifest endpoint publishes.
scannedAtNoISO 8601.
signatureYesThe legacy single-signer columns, kept because scans predating multi-signature support have these and an empty `certs`.
virusTotalYesThe counters verbatim, every vendor that flagged the file, and the submission context. found:false means VirusTotal had no report for this hash, which is not a clean result.
packageNameYesThe package asked for.
permissionsYesRaw manifest permission names, unlabelled and in the manifest's own order. NULL = the manifest was never read; [] = it declares none.
versionCodeYesIts build number.
versionNameYesVersion name of that build.
evidenceVersionNoWhich digest schema produced `evidence`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly/idempotent/openWorld), yet the description adds substantive behavior the annotations cannot: which fields are exclusive to this tool (evidence digest, cert serial and signature algorithm, raw VirusTotal counters), and a genuine trap—'scanned: false, which is not a clean result'—preventing a false-negative read. It also declares that no local rules are applied, so results may differ from sibling tools.

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 definition, then layered with the unique payload, then the routing advice, then the caveat—a sensible order. Slightly verbose in the framing clause ('for when you want to judge the facts yourself rather than read our conclusions'), which restates what 'none of our rules applied' already conveyed.

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, so return-shape explanation is not owed, yet the description still names the salient contents an agent would otherwise have to discover at runtime. For a two-parameter read tool with full annotations, nothing needed for correct invocation or interpretation is missing.

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 description coverage is 100% and both parameters are documented in the schema itself (packageName as Android package id, apkId with omit-for-newest semantics). The description adds no syntax, format, or default information 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.

Purpose5/5

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

States a specific verb and resource ('the whole stored analysis record for one build, exactly as stored and with none of our rules applied') and immediately marks its distinguishing property: verbatim, unprocessed data rather than derived conclusions. An agent can tell this apart from get_version_security or get_protection 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?

Gives explicit routing in both directions: 'Prefer the narrower tools when you want an answer — get_version_security, get_protection, list_trackers, list_permissions, get_manifest — and reach for this when you want the inputs.' The selection condition (answers vs. raw inputs) is stated, not implied.

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