Skip to main content
Glama

Manage apps

manage_app

Install, uninstall, list, and control apps on iOS/Android devices and simulators, including build-and-run, permissions, state, and data clearing.

Instructions

Install and manage apps: list (all: system apps too), state, install (path: .apk, .app, .ipa; files: an .apk with its .dm or split APKs), uninstall, stop (background: as the system ends it, state kept), clear (data), grant, revoke (service: location, photos…; a wrong word lists them), build_and_run (path: Xcode project or Gradle folder; scheme or module; configuration or variant; args, env). Starting one: launch_app; its data: transfer_files. Returns what was done.

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": {
      "action": "<action>"
    },
    "name": "manage_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
appNo
envNo
argsNo
pathNo
readNo
filesNo
actionYes
schemeNo
serviceNo
backgroundNo
configurationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.4

TDQS

A3.8/5.0
Behavior3/5

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

Only openWorldHint is annotated, so the description carries most of the burden; it does disclose that stop preserves state, clear removes data, and the tool "Returns what was done." However, it never flags that uninstall/clear are destructive or irreversible, nor mentions permissions or platform constraints for build_and_run — significant omissions for a mutation-heavy tool with no destructiveHint.

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?

Front-loaded with the purpose and densely packed — nearly every clause conveys distinct parameter or action semantics. The telegraphic parenthetical style is efficient but run-on, slightly raising parse cost for a 12-parameter tool.

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

Completeness3/5

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

For a 12-parameter tool with a nested `env` object, 0% schema coverage, and no output schema, the description covers actions and most parameters well but leaves `read` and `app` unexplained and omits destructive/permission behavior. It is close to sufficient but not complete for this complexity.

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?

With 0% schema coverage the description must compensate, and it does map most parameters: all, path, files, service, background, scheme, configuration, args, env. But the `read` enum (diff/full/none) is never explained and `app` is only implied, leaving two of twelve parameters semantically undefined.

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+resource ("Install and manage apps") and then enumerates all nine actions (list, state, install, uninstall, clear, grant, revoke, build_and_run, stop), distinguishing itself from siblings by routing starting an app to launch_app and its data to transfer_files. An agent can tell immediately what this tool covers without opening the schema.

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

Usage Guidelines4/5

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

Gives practical selection cues per action ("all: system apps too", "install... .apk, .app, .ipa", "background: as the system ends it, state kept", "a wrong word lists them") and explicitly redirects to launch_app for starting and transfer_files for data. It stops short of stating when NOT to use it or prerequisites, so it is strong but not exhaustive.

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