Skip to main content
Glama

scroll

Move a connected iOS device or simulator viewport by a bounded distance in one direction; to target a specific container, first list its elements and pass its reference with snapshot ID.

Instructions

Scroll in one direction by a bounded distance. For a specific container, call list_elements first and pass its reference and snapshot ID.

Input Schema

NameRequiredDescriptionDefault
device_idNo
directionYes
timeout_msNo
snapshot_idNo
container_refNo
distance_pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, covering the safety profile. The description adds the bounded-distance notion and a container prerequisite, but omits what the gesture affects, timeout behavior, and failure modes.

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, front-loaded with the core action and followed by the one prerequisite that matters. There is no redundant or filler text.

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

Completeness2/5

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

For a six-parameter UI gesture with no output schema and no schema descriptions, the description is too thin. It leaves device selection and timeout behavior unexplained; the container workflow is helpful but insufficient for correct invocation in all cases.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain six parameters, but it only loosely clarifies direction and distance while partially covering container_ref and snapshot_id. device_id and timeout_ms remain undocumented, and distance_points units are not stated.

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?

States a concrete verb and resource: scrolling in one direction by a bounded distance. It does not explicitly distinguish itself from the sibling scroll_to tool, but the container-specific workflow adds useful specificity.

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?

Provides a prerequisite workflow for scrolling within a specific container (call list_elements first), which is useful conditional guidance. However, it gives no guidance on when to use this versus scroll_to, nor any explicit when-not-to-use conditions.

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