Skip to main content
Glama

device_stop

Shut down an Android emulator or iOS/tvOS/visionOS simulator and stop the associated virtual-device agent to end the session and free resources.

Instructions

Shut an emulator or simulator down (and stop Virtual Device MCP's agent on it).

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": {
      "device": "<device>"
    },
    "name": "device_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesDevice id (or exact name) from the devices tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full load, and it does disclose one genuinely non-obvious effect: stopping Virtual Device MCP's agent on the device. It does not state whether the shutdown is graceful or forced, whether device state/data is lost, what happens if the device is already stopped, or what a failure looks like.

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 front-loaded sentence of about fifteen words with no filler; the primary action comes first and the secondary effect is tucked into a parenthetical. 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?

For a one-parameter lifecycle tool with full schema coverage and no output schema, the description covers the essentials: what it acts on and the notable side effect on the MCP agent. It is slightly thin on post-conditions and failure modes, which keeps it from a 5.

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?

There is a single required parameter and schema description coverage is 100%; the schema already explains it takes a device id or exact name sourced from the devices tool. The description adds no format, resolution-order, or error semantics beyond that, which is the expected baseline when the schema is fully documented.

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 pairs a specific verb ("Shut ... down") with a specific resource ("an emulator or simulator"), so an agent can immediately tell this is device-level teardown rather than app-level teardown like app_stop. It stops short of explicitly naming device_start or app_stop as the contrasting siblings, so it is clear but not fully self-differentiating.

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?

Usage is implied by the lifecycle nature of the tool: call it to take a device down. There is no explicit when-to-use/when-not guidance, no prerequisites (e.g., whether the device must be running), and no mention of what to do instead if the goal is to free only an app's resources. Adequate for a simple lifecycle verb, but nothing is spelled out.

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