Skip to main content
Glama

scroll

Swipe the middle of an iPhone or iPad screen up, down, left, or right to browse lists and pages during app testing; use exact-point drags or element waits for targeted navigation.

Instructions

Scroll the content in a direction ("down" reveals content further down) with one swipe centered on the middle of the screen. Use it to browse a list or page; to scroll until a known element appears use tap_element or wait_for_element with scrollDirection, and for a drag between exact points use swipe. Doesn't report whether anything moved, and content may keep coasting; check with describe_ui or screenshot.

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

Input Schema

NameRequiredDescriptionDefault
amountNoFraction of the screen to scroll, 0.1–0.8 (default 0.5)
deviceNoDevice UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device.
directionYesWhere to look: down reveals content further down

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • addedInput schema / properties / direction / description
      Added value: +"Where to look: down reveals content further down"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

Adds genuinely useful behavior not in the annotations: it does not report whether content actually moved, and momentum may keep content coasting, so the agent is told to verify with describe_ui or screenshot. What it does not address is the tension between a scrolling operation and the supplied readOnlyHint=false / idempotentHint=false pair, nor any timing or wait guidance; the annotations already cover the safety profile, so this lands at adequate-plus rather than rich.

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?

Two sentences, zero filler: the core action and its visual center are front-loaded, then routing to siblings and the verification caveat. Every clause carries information an agent needs.

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 three-parameter, no-output-schema action tool, the description covers what it does, how it differs from neighbors, and the one thing an agent would wrongly assume — that the result confirms movement. Nothing required for a correct call is missing.

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?

Schema description coverage is 100%, with all three parameters documented including the direction enum and the 0.1–0.8 amount fraction. The description only repeats the schema's own "down reveals content further down" gloss and adds nothing about direction edge cases or device selection, so the baseline 3 applies.

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 ("Scroll the content") plus the exact mechanism ("one swipe centered on the middle of the screen"), which immediately separates it from "swipe" (arbitrary drag) and from element-targeted scrolling. An agent can pick it correctly 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 a positive case ("browse a list or page"), then names two alternatives with their selecting conditions: tap_element/wait_for_element with scrollDirection for scrolling until a known element appears, and swipe for a drag between exact points. Both when-to-use and when-not-to-use are explicit.

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