Skip to main content
Glama

phone_scroll

Destructive

Scroll an iPhone screen with a controlled swipe at a normalized anchor to reveal off-screen content above or below while avoiding controls and edges; inspect the result before repeating.

Instructions

Move the viewport with one device-side swipe (phone_scroll_find to reach a known label, phone_collect_list to read several pages). x,y is a normalized anchor inside the scrollable region — avoid text fields, sliders and screen edges, a misplaced gesture can edit a control or navigate away. Positive dy reveals content below, negative above; dx right/left. Travel is 1.5× each delta in points, clamped to 15–75% of the screen. Inspect the observed result before repeating.

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": {
      "x": "<x>",
      "y": "<y>",
      "dx": "<dx>",
      "dy": "<dy>"
    },
    "name": "phone_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesHorizontal anchor position, normalized 0–1.
yYesVertical anchor position, normalized 0–1.
dxYesHorizontal scroll delta. Positive reveals content to the right.
dyYesVertical scroll delta. **Positive dy reveals content farther down**; negative dy reveals content above. ~80 ≈ 15% of a screen, ~400 ≈ 75%.
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_scroll`]."
  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.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"
      +}
  4. Changed4 schema fields changedv0.22.4-glama.1
    • addedInput schema / properties / x / maximum
      Added value: +1
    • addedInput schema / properties / x / minimum
      Added value: +0
    • addedInput schema / properties / y / maximum
      Added value: +1
    • addedInput schema / properties / y / minimum
      Added value: +0
  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 non-idempotent, but the description adds the operational reason: a misplaced gesture can edit a control or navigate away, which is precisely the failure mode an agent must guard against. It also discloses the non-obvious kinematic rule that travel is 1.5× each delta clamped to 15–75% of the screen, so the agent knows a delta is not literal pixels and that large deltas saturate rather than compound.

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-loads the action, then the sibling routing, then the safety and kinematics detail, so an agent can stop reading at any depth. The single paragraph is dense and mostly earns its space, but the direction convention (positive dy / negative dy) is stated once in prose while the schema and the dy description already cover it, a mild redundancy.

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 risky, non-idempotent gesture tool with no output schema, the description covers the action, the alternatives, the hazard, the coordinate convention, the distance mechanics, and the read-back loop. Nothing an agent needs in order to call it correctly and safely 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%, so the baseline is 3; the description exceeds it by explaining that x,y is an anchor inside the scrollable region (not a start point) and by restating the direction convention in operational terms. The 1.5× travel multiplier and the 15–75% clamp are semantics found nowhere in the schema, though the description does not touch the observe or instance parameters.

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 verb and resource ("Move the viewport with one device-side swipe") and immediately distinguishes itself from phone_scroll_find and phone_collect_list by naming each as the tool for a different job. An agent can tell exactly what this tool does and does not do without opening the 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?

Gives explicit routing guidance: use phone_scroll_find to reach a known label, phone_collect_list to read several pages, and this tool for a single raw swipe. It also gives when-not-to guidance about anchor placement (avoid text fields, sliders, screen edges) and instructs inspection before repeating, which covers the practical decision an agent faces between successive calls.

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