Skip to main content
Glama

phone_flow_update

Idempotent

Sync the official iphone-use flow registry into local storage with checksum verification and strict validation, preserving local flows. Run when the flow list is empty or to fetch new flows.

Instructions

Mirror the official iphone-use flow registry (github.com/leeguooooo/iphone-use-flows) into the local store. Every file is checksum-verified and strictly validated before it is written; locally added flows are kept. Call once when phone_flow_list reports an empty store, or to pick up new flows. Network only; the phone is not touched.

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

Input Schema

NameRequiredDescriptionDefault
instanceNodaemon instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.0
    • 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"
  2. 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"
      +}
  3. First observedv0.21.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses that every file is checksum-verified and strictly validated before writing, that local flows are preserved (consistent with destructiveHint=false), and that the operation is network-only and never touches the phone (clarifying openWorldHint). These are exactly the behavioral facts an agent needs before invoking a write-to-local-store sync.

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?

Three short sentences, front-loaded with the action and its scope, then safety/validation behavior, then invocation guidance. No redundant or filler wording.

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 one-optional-param sync tool with no output schema, the description covers purpose, safety, persistence semantics, and triggers. The only minor gap is what the call reports back (counts of new/updated flows, success/failure on validation errors), which would help an agent interpret the result.

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

Parameters3/5

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

The single optional 'instance' parameter has full schema description coverage ('daemon instance name'), so the schema carries the semantics. The description adds nothing about which instance to target or what happens if omitted, leaving it at the baseline for high coverage.

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 uses a precise verb+resource pair: mirror the official iphone-use flow registry into the local store. It immediately distinguishes itself from siblings by naming phone_flow_list as the trigger source and by noting that locally added flows survive the sync.

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?

It gives explicit triggers: call once when phone_flow_list reports an empty store, or to pick up new flows. That covers the main when-to-use case and implicitly discourages repeat calls with 'call once', though it doesn't state any when-not condition (e.g., avoiding a call when the store is already populated and no new flows exist).

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