Skip to main content
Glama

wait_for_simulator

Holds the request open until a shared iOS simulator lease is granted or the max wait expires, returning queue status so you can check in again and stay queued.

Instructions

Hold the call open until it is your turn (returns status "granted" with the udid) or until max_wait_seconds pass (returns status "queued" with fresh check_after_s and expires_at; call it again). Waiting counts as checking in, so your request is not dropped while you wait. Keep max_wait_seconds under your client's tool timeout; 45 is safe for most.

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": {
      "request_id": "<request_id>"
    },
    "name": "wait_for_simulator"
  }
}

Input Schema

NameRequiredDescriptionDefault
bootNo
request_idYes
max_wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose important behavior: this is a blocking/long-poll call, waiting counts as checking in so the request is not dropped, and the timeout constraint protects against client-side tool timeouts. However, it omits that `boot` may actually boot a simulator (a real side effect), and says nothing about whether repeated waits are safe or what happens if the request expires mid-wait.

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?

Front-loaded with the successful outcome and then the timeout outcome, which is the right order, and the parenthetical return details are useful. Sentences are dense with semicolons and the phrasing is slightly meandering, but there is little true 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?

No output schema exists, and the description compensates by explaining both return statuses and their fields, plus the retry pattern. The main remaining gap is the undocumented `boot` parameter for a call that can have a side effect on simulator state.

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

Parameters2/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 supply parameter meaning. It covers max_wait_seconds well (client timeout constraint, 45 as a safe value) but leaves `boot` (default true, likely a meaningful side effect) and request_id entirely unexplained.

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?

The description states a specific action (hold the call open) and precisely defines both terminal outcomes with their return payloads ('granted' with udid, 'queued' with check_after_s and expires_at). It implicitly separates itself from a non-blocking poll ('call it again'), but never names a sibling such as check_request or queue_status, so differentiation is left partly to inference.

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?

Clear operational guidance: call again after a 'queued' result, keep max_wait_seconds under the client's tool timeout, and 45 is called out as safe for most clients. It does not explicitly say when to pick this over check_request or queue_status, so the when-not guidance is absent.

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