Skip to main content
Glama

list_packages

Lists installed Android packages on a connected device or emulator, with options to show only third-party apps or filter results.

Instructions

List installed packages, optionally third-party only or filtered.

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

Input Schema

NameRequiredDescriptionDefault
serialNo
filter_textNo
third_party_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies a read-only listing but does not state that nothing is mutated, whether a device must be connected, how multiple devices are handled via serial, or what happens when no packages match.

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?

One front-loaded sentence with no wasted words, but the terseness comes at the cost of specificity — "or filtered" is too vague to be actionable and the sentence could have spent a few more words on serial and filter semantics.

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?

An output schema exists, so return values need not be described. However, for a three-parameter device-scoped listing tool with no annotations, the definition leaves the serial selector, filter behavior, and connection requirements entirely unaddressed, which is not enough for an agent to call it reliably.

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 description coverage is 0%, so the description must explain all three parameters. It gestures at third_party_only and filter_text ("filtered") but never defines the filter syntax or matching rules, and the serial parameter is not mentioned at all, leaving device targeting undocumented.

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 packages" gives a specific verb and resource, and "third-party only or filtered" narrows the scope so an agent can tell it apart from list_devices or device_info. It stops short of naming any sibling as an alternative, so it is clear but not differentiated explicitly.

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?

The word "optionally" signals that the flags are discretionary but never says when to set them or when to reach for a different tool. There is no mention of prerequisites such as an active device connection or how this differs from uninstall_app/install_apk workflows.

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