Skip to main content
Glama

phone_home_layout

Destructive

Read, back up, preview, apply, or restore iPhone home-screen pages, Dock, folders, and widget stacks from a plist without swiping or screenshots.

Instructions

Read all home-screen pages, Dock, folders and widget stacks from the paired iPhone without swiping or screenshots. Needs a physical target over usbmuxd, not drivable=true or a runner: no reconnect. Page indexes are persisted icon state (hidden pages included); null row/col or positions_complete=false means unknown, never drag coordinates. action: backup (plist on the Mac), preview (diff plist vs phone), apply/restore (replace the layout; confirm=true only after the person saw the preview).

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

Input Schema

NameRequiredDescriptionDefault
fileNoAbsolute path of a layout .plist on the Mac (from a backup).
pageNoOne zero-based home page to read; omit to read every page and folder.
actionNoOmit to read. `backup` saves the current layout on the Mac; `preview` shows what writing `file` would change, by app identifier; `apply` writes `file`; `restore` writes the newest automatic backup (or `file`).
confirmNoapply/restore only: true writes. Without it the preview comes back and nothing changes; show it to the person and ask first.
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.29.2
    • removedInput schema / description
      Removed value: -"Select one zero-based home page, or omit to read every page and folder."
    • addedInput schema / properties / page / description
      Added value: +"One zero-based home page to read; omit to read every page and folder."
  2. Changed7 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / action / default
      Removed value: -null
    • changedInput schema / properties / action / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • removedInput schema / properties / file / default
      Removed value: -null
    • changedInput schema / properties / file / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • 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"
    • changedInput schema / properties / page / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
  3. Changed1 schema field changedv0.27.34
    • addedInput schema / properties / page / minimum
      Added value: +0
  4. Changed3 schema fields changedv0.27.21
    • addedInput schema / properties / action
      Added value: +{
      +  "default": null,
      +  "description": "Omit to read. `backup` saves the current layout on the Mac; `preview`\nshows what writing `file` would change, by app identifier; `apply`\nwrites `file`; `restore` writes the newest automatic backup (or `file`).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "description": "apply/restore only: true writes. Without it the preview comes back and\nnothing changes; show it to the person and ask first.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / file
      Added value: +{
      +  "default": null,
      +  "description": "Absolute path of a layout .plist on the Mac (from a backup).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  5. Changed1 schema field changedv0.27.3
    • 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"
      +}
  6. Addedv0.22.3

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotent=false, and the description adds substantive context beyond them: no reconnect/runner requirement, that page indexes are persisted icon state including hidden pages, that null row/col or positions_complete=false means coordinates are unknowable and must never be dragged, and that apply/restore replaces the whole layout. The backup-vs-preview-vs-write distinction and the human-confirmation gate materially reduce the risk of a destructive misfire.

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 purpose, then constraints, then the action taxonomy — a sensible order with no filler sentences. It is dense and parenthetical-heavy (the quoted preview/apply clause is a run-on), which costs a little readability but not substance.

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 read/write tool with no output schema, the description covers the gating prerequisites, the mutation risk, and the meaning of unknown position data — the things an agent needs to call it safely. It does not say what a backup or read actually returns (e.g., where the plist lands, the shape of the layout payload), leaving a small gap on the observation side.

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 the baseline is 3 and the schema already documents file, page, action, confirm and instance. The description still adds meaning: what "backup" produces (a plist on the Mac), what "preview" compares against (the phone, by app identifier), and that restore falls back to the newest automatic backup when no file is given. The confirm ordering rule is also elaborated here rather than in the schema.

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?

"Read all home-screen pages, Dock, folders and widget stacks from the paired iPhone" is a specific verb+resource+scope, and "without swiping or screenshots" implicitly separates it from the screenshot/flow siblings. The only weakness is that the headline verb is "Read" while the same description later documents backup/apply/restore writes, so the opening sentence understates the tool's mutating half.

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?

It names explicit preconditions and exclusions: "Needs a physical target over usbmuxd, not drivable=true or a runner: no reconnect." It also sequences usage — "confirm=true only after the person saw the preview" — so the agent knows the apply/restore ordering rule rather than inferring it.

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