Skip to main content
Glama

phone_reconnect

Restart on-device iPhone automation to continue a current user task that cannot proceed, waiting until the phone is drivable or reporting a blocker such as an unlock requirement.

Instructions

Start/restart on-device automation; occupies the phone, may need the operator to unlock it. Only to continue a current user-requested task that cannot proceed — never for initialization, health checks, a finished task or to keep the phone ready. Needs released/offline status, recovery_owner=daemon, no blocker or reconnect in progress. Call once; wait_secs blocks until drivable, a blocker or timeout (outcome retrying: the supervisor retries within a minute). Never switches devices.

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

Input Schema

NameRequiredDescriptionDefault
instanceNodaemon instance name
wait_secsNoWait up to this many seconds (1–300) for the outcome instead of returning at once: the call returns when the phone is drivable, a blocker appears (setup_blocked_on, e.g. the passcode), or the time is up — with the compact final state (a blocker other than the passcode must hold for 20 s first). A runner rebuild after an upgrade takes 1–2 min, so 180 covers it. Omit to return immediately.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`PhoneHandler::phone_reconnect`]."
  2. Changed4 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / instance / description
      Previous value: -"Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure."New value: +"daemon instance name"
    • removedInput schema / properties / wait_secs / default
      Removed value: -null
    • changedInput schema / properties / wait_secs / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
  3. Changed1 schema field changedv0.27.34
    • addedInput schema / properties / wait_secs / minimum
      Added value: +0
  4. Changed4 schema fields changedv0.27.3
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / description
      Added value: +"Parameters for [`PhoneHandler::phone_reconnect`]."
    • addedInput schema / properties / instance
      Added value: +{
      +  "description": "Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure.",
      +  "type": "string"
      +}
    • addedInput schema / properties / wait_secs
      Added value: +{
      +  "default": null,
      +  "description": "Wait up to this many seconds (1–300) for the outcome instead of\nreturning at once: the call returns when the phone is drivable, a\nblocker appears (setup_blocked_on, e.g. the passcode), or the time is\nup — with the compact final state (a blocker other than the passcode\nmust hold for 20 s first). A runner rebuild after an upgrade\ntakes 1–2 min, so 180 covers it. Omit to return immediately.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  5. First observedv0.21.0

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: it occupies the phone, may require operator unlock, has strict preconditions, is non-idempotent as indicated by 'Call once', and describes retry behavior after timeout. It also states that it never switches devices, which is important for an open-world mutating operation.

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

Conciseness5/5

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

The description is dense but front-loaded with the core action and then layered with necessary constraints. Every sentence carries operational value for a high-risk automation-start tool, with no 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?

Given the tool's complexity, the description covers purpose, exclusions, preconditions, blocking behavior, and retry semantics well. It does not fully describe the response shape beyond the retrying outcome, which is a minor gap because no output schema is provided.

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?

Schema coverage is 100%, so parameter documentation is already strong. The description adds useful meaning around wait_secs blocking behavior and the supervisor retry outcome, though it does not explain the instance parameter and the wait_secs details overlap substantially with the schema.

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 action and resource: start/restart on-device automation. It also scopes the purpose to continuing a current user-requested task and explicitly excludes initialization, health checks, finished tasks, and keeping the phone ready.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance and detailed when-not-to-use exclusions. It also lists operational prerequisites such as released/offline status, recovery_owner=daemon, and no blocker or reconnect in progress, plus a clear call-once instruction.

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