Skip to main content
Glama

app_stop

Force-stop a running Android app by package name via adb so AI agents can halt apps during device operations.

Instructions

Force-stop an app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageYesAndroid package name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. 'Force-stop' does convey abrupt termination rather than a graceful shutdown, which is meaningful behavioral signal. However, it does not say whether unsaved state is lost, what happens if the app is not running, or whether elevated permissions are required.

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?

Four words, verb-first, zero filler — the essential action is front-loaded. It is sized appropriately for the tool's simplicity, though it is arguably too terse to be self-sufficient.

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 one-parameter tool with a fully documented schema and no output schema, the core information is present. But with zero annotations the description should still cover side effects and failure modes, which it omits.

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?

The single parameter has 100% schema description coverage ('Android package name'), so the schema already does the work and the description adds nothing beyond it. This is the expected baseline when schema coverage is complete.

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 ('Force-stop') and resource ('an app'), and the word 'force' distinguishes it from the launch-oriented siblings app_launch and app_intent. It does not explicitly name those siblings, so it stops short of a 5.

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?

No indication of when to use this versus app_launch, app_intent, or a graceful close, and no prerequisites (device connected/unlocked) or failure conditions are given. The agent must infer usage entirely from the tool name.

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