Skip to main content
Glama

browser_scroll

Scroll pages with real wheel events to trigger lazy loading and scroll-linked animations, bring elements into view by ref, or jump to top or bottom while returning the resulting scroll position.

Instructions

Scroll with real wheel events (lazy loading and scroll-linked animation behave), or scroll an element into view by ref, or jump to top/bottom. Returns the resulting scroll position.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoScroll this element into view — ref or CSS selector
toTopNoJump to the top of the page
deltaXNoPixels right (negative scrolls left)
deltaYNoPixels down (negative scrolls up)
toBottomNoJump to the bottom of the page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.5.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two useful traits beyond the schema: that real wheel events are dispatched (so page scripts observe genuine input) and that the resulting scroll position is returned, but it says nothing about whether scrolling is awaited/settled before returning, timing, or what happens if the ref is missing or off-screen.

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?

A single front-loaded sentence covering mechanism, the three usage modes, and the return value, with zero filler. 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.

Completeness4/5

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

For a zero-required-parameter action tool with no annotations and no output schema, the description covers mechanism, modes, and return value well enough to call it. The remaining gap is precedence: with 0 required params it never says what happens when both toTop and deltaY are sent, or what the default no-argument behavior is.

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 every one of the five parameters is already documented with direction semantics (negative scrolls opposite, 'ref or CSS selector'). The description reinforces the modes but adds no format, units, or precedence detail beyond the schema; baseline 3 is appropriate.

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 concrete verb and mechanism ('Scroll with real wheel events') plus the three distinct modes it supports (wheel delta, scroll-into-view by ref, jump to top/bottom) and the return value. An agent can tell exactly what this tool does without opening the schema, and no sibling tool overlaps in function.

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?

The parenthetical 'lazy loading and scroll-linked animation behave' tells the agent which situation favors this tool over synthetic/keyboard scrolling (e.g. browser_press PageDown), and the mode list implies when to pass ref vs deltas vs toTop/toBottom. It stops short of explicit exclusions or precedence rules when multiple modes are supplied together.

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