Skip to main content
Glama

browser_scroll

Scrolls a browser page or a specific inner scroll container by direction, pixel amount, or element reference to reveal off-screen content.

Instructions

Scroll a page or an inner scroll container. Pass ref to scroll a specific container (e.g. a virtualized message list) instead of the window.

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
toNo
refNoElement reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container.
blockNo
tabIdNoOptional browser tab id to act on instead of the focused tab.
amountNoNumber of pixels to scroll (default: 500).
directionNoDirection to scroll (default: "down").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses the important behavioral nuance that scrolling can target an inner scroll container like a virtualized list rather than the window, but it does not say whether the call waits for the scroll to settle, whether it triggers lazy-loading/re-render, or what happens when a ref is stale.

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 compact sentences, front-loaded with the action and followed by the one non-obvious targeting rule. Nothing is wasted and there is no filler.

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 6-parameter tool with no annotations and no output schema, the description covers the main targeting concept but leaves the semantics of direction (up/down vs top/bottom) and block, plus post-scroll behavior, undetermined.

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 coverage is 67%, so the schema already documents ref, tabId, and amount defaults. The description's ref-to-container hint largely restates the schema note and adds no meaning for the enum parameters (to, block, direction), where the distinction between relative up/down and absolute top/bottom is left unexplained.

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?

The description states a specific verb and resource ("Scroll a page or an inner scroll container") and immediately clarifies the two modes of operation. It does not differentiate itself from siblings such as browser_wait or browser_press, which could also move a page, but the core action is unambiguous.

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?

It gives one conditional hint: pass ref to scroll an inner container instead of the window. It does not say when to prefer this tool over keyboard-based scrolling (browser_press) or waiting (browser_wait), so usage is only implied for the common cases.

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