Skip to main content
Glama

List Android packages

android_list_packages
Read-onlyIdempotent

Lists installed Android package identifiers from a connected device, with an option to show only third-party apps.

Instructions

List installed Android package identifiers. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "android_list_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNoADB serial. Omit when exactly one device is ready.
thirdPartyOnlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the second sentence "Read-only." merely repeats structured data and earns no credit. Behavior beyond annotations is undisclosed: nothing about what happens when no device is connected or how third-party filtering changes the result set.

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 purpose is front-loaded in a single tight sentence, which is good. The trailing "Read-only." adds nothing and is pure padding, pulling the score down from what would otherwise be a strong efficient phrasing.

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

Completeness2/5

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

This is a simple zero-required-parameter list tool with no output schema, so the description needn't explain return values. However, the default filtering behavior (thirdPartyOnly=true) and the device-omission rule are exactly the details an agent needs to call it correctly, and the description supplies neither.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: `device` is documented but `thirdPartyOnly` has just a type and a default of true with no description. The description never mentions this flag, so an agent could easily miss that the default listing excludes system packages, which is a semantically significant default.

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?

"List installed Android package identifiers" gives a specific verb and resource, and "identifiers" scopes the output type, which distinguishes it from android_list_devices (devices, not packages) and from mutation siblings like android_launch_app. It does not name a sibling explicitly, so it falls short of a 5.

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

Usage Guidelines2/5

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

No when-to-use guidance, no mention of what to use instead when a filtered or system-package listing is needed, and no preconditions such as needing a ready device. The agent must infer the role of this tool purely from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.