Skip to main content
Glama
XC-MCP: XCode CLI wrapper

XC-MCP: XCode CLI wrapper

by conorluddy

Boot Simulator

simctl-boot
Idempotent

Boots iOS simulators while tracking boot times and device performance for future optimization, with automatic wait management and clearer error feedback than raw CLI commands.

Instructions

simctl-boot

⚡ Prefer this over 'xcrun simctl boot' - Intelligent boot with performance tracking and learning.

Advantages over direct CLI

• 📊 Performance tracking - Records boot times for optimization insights • 🧠 Learning system - Tracks which devices work best for your projects • 🎯 Smart recommendations - Future builds suggest fastest/most reliable devices • 🛡️ Better error handling - Clear feedback vs cryptic CLI errors • ⏱️ Wait management - Intelligent waiting for complete boot vs guessing

Automatically tracks boot times and device performance metrics for optimization. Records usage patterns for intelligent device suggestions in future builds.

Batch selection

Use all:true or deviceType/runtime filters instead of deviceId. Batch operations target available simulators; erase/delete require confirm:true. Results report each attempted device independently.

Parameters

Required

  • deviceId (string): Device UDID (from simctl-list) or "booted" for any currently booted device

Optional

  • waitForBoot (boolean, default: true): Wait for device to finish booting completely

  • openGui (boolean, default: true): Open Simulator.app GUI automatically

Returns

Success response includes:

  • Boot status (success/failure)

  • Device information

  • Boot time in milliseconds

  • Performance metrics

  • Guidance for next steps

Examples

Boot a specific device

{
  "deviceId": "ABC123DEF-GHIJ-KLMN-OPQR-STUVWXYZ1234",
  "waitForBoot": true
}

Boot any available device quickly

{
  "deviceId": "booted",
  "waitForBoot": false,
  "openGui": false
}
  • simctl-list - Discover available simulators and their UDIDs

  • simctl-suggest - Get intelligent device recommendations based on history

  • simctl-shutdown - Shut down booted devices

  • simctl-health-check - Verify simulator environment health

Device Support

  • Simulators: Full support ✅

  • Physical Devices: Not applicable (devices don't have simctl boot)

Notes

  • Handles "already booted" case gracefully (treats as success)

  • Tracks boot performance for future optimization recommendations

  • First boot of a device type may take longer than subsequent boots

  • Opening GUI with openGui: true provides visual feedback but increases boot time slightly

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": "simctl-boot"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
openGuiNo
runtimeNo
deviceIdNo
deviceTypeNo
waitForBootNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv5.0.0
    • addedInput schema / properties / all
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / deviceType
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / runtime
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "deviceId"
      -]
  2. Addedv4.1.0
  3. Removedv1.1.0
  4. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), the description discloses real behavioral traits: the 'already booted' case is treated as success, openGui=true launches Simulator.app and slows boot slightly, first boot of a device type is slower, and boot metrics are recorded. The marketing bullet list partly repeats itself, but the operational details genuinely add value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Headings, examples, and return-value notes are well structured and the CLI comparison is front-loaded, but the 'Advantages over direct CLI' bullets and the trailing paragraph restate the same tracking/learning claims, and the tone is promotional rather than informative. Several sentences could be cut without losing meaning.

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 no output schema, the 'Returns' section usefully describes the response shape (status, device info, boot time, metrics, next-step guidance), and the Notes and Related Tools sections round it out. The gap is the unspecified deviceType/runtime filter values for batch mode, which an agent cannot infer from schema or description.

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 0%, so the description carries the burden. It documents deviceId (UDID or 'booted'), waitForBoot, and openGui with defaults, but deviceType, runtime, and all are only mentioned in a batch-selection paragraph with no accepted values or format, leaving three of six parameters semantically thin.

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?

The description states a specific verb and resource (boot a simulator device) and explicitly positions itself against both the raw CLI ('xcrun simctl boot') and sibling tools like simctl-list, simctl-suggest, and simctl-shutdown. An agent can identify the operation and its scope without opening the schema.

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?

It gives clear routing guidance: use this instead of the direct CLI, call simctl-list to discover UDIDs, call simctl-suggest for device recommendations, and use all:true or deviceType/runtime filters for batch selection. It lacks explicit when-not-to-use exclusions (e.g. physical devices are only noted obliquely under 'Device Support'), which keeps it below a 5.

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