Skip to main content
Glama

app_stop

Force-stops a running Android app by package name, terminating its process and clearing its current state.

Instructions

Force-stop a running app (destructive: kills its state).

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

Input Schema

NameRequiredDescriptionDefault
packageYesPackage to kill

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the full behavioral burden, and it does disclose the key trait: the operation is destructive and destroys the app's in-memory state. It stops short of saying what happens if the app is not running, whether it needs elevated permissions, or what the call reports back, leaving gaps that matter for a kill operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence that delivers verb, resource, and risk marker with zero padding. Nothing could be removed without losing information.

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?

This is a simple one-parameter tool with full schema coverage and no output schema, and the description covers the essential fact (state destruction) an agent needs before invoking it. Only minor gaps remain around error behavior and permission requirements.

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 required parameter is fully documented in the schema as 'Package to kill', and the description adds no extra meaning such as the expected package-name format or behavior with ambiguous matches. With 100% schema coverage, the baseline of 3 is appropriate.

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 verb ('Force-stop') and resource ('a running app'), so the operation is unambiguous even though it does not name a sibling it is distinct from. The 'force' qualifier correctly distinguishes it from a graceful stop.

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?

The phrase 'a running app' implies a precondition (the app must currently be running), but there is no explicit when-to-use guidance, no exclusion, and no route to siblings such as app_clear_data or app_install. The agent is left to infer the boundary.

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