Skip to main content
Glama

browser_scroll

Scroll the browser page by horizontal or vertical deltas, or bring a referenced/CSS-selected element into view. Use it to navigate long pages or reveal off-screen content.

Instructions

Scroll the page or scroll an element into view.

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
refNoElement reference to scroll into view (@1, @2...)
smoothNoIf true, uses human-like micro-steps and easing with hardware mouseWheel events for anti-bot bypass.
delta_xNoHorizontal scroll delta
delta_yNoVertical scroll delta (positive=down, negative=up)
selectorNoCSS selector to scroll into view

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.13.0
    • addedInput schema / properties / smooth
      Added value: +{
      +  "default": true,
      +  "description": "If true, uses human-like micro-steps and easing with hardware mouseWheel events for anti-bot bypass.",
      +  "type": "boolean"
      +}
  2. First observedv0.8.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden and adds almost nothing: it doesn't say whether the call waits for scroll completion, what it returns, whether ref takes precedence over selector, or that a missing ref/selector defaults to whole-page scrolling. The anti-bot/hardware-wheel behavior is disclosed only in the schema, not here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence, front-loaded with the verb and covering both operating modes without filler. It is efficient, though its brevity reflects under-specification rather than tight editing of rich content.

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?

Five optional parameters, no annotations, and no output schema mean the description should do more work. It never resolves the ref-vs-selector interaction, the meaning of scrolling with no target, or what the agent gets back, leaving real ambiguity for a tool with three alternative targeting mechanisms.

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 100%, so the parameters are already fully documented, and baseline is 3. The description does implicitly map its two clauses onto the parameter groups (deltas for page scroll, ref/selector for element scroll), which is a small value-add but no format or precedence detail.

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 names a specific verb ("Scroll") and two distinct targets (the page itself, or an element into view), so an agent can tell what the tool does. It does not differentiate against any sibling, but none of the listed siblings is a plausible substitute for scrolling, so the omission costs little.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus another approach, no prerequisites, and no explanation of which mode to pick. It doesn't clarify the relationship between scrolling by delta versus scrolling an element into view, which is the main decision the agent faces.

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