Skip to main content
Glama

kill_app

Destructive

Force-stop an app by package name or bundle ID on Android or iOS, or terminate the current foreground app when no identifier is provided.

Instructions

Force-stop an application by package name (Android) or bundle ID (iOS)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kill_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
observeNoCapture screenshot after action. Default: none
packageNoApp package name (Android, e.g. com.example.app) or bundle ID (iOS). Optional — defaults to the app currently in the foreground.
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.
observe_delay_msNoMs to wait before observing. Default: 500

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the risk profile is covered. The description adds the platform-specific targeting behavior, but does not disclose consequences beyond the annotation, such as whether app data or unsaved state is preserved after a force-stop.

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?

A single efficient sentence that front-loads the action and immediately qualifies the identifier by platform. There is no wasted wording.

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?

For a simple destructive tool with full parameter documentation and annotations covering its safety profile, the description is nearly complete. The main omission is the post-condition (whether stopping the process can lose unsaved app state), which is pertinent for a destructive operation.

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?

Schema description coverage is 100%, so all five parameters (including the package/platform distinction) are already documented in the schema. The description repeats the package-name mapping without adding format, error, or default details beyond what the schema provides, so the baseline 3 applies.

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 application') and clarifies the platform-specific identifier (package name on Android, bundle ID on iOS). It is clearly distinguishable from siblings like launch_app, uninstall_app, and clear_app_data, though it never names them.

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 routing to alternatives such as uninstall_app or clear_app_data. The only usage signal is implicit in the verb 'force-stop'.

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