Skip to main content
Glama

Scroll

browser_scroll

Scroll a page or element up/down by pixels or to top/bottom. It also scrolls infinite feeds until stable and locates the actual scroll container in app layouts.

Instructions

Scroll the page (or an element) down/up, by pixels, or to top/bottom. untilStable keeps scrolling to the bottom while an infinite feed keeps loading, and reports how much it grew. Finds the real scroll container in app layouts where the window itself does not scroll.

Input Schema

NameRequiredDescriptionDefault
byNoPixels (default: most of a screen).
toNo
refNoElement ref from browser_find or browser_capabilities.
tabIdNo
selectorNoCSS selector, if you have no ref.
directionNo
maxRoundsNoFor untilStable (default 10).
untilStableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does a reasonable job: it explains what untilStable actually does (keeps scrolling while an infinite feed loads), that it reports growth, and that it locates the real scroll container. That is genuine behavioral context beyond the schema, though it omits return format for the normal scroll case.

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?

Three sentences, front-loaded with the core action and then the two special behaviors. Tight and free of filler, though the second sentence is somewhat dense.

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 an 8-parameter, zero-annotation, no-output-schema tool, the description covers the interesting semantics well but leaves several parameters and the general return value unexplained. Adequate but with clear gaps.

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 50%. The description adds meaning for a few parameters by explaining 'by' pixels, 'to' top/bottom, and the untilStable behavior, but ref, selector, tabId, direction, and maxRounds get no prose explanation. It partially compensates but leaves half the parameters undocumented.

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?

States a specific verb (scroll) and resource (page or element) with its modes: by pixels or to top/bottom. It is clear what the tool does, though it does not need to distinguish itself from siblings since no other tool in the list scrolls.

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 implies when to use it (untilStable for infinite feeds, real scroll container in app layouts), which gives implicit usage context. However there are no explicit when-not conditions or alternatives named, and nothing tells the agent when scrolling is the wrong move versus using browser_look or browser_extract.

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