Skip to main content
Glama

APKCube

List what a build asks the device for

list_permissions
Read-onlyIdempotent

Every Android permission this build declares, sensitive ones first, each with a readable label, its capability family and a sentence saying what the app can actually do with it. Defaults to the newest build. This is the same labelling compare_versions diffs, so the two cannot name the same permission differently. THE NULL IS THE PART TO READ: permissions: null means the manifest was never read and is NOT a claim that the app asks for nothing — an empty array is that claim. sensitive is the count worth quoting; a long list of ordinary permissions is what almost every app looks like. defines is separate and often misread: those are permissions this app declares for OTHER apps to hold, not things it is asking for.

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

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
apkIdYesThe build this describes — the one asked for, or the newest held.
definesYesPermissions this app DEFINES for other apps to hold — a different thing from the ones it requests. Empty when it defines none, and also empty when no manifest was read: permissions:null is how to tell.
summaryNo'24 declared · 5 sensitive'. Null whenever permissions is.
declaredNoHow many. Null when permissions is.
sensitiveNoOf those, how many are Android-dangerous or special-access. This is the number worth reading.
byCategoryYesCounts by capability family, most-declared first, each with how many of its names are sensitive — a family of eleven with none sensitive is a different shape of app from two that are both dangerous.
packageNameYesThe package asked for.
permissionsYesSensitive first, then by label. NULL means the manifest was never read — NOT that the app declares none. An empty array is the genuine 'declares none', and the two are opposite answers to the only question this call gets asked.
versionCodeYesIts build number.
versionNameYesVersion name of that build.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/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 goes well beyond that by disclosing the null-vs-empty-array distinction (manifest unread vs genuinely no permissions), flagging `sensitive` as the meaningful count, and warning that `defines` are permissions exposed to other apps. That is substantive interpretation guidance the annotations do not provide.

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 what it returns before the interpretive caveats, and each sentence carries information an agent would otherwise have to guess. It is somewhat dense and crammed into a single paragraph with shouty emphasis ('THE NULL IS THE PART TO READ'), which is effective but slightly repetitive in places.

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 raw return shapes need not be explained, and the description still covers the two error-prone cases (null permissions, defines) that an agent would likely misread. Combined with the annotation-covered safety profile, nothing essential 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 the description's only parameter-relevant statement ('Defaults to the newest build') restates what the apkId schema field already says ('Omit for the newest one'). No additional syntax, format or constraint detail is added, so this sits at the baseline.

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 ('Every Android permission this build declares') plus ordering (sensitive first) and the per-item payload (label, capability family, plain-language sentence). It also distinguishes itself from compare_versions and from the separate 'defines' concept, so the agent knows exactly what this lists and what it does not.

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 gives the default behavior ('Defaults to the newest build') and a relational hint ('the same labelling compare_versions diffs'), which implies usage context. But it never explicitly says when to reach for this instead of get_manifest or compare_versions, and offers no exclusions or prerequisites beyond the implicit packageName requirement.

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