Skip to main content
Glama
mgcrea

@mgcrea/mcp-ios-simulator

by mgcrea

iOS Simulator: Power

ios_simulator_power
Idempotent

Boot or shut down an iOS simulator, waiting for boot to complete and optionally opening its window. Idempotent, so repeated calls succeed.

Instructions

Boot or shut down a simulator. Booting is the one thing this server will not do for you implicitly — a cold boot takes tens of seconds and puts a window on the user's screen, and it changes which simulator an unqualified call resolves to afterwards. Both directions are idempotent: booting a booted simulator succeeds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesThe state to put it in. `booted` also waits for it to actually get there.
deviceNoWhich simulator: its UDID or its name as shown by ios_simulator_list. Omit it when exactly one is booted — that is the normal case, and IOS_SIMULATOR_ID pins it when it is not. Unlike simctl's own `booted`, this never picks arbitrarily between two.
wait_msNoHow long to wait for a boot to complete before reporting what it saw.
open_windowNoBring up a window on the device — Simulator.app, or DeviceHub on Xcode 27 — so the screen is visible. A `boot` on its own is headless, which is fine for an agent and confusing for a person watching.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • changedInput schema / properties / open_window / description
      Previous value: -"Bring up the Simulator app so the screen is visible. A `boot` on its own is headless, which is fine for an agent and confusing for a person watching."New value: +"Bring up a window on the device — Simulator.app, or DeviceHub on Xcode 27 — so the screen is visible. A `boot` on its own is headless, which is fine for an agent and confusing for a person watching."
  2. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare idempotentHint=true and readOnlyHint=false, but the description adds real behavioral context the annotations cannot: a cold boot takes tens of seconds, puts a window on the user's screen, and shifts which simulator an unqualified call resolves to. Idempotency is restated with concrete detail (booting a booted simulator succeeds), which reinforces rather than merely repeats the annotation.

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?

Three sentences, front-loaded with the core action and each clause carrying distinct information (latency, user-visible side effect, resolution side effect, idempotency). The em-dash construction makes it slightly dense but nothing reads as filler.

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?

With four fully documented parameters, idempotency annotations, and no output schema, the description covers the operationally risky facts an agent needs: latency, window visibility, and post-boot resolution changes. Only minor gaps remain around failure/timeout behavior, which is partly addressed by wait_ms in the schema.

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 the baseline is 3. The description adds one genuinely non-schema nuance — that the boot changes what an unqualified call resolves to — but it does not describe the `state`, `wait_ms`, or `open_window` parameters, leaving the schema to carry that load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair and resource: 'Boot or shut down a simulator.' This is immediately distinguishable from siblings like ios_simulator_erase, ios_simulator_install, and ios_simulator_launch, which mutate content rather than power state.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explains when this tool is mandatory ('Booting is the one thing this server will not do for you implicitly'), which tells the agent it must call this before other tools can work on a fresh device. It does not explicitly name alternatives or state when-not-to-use beyond idempotency, so it falls short of a 5.

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