Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

ios_terminate

Stops a running app on an iOS Simulator using its Bundle ID and simulator UDID, helping reset app state during automated testing or bug reproduction.

Instructions

Terminate a running app on 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": {
      "deviceId": "<deviceId>",
      "bundleId": "<bundleId>"
    },
    "name": "ios_terminate"
  }
}

Input Schema

NameRequiredDescriptionDefault
bundleIdYesApp Bundle ID (e.g. com.example.app)
deviceIdYesSimulator UDID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations present, the description carries the full disclosure burden and does not meet it. It does not say whether termination fails when the app is not running, whether app data/state is preserved, whether a deviceId must be booted, or what a successful response looks like for a mutation 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?

A single front-loaded sentence with zero filler; nothing is redundant. Its brevity is efficient, though it reflects minimal content rather than deliberate compression of richer information.

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 two-parameter tool with a fully documented schema and no output schema, the core definition is sufficient to invoke it. However, because no annotations exist to describe side effects or failure modes of a termination operation, the description leaves meaningful behavioral gaps.

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% with both required parameters documented inline (deviceId as Simulator UDID, bundleId with an example), so the schema does the heavy lifting. The description adds no extra meaning about parameter constraints or formats beyond that, which makes the baseline 3 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?

States a specific verb and resource ("Terminate a running app") plus the platform context (iOS Simulator), which is enough to separate it from ios_launch and ios_uninstall by intent. It stops short of explicitly contrasting with those siblings, so it is clear but not sharply differentiated.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (app must be installed/running), and no named alternative for related operations such as ios_uninstall or adb_force_stop. The intended usage is only implied by the verb choice.

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