Skip to main content
Glama

iph_scroll

Scroll content up or down on a real iPhone screen, and optionally keep scrolling until a specific element or label becomes visible.

Instructions

Scroll the content. "down" shows what is further down. With until, keeps scrolling until that element is on screen.

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": "iph_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoMost scrolls to try (default 10).
untilNoSelector: a plain string is an exact label (the name part of a "name, value" row also counts). Or combine terms: label="exact", label~="contains", label/regex/, role=button, id=<identifier or element id>, value~=…, within="<selector>", index=N. An object works too: {label, label_contains, label_regex, value, value_contains, role, id, id_contains, id_regex, within, index}. More than one match is an error that lists the candidates.
directionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it discloses the two modes and that `until` loops, which is genuinely useful behavior. It omits what happens when the target is never found (failure signal, partial scroll state) and says nothing about the return value or side effects on the viewport.

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?

Three short sentences, front-loaded with the core action and the mode switch, with no wasted preamble. The middle sentence explaining "down" is mildly redundant with the enum but earns its place by anchoring the semantics.

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

Completeness3/5

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

For a three-parameter tool with no annotations and no output schema, the description covers the two interesting parameters but leaves the agent guessing about failure behavior and what a successful call yields. Adequate but with clear gaps for a looping action tool.

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 description adds real meaning for `direction` and explains that `until` triggers repeated scrolling, complementing the 67% schema coverage. The `max` parameter's consequence — what happens when the scroll budget is exhausted — is not addressed beyond the schema's default of 10.

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?

Names a specific verb and resource ("Scroll the content") and clarifies the meaning of the direction values, so an agent knows exactly what action is performed. It does not distinguish itself from the neighboring gesture tool (iph_swipe), leaving that boundary implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies usage through "shows what is further down" and describes the `until` mode as a repeated scroll until an element is on screen, which tells an agent the two operating modes. It gives no explicit when-to-use versus iph_swipe/iph_find or any prerequisite conditions.

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