Skip to main content
Glama

Scroll with the wheel

browser_scroll

Scroll a page or specific scrollable element using real wheel events; set deltaX/deltaY for direction and target an element with selector to move inner overflow containers.

Instructions

Scroll the page (or one scrollable element) using real wheel events (BiDi input.performActions type "wheel"). Give deltaX/deltaY in pixels: positive Y scrolls down. With selector, the wheel is aimed at that element, which is how inner overflow containers scroll — document.scrollTop never moves for those.

Input Schema

NameRequiredDescriptionDefault
deltaXNoHorizontal pixels (positive = right, default 0)
deltaYNoVertical pixels (positive = down, default 600)
contextNoTab context id (default: the active tab)
selectorNoScrollable element to aim at (default: the page)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only mark readOnlyHint=false, so the description does real work: it discloses that real wheel events are dispatched at the BiDi layer and explains the inner-container scrolling behavior that a naive scrollTop approach would miss. It is consistent with readOnlyHint=false (scrolling mutates viewport state), though it doesn't describe the return value or whether the resulting scroll position is reported.

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?

Three tight sentences, front-loaded with what the tool does, then parameter semantics, then the key selector caveat. Every sentence contributes and none restates the schema verbatim without adding meaning.

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

Completeness4/5

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

For a 4-parameter, no-output-schema tool with thin annotations, the description covers mechanism, units, direction, defaults (via schema), and the selector caveat well. The only gap is that it doesn't say what the call returns or whether scroll position is observable afterwards.

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 already 100%, so the baseline is 3. The description adds semantic value beyond the schema by explaining sign convention (positive Y scrolls down), pixel units, and, importantly, the behavioral meaning of selector beyond the schema's terse 'Scrollable element to aim at' — that it aims wheel events at inner overflow containers.

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 (scroll) and resource (the page or one scrollable element) and identifies the mechanism, 'real wheel events (BiDi input.performActions type "wheel")'. This clearly separates it from sibling input tools like browser_press_key or browser_mouse_action without needing to open 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 Guidelines4/5

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

Explicitly explains the selector/no-selector choice: with a selector the wheel is aimed at that element, which is required for inner overflow containers since document.scrollTop never moves for those. It gives clear context for when this tool is needed but stops short of naming alternatives such as keyboard-based PageDown scrolling.

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

Deploy Server

Other Tools