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

XC-MCP: XCode CLI wrapper

by conorluddy

Suggest Best Simulator

simctl-suggest
Read-onlyIdempotent

Suggests suitable iOS simulators for Xcode projects by ranking devices with project preferences, recent use, popularity, and boot performance, and can auto-boot the first-ranked match.

Instructions

simctl-suggest

Intelligent simulator suggestion tool.

Overview

Suggests the best simulators for your project based on project preferences (remembered from previous successful builds), recently used simulators, device popularity (iPhone 16 > iPhone 15), and boot performance metrics. Transparent scoring algorithm shows reasoning for each recommendation.

Parameters

Required

None - all parameters are optional

Optional

  • projectPath (string): Project directory for project-specific ranking

  • deviceType (string): Filter suggestions by device type

  • maxSuggestions (number, default: 4): Maximum number of suggestions to return

  • autoBootTopSuggestion (boolean, default: false): Automatically boot top suggestion

  • minimumOSVersion (string): Only suggest iOS simulators at or above this version (e.g. "27.0"). Use the scheme's deployment target: a simulator below it cannot run the app

Returns

Ranked suggestions with scores, reasoning, boot history, performance metrics, summary of scoring criteria, and guidance for next steps. Each suggestion includes simulator name, UDID, state, availability, score breakdown, and boot performance data.

Examples

Get project-specific suggestions

await simctlSuggestTool({
  projectPath: '/path/to/project'
});

Auto-boot top suggestion

await simctlSuggestTool({
  projectPath: '/path/to/project',
  autoBootTopSuggestion: true
});

Filter by device type

await simctlSuggestTool({
  deviceType: 'iPhone',
  maxSuggestions: 3
});
  • simctl-boot: Boot suggested simulator

  • simctl-list: See all available simulators

  • simctl-health-check: Validate environment health

Notes

  • Scoring algorithm (100 point scale): Project preference (40), Recent usage (40), iOS version (30), Popular model (20), Boot performance (10)

  • Project-aware: Remembers preferred simulator per project

  • Performance metrics: Learns boot times and reliability from usage

  • Popularity ranking: Suggests popular models (iPhone 16 Pro > iPhone 15)

  • Transparent scoring: Shows reasoning for each recommendation

  • Auto-boot option: Optionally boots top suggestion immediately

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-suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceTypeNo
projectPathNo
maxSuggestionsNo
minimumOSVersionNo
autoBootTopSuggestionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.2.0
    • addedInput schema / properties / minimumOSVersion
      Added value: +{
      +  "type": "string"
      +}
  2. Addedv4.1.0

TDQS

A3.7/5.0
Behavior1/5

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

The description discloses that autoBootTopSuggestion=true 'Automatically boot top suggestion' — a state-changing side effect — while the annotations declare readOnlyHint=true. That is a direct conflict: the description is candid, but the definition as a whole tells the agent this is a read-only operation when it can mutate simulator state. The otherwise useful disclosure of scoring criteria cannot offset an inconsistency of this kind.

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?

Headers and front-loaded Overview are good, but there is real duplication: auto-boot is described in Parameters, in an Example, and again in Notes; popularity ranking appears in both Overview and Notes. The Examples block adds little beyond the parameter table and could be trimmed to keep the definition tighter.

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 what comes back (scores, reasoning, UDID, boot history, score breakdown). For a five-parameter, zero-required tool the coverage is strong; only edge behavior (no matching simulators, or what booting implies for an already-booted device) is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the full burden, and it does: all five parameters are documented with types, defaults (maxSuggestions=4, autoBootTopSuggestion=false), and intent. minimumOSVersion gets genuinely non-obvious semantics — 'Use the scheme's deployment target: a simulator below it cannot run the app' — which no schema field conveys.

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 Overview states a specific verb and resource ('Suggests the best simulators for your project') and names the ranking inputs (project preference, recency, popularity, boot performance). The Related Tools section distinguishes it from simctl-list ('see all available simulators') and simctl-boot, so an agent can tell a ranked recommendation apart from a raw listing.

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?

The 'Related Tools' section and the Examples give clear context for when this tool is the right entry point (pick a simulator before booting) versus enumerating everything with simctl-list. What is missing is an explicit exclusion, e.g. 'do not use this when you need the full device inventory or a specific UDID'.

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