Skip to main content
Glama

adb_install

Destructive

Installs an APK on an Android device via ADB, optionally targeting a specific device and replacing an existing installation.

Instructions

Install an APK on an Android device (adb install [-r]).

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": {
      "apk_path": "<apk_path>"
    },
    "name": "adb_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo
replaceNo
apk_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and openWorldHint=true, so the safety profile is covered. The description adds no context about what gets overwritten (app data vs. binary), permission/signing failure modes, or device authorization requirements; the bracketed `[-r]` is the only behavioral hint and it is raw CLI syntax.

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?

A single front-loaded sentence with no filler. The parenthetical CLI invocation is terse but adds a modicum of context rather than padding, so it mostly earns its place.

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 no explanation. However, for a destructive three-parameter mutation with 0% schema coverage, the description leaves the target-device selection and the replace semantics undocumented, which is not enough to call it safely.

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 0%, so the description must explain all three parameters. It only implies `apk_path` (the APK) and weakly gestures at `replace` via `[-r]`; the `device` parameter, which determines the install target, is never mentioned in either schema or description.

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?

The description states a specific verb and resource: 'Install an APK on an Android device.' That cleanly distinguishes it from siblings like adb_push or adb_shell, though it never names an alternative 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?

There is no guidance on when to use this versus adb_push or other file-transfer tools, nor any prerequisite (e.g., device must be connected/authorized). The `adb install [-r]` fragment implies the replace case but is not framed as usage advice.

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