Skip to main content
Glama

phone_shortcut

Destructive

Triggers iOS system shortcuts—Home, Spotlight, physical volume, or screenshot save—on a connected iPhone or simulator when a direct device action is needed; App Switcher is unsupported.

Instructions

System shortcut: home, spotlight, volume_up/volume_down (physical device; the ACK confirms the request, not the level) or save_screenshot (a mutation, unlike phone_screenshot: the receipt means requested, not saved; if iOS shows a preview choose Done/Save there, never take another; check Photos before claiming saved). Never replay an uncertain capture or volume press. App Switcher is unsupported; unknown names fail before input. phone_key for field keys, launch_app for an app.

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

Input Schema

NameRequiredDescriptionDefault
nameYesHome, Spotlight, Photos capture (`save_screenshot`), or physical-only `volume_up` / `volume_down`. App Switcher is unsupported by the device runner.
observeNoDefault true: reply with the settled screen (delta since your last look, or the full tree); false = bare action, fastest.
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Parameters for [`phone_shortcut`]."
  2. Changed5 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 / observe / default
      Removed value: -null
    • changedInput schema / properties / observe / description
      Previous value: -"Default true: return what the screen settled to (as on phone_tap).\n`false` for the fastest bare action."New value: +"Default true: reply with the settled screen (delta since your last\nlook, or the full tree); false = bare action, fastest."
    • changedInput schema / properties / observe / type
      Previous value: -[
      -  "boolean",
      -  "null"
      -]New value: +"boolean"
  3. Changed1 schema field changedv0.27.7
    • changedInput schema / properties / name / description
      Previous value: -"Supported names: `home` (Home Screen) and `spotlight` (search).\nApp Switcher is unsupported by the device runner."New value: +"Home, Spotlight, Photos capture (`save_screenshot`), or physical-only `volume_up` / `volume_down`.\nApp Switcher is unsupported by the device runner."
  4. 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"
      +}
  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?

Annotations already declare destructiveHint=true and idempotentHint=false, but the description goes well beyond them: the ACK confirms the request rather than the resulting volume level, save_screenshot's receipt means 'requested' not 'saved', the iOS preview dialog must be dismissed with Done/Save (never by re-capturing), and Photos should be checked before claiming success. These are exactly the failure modes an agent would otherwise hit.

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?

The scope and value set are front-loaded in the first clause, and essentially every sentence carries operational content. It loses a point for being a single dense paragraph of nested parentheticals, which makes the critical save_screenshot caveats harder to scan than a short structured list would.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter tool with no output schema, the definition covers what each mode does, what the response actually proves, what not to do after an uncertain call, and which sibling to use instead. Nothing an agent needs in order to call this correctly and report results honestly is missing.

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% and the schema itself lists the accepted name values and the physical-only volume limitation, so the baseline is 3. The description still adds meaning about what selecting 'save_screenshot' commits the agent to (a mutation with a non-outcome receipt), which the schema's one-line value list does not convey.

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 description names a specific verb (trigger a system shortcut) and enumerates the exact accepted values: home, spotlight, volume_up/volume_down, save_screenshot. It also separates itself from siblings in the same breath ('a mutation, unlike phone_screenshot', 'phone_key for field keys, launch_app for an app'), so an agent can route without opening another schema.

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?

Explicit routing rules are given for the nearest alternatives: phone_key for field keys, launch_app for launching an app, phone_screenshot for a non-mutating capture. It also states a negative case ('App Switcher is unsupported') and a hard constraint ('Never replay an uncertain capture or volume press'), leaving little to inference.

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