Skip to main content
Glama

iPhone status (iphone-control)

iphone_status

Report whether an iPhone is attached and reachable through the iphone-control tool (WebDriverAgent/XCUITest), returning not-configured when IPHONE_CONTROL_URL is unset.

Instructions

Report whether an iPhone is attached via the open iphone-control tool (WebDriverAgent/XCUITest). Returns not-configured unless IPHONE_CONTROL_URL is set. iOS is closed: this is harder than Android and never as easy — real iPhone over USB to Mac/Linux, iOS 17+, Developer Mode, free Apple ID signing renewed every 7 days (see docs/PLATFORMS.md).

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": "iphone_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3-alpha.1

TDQS

A3.8/5.0
Behavior4/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 substantial work: it discloses the not-configured return value when the env var is absent and enumerates real prerequisites (USB to Mac/Linux, iOS 17+, Developer Mode, 7-day signing renewal). It stops short of describing what a successful configured status response actually contains, so it is not fully complete.

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?

Front-loaded with the purpose and the not-configured behavior, then prerequisites. The editorial aside ('iOS is closed... never as easy') is somewhat informal but does convey genuine setup difficulty; the only waste is that editorial framing rather than any redundant restatement.

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?

For a zero-parameter status tool with no output schema, the description covers the key failure mode, configuration requirement, and platform prerequisites, which is what an agent needs to decide whether to call it and how to interpret a negative result. The main remaining gap is not describing the positive/configured response, softened by the absence of an output schema.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4 by rule. The description introduces no parameter concepts that would need schema support, and the single relevant configuration input (IPHONE_CONTROL_URL) is env-level and explained in prose.

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 ('Report whether an iPhone is attached') and names the underlying mechanism (iphone-control / WebDriverAgent/XCUITest). It implicitly distinguishes itself from the Android-oriented phone_status sibling by contrasting iOS with Android, but never names that sibling directly, so differentiation is by inference rather than explicit routing.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the description makes clear this is a connectivity/precondition check and tells the agent when it will fail (IPHONE_CONTROL_URL unset). It does not explicitly say 'call this before iPhone actions' or point to phone_status for Android devices, leaving the when-to-use decision partly to inference.

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