Skip to main content
Glama

stop_device

Stops a running Android emulator or iOS simulator by specifying the platform and device ID or name, freeing resources and ending active sessions.

Instructions

Stop a running Android emulator or iOS simulator

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

Input Schema

NameRequiredDescriptionDefault
deviceYesDevice ID or name
platformYesTarget platform

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 behavioral burden. It says nothing about whether this terminates the emulator process or merely detaches, whether unsaved device state or installed apps are lost, whether it errors on an already-stopped device, or what the call returns on success.

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 with no filler or redundancy. Every word, including 'running', contributes to the definition.

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 simple two-parameter lifecycle tool with a fully documented schema and no output schema, the description is adequate to identify the action. It is incomplete on the behavioral side that annotations would normally cover: state loss, error conditions, and post-call effects are all unaddressed.

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 coverage is 100% and both parameters are documented in the schema, so the baseline is 3. The description adds only a light gloss by pairing 'Android emulator' with the android enum value and 'iOS simulator' with ios, which is marginally useful but not meaningfully beyond the schema.

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 and resource: 'Stop a running Android emulator or iOS simulator.' The verb 'stop' plus the two target types makes it clearly distinct from the sibling start_device and from non-lifecycle tools like get_logs or shell. It stops short of a 5 only because it does not name or contrast a sibling explicitly.

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?

The word 'running' hints that the device must already be started, but there is no explicit when-to-use guidance, no statement of what happens if the device is already stopped, and no reference to alternatives such as start_device for the inverse operation. Usage is left almost entirely to inference.

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