Skip to main content
Glama

browser_scroll

Scrolls the page to a CSS or text selector or by pixel amount, helping reach elements below the fold.

Instructions

Scroll the page to an element or by pixel amount. Useful for reaching elements below the fold.

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
xNoPixels to scroll horizontally (positive = right)
yNoPixels to scroll vertically (positive = down, e.g. 500)
selectorNoCSS or text selector to scroll to (element scrolled into center of viewport)
partitionNoRun this call in a partition from browser_partition (an id like "p1"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.33.0
    • addedInput schema / properties / partition
      Added value: +{
      +  "description": "Run this call in a partition from browser_partition (an id like \"p1\"). Leave it out for the default partition. An unknown or closed id is an error; the call is never sent to the default partition instead.",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: whether the call waits for scroll completion, what happens if the selector matches nothing, whether x/y and selector can be combined, and whether scrolling changes any page state are all unstated. Partition semantics, which the schema carries, are the only behavioral hint and they come from the schema rather than the description.

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 short sentences, zero filler, with the capability stated first and the motivation second. Every sentence earns its place.

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?

With four optional parameters, no output schema, and no annotations, the description should do more to explain outcome and failure modes (missing selector, partition errors, whether scrolls are awaited). It is adequate to select the tool but thin for correct invocation in edge cases.

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% and each parameter is already documented with direction semantics (positive = right/down) and element-centering behavior. The description only restates the selector-vs-pixel duality at a high level, adding no format or precedence guidance beyond the schema; baseline 3 applies.

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 (scroll) with two explicit modes — to an element or by a pixel amount — so an agent immediately knows what the tool does. It stops short of differentiating itself from siblings like browser_navigate or browser_click, which also move the viewport implicitly.

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?

'Useful for reaching elements below the fold' gives an implied usage context, which is better than nothing. However, it names no alternatives and states no exclusions (e.g., when to prefer clicking/scripts instead of manual scrolling), leaving routing to inference.

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