Skip to main content
Glama

Install app

install_app
Idempotent

Deploy an APK from a local file path to an Android device over adb, optionally targeting a specific serial or reinstalling an existing build for testing.

Instructions

Install (or reinstall, -r) an APK from a local file path onto the device. Use to deploy a build you want to test.

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

Input Schema

NameRequiredDescriptionDefault
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
apk_pathYesLocal filesystem path to the .apk to install.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavior (the -r reinstall flag), but says nothing about blocking duration, failure modes such as signature/version conflicts, or what a successful result looks like.

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?

Two short sentences with the action front-loaded and no filler. The parenthetical '-r' is compact but slightly cryptic without stating what reinstall implies for existing app data.

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?

For a simple two-parameter tool with full schema coverage and annotations, this is nearly complete. The remaining gap is that with no output schema, the description does not indicate whether the call blocks until install finishes or what success/failure feedback is returned.

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 coverage is 100%, so both parameters are already documented. The description reinforces that apk_path is a local filesystem path and introduces the -r reinstall semantics, but adds no detail on serial/device selection or path formats beyond the schema.

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?

States a specific verb+resource (install an APK from a local file path onto the device) and names the reinstall variant. It is clearly distinct from siblings like uninstall_app or launch_app, though it does not explicitly contrast with reload_app/launch_app for the post-install step.

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?

'Use to deploy a build you want to test' gives an implied usage context but no explicit when-not or alternatives (e.g., use launch_app after installing, use gradle_build to produce the APK). Device-targeting guidance lives only in the schema, not the description.

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