Skip to main content
Glama

Android development cycle

android_dev_cycle
Destructive

Build, install, and restart a development Android APK, wait for startup, assert UI text, inspect crashes, and verify a production package is unchanged.

Instructions

Build, install a development APK, restart it, wait for startup, assert UI text, inspect crash state, and verify an optional production package was not changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo.
smokeNo
runnerNodefault
serialNo
apkPathYes
activityNo
deviceIdNo
textMatchNocontains
crashLinesNo
deviceNameNo
packageNameYes
buildCommandYes
expectedTextsNo
buildTimeoutMsNo
grantPermissionsNo
installTimeoutMsNo
startupTimeoutMsNo
productionPackageNo
preserveProductionNo
maxBuildOutputBytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is partly covered. The description adds genuinely new behavioral content beyond that: the exact pipeline order, the startup wait, the UI-text assertion step, and the fact that an optional production package is checked for modification. It still omits what 'destructive' concretely means here (app overwrite/reinstall, data loss), permission/auth needs, and failure behavior for a 20-parameter mutating pipeline.

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 sentence with zero filler, and the clauses are ordered to match execution, so it reads as a pipeline rather than a word salad. It is a long grocery-list construction rather than structured prose, but no sentence is wasted.

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?

For a 20-parameter, no-output-schema, destructive orchestration tool, the description is far too thin: it says nothing about what the pipeline returns on success, how partial failures (build ok / install ok / assertion fail) are surfaced, or which optional stages the many boolean/enum knobs toggle.

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% across 20 parameters, so the description carries the full burden and largely fails it. It only obliquely maps to a handful of inputs (buildCommand, apkPath, expectedTexts, crashLines, productionPackage), leaving cwd, runner, serial, deviceId/deviceName, activity, textMatch, grantPermissions, preserveProduction, all three timeout knobs, maxBuildOutputBytes and smoke completely unexplained.

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 names a specific, ordered sequence of verbs over one resource family (build → install APK → restart → wait → assert UI text → inspect crash → verify production package), which is far more than a tautology. It is clear what the tool does, but it never distinguishes itself from the many lower-level siblings (adb_install, adb_shell, adb_ui_dump, adb_app) it evidently orchestrates.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The name 'cycle' plus the verb list implies it is the one-shot path over the granular adb_* tools, but the agent must infer that entirely; no conditions, prerequisites, or exclusions are stated.

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

Deploy Server

Other Tools