Skip to main content
Glama

force_stop

Terminates a running Android app by package name, stopping its processes to clear unresponsive or misbehaving application state.

Instructions

Force-stop an application by package name.

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": {
      "package": "<package>"
    },
    "name": "force_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNo
packageYes

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?

No annotations are supplied, so the description carries the full disclosure burden. It does not say whether app data is preserved, whether the stop is graceful or immediate, whether root/target device selection matters, or what error occurs for an unknown package – all essential for a destructive-feeling operation.

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?

One short, front-loaded sentence with no wasted words. Its terseness is a completeness problem rather than a verbosity one, so it scores well here but not perfectly for an operation of this weight.

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 not be explained, but for a state-changing tool with no annotations and zero schema coverage the definition leaves too much open: device targeting, side effects on app data, and failure behavior are all unaddressed.

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% and there are two parameters. The description clarifies that 'package' must be a package name rather than an app label, but the 'serial' parameter (a device selector with a null default) is left entirely unexplained in both schema and 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?

States a specific verb ('force-stop'), the resource ('an application'), and the identifying key ('by package name'). The action is distinguishable from siblings like uninstall_app or list_packages, though the description never names an alternative to sharpen that distinction.

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?

Usage is only implied by the verb itself; there is no statement of when to prefer force_stop over uninstall_app, no prerequisite that the app be installed or running, and no note about what happens if it isn't.

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