Skip to main content
Glama

Uninstall app

adb_uninstall
DestructiveIdempotent

Uninstall an Android app by package name over ADB, without a backup, and optionally keep its data and cache using keep_data.

Instructions

Uninstall an app by package name, at once and without a backup. keep_data=true keeps app data (-k). The reverse is adb_install. For system packages, reversible bulk operations and backups, use adb_app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNoDevice serial from adb_devices. Optional when exactly one device is connected.
packageYesPackage name, e.g. com.example.app (adb_app action=list lists them).
keep_dataNoKeep the app data and cache (-k). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is largely covered. The description still adds meaningful context beyond that: the operation is 'at once and without a backup' (no recoverable path) and keep_data=true preserves data via -k, which clarifies the destructive footprint of each variant.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the destructive action and its irreversibility, followed by the inversion and the alternative routing. No sentence is wasted.

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

Completeness4/5

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

Complete for a simple 3-param destructive tool with full schema coverage and no output schema; it does not mention serial-selection prerequisites or any return/failure signal, but annotations and schema carry those details adequately.

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%, so all three parameters are already documented; the description only restates the keep_data/-k behavior already present in the schema and adds no new syntax or format detail. 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 ('Uninstall an app by package name') and immediately qualifies the scope ('at once and without a backup'), which an agent can distinguish from adb_install and adb_app without opening any 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?

Explicitly names both the inverse ('The reverse is adb_install') and the routing condition for the alternative ('For system packages, reversible bulk operations and backups, use adb_app'), so when-to-use and when-not-to-use are both stated.

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