Skip to main content
Glama

Scroll

scroll

Use this when the task calls for native wheel scrolling of a desktop region or semantic UI target. Prefer browser_action scroll_into_view for a known web element and ui_action scroll_into_view for a known accessible desktop element.

Input Schema

NameRequiredDescriptionDefault
xNoVirtual-desktop X coordinate in pixels.
yNoVirtual-desktop Y coordinate in pixels.
idNoElement id returned by ui_snapshot or ui_find. Linux ids are stable per-process accessibility paths and legacy linux:<index> ids remain accepted.
appNoLimit matching to an application/process name substring when available.
pidNoLimit matching to one owning process id when available.
nameNoAccessible name/title substring.
roleNoAccessible role such as Button, Edit, textbox or AXButton.
deltaNoAlias for delta_y.
labelNoCompact numeric label from the most recent ui_snapshot/ui_find; useful for repeated actions without repeating names or coordinates.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
backendNoInput backend preference. auto uses proven local backends and already-authorized portal input; portal explicitly requests XDG RemoteDesktop consent on Wayland; x11 forces XWayland/xdotool only for operations where read-back testing shows it is reliable. GNOME Wayland keyboard/text deliberately reject x11.
delta_xNoHorizontal delta; positive means right.
delta_yNoVertical delta; positive means down.
directionNoHuman-readable scroll direction used with wheel_times instead of explicit deltas.
wheel_timesNoNumber of 120-unit wheel steps when direction is used; 1..50.
window_titleNoLimit matching to a top-level accessibility window/frame title substring when available.
automation_idNoWindows AutomationId when available.

Output Schema

NameRequiredDescriptionDefault
dataNoScroll structured result for scroll. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.9/5.0
Behavior2/5

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

Annotations provide no safety hints (readOnlyHint false, destructiveHint false), so the description must disclose behavior. It only says 'native wheel scrolling' without explaining side effects, permissions, prerequisites (e.g., element visibility), or consequences of scrolling. There is no mention of what happens on failure or whether it mutates UI state beyond the scroll. For a tool with no annotation support, this is a significant gap.

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 with zero filler. The purpose is front-loaded, and the alternative routing follows immediately. Every word earns its place, making it easy to scan and act upon.

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?

Given the tool's complexity (17 parameters, output schema present), the description is minimal. It clarifies the core purpose and routing but offers no guidance on selecting among the many coordinate, delta, direction, and targeting parameters. Schema coverage and output schema reduce the burden, but the description still leaves an agent without advice on typical usage patterns. Adequate but not complete for a tool this rich.

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%, so the baseline is 3. The description adds no parameter-specific guidance beyond what the schema already provides. It does not explain when to use delta vs direction, or the role of device, which are covered in schema but not reinforced. Thus it adds no additional meaning.

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 states a specific verb and resource: 'native wheel scrolling of a desktop region or semantic UI target.' It clearly differentiates from siblings by naming browser_action scroll_into_view and ui_action scroll_into_view as the preferred alternatives for known elements. This gives an agent a precise understanding of when to invoke this tool.

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?

Explicitly tells the agent when NOT to use this tool and names the alternatives: 'Prefer browser_action scroll_into_view for a known web element and ui_action scroll_into_view for a known accessible desktop element.' This is a clear routing rule that leaves no ambiguity about choice among siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources