Skip to main content
Glama

Scroll Webpage

browser_scroll
Read-only

Scroll the current webpage by direction or pixel amount, or move a target selector into view to control visible content during browser automation.

Instructions

Scroll the current webpage by direction/pixels or bring a target selector 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
amountNoPixels to scroll for up/down (default: 600)
task_idNoOptional task ID for execution tracking and cancellation
selectorNoOptional selector to scroll into view instead of pixel scrolling
directionNoScroll direction (default: down)
session_idNoOptional target browser session ID (defaults to active default session)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, non-destructive, open-world operation. The description adds only that scrolling applies to the current webpage and supports selector-based scrolling, without describing timing, lazy-load, or focus behavior.

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?

The definition is a single front-loaded sentence with no wasted wording. Both supported scrolling modes are stated efficiently.

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 low-complexity scroll tool with full schema descriptions, rich annotations, and no output schema, the definition is nearly complete. It covers both modes but leaves out usage guidance and session prerequisites.

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 all five parameters are already documented in the schema. The description restates the direction/pixel and selector modes but does not clarify task_id or session_id behavior beyond what the schema provides.

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 uses a specific verb and resource: scroll the current webpage. It also distinguishes two operating modes, direction/pixel scrolling versus scrolling a selector into view, though it does not explicitly differentiate itself from browser_action or browser_observe.

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?

The description implies that it is used when scrolling is needed, but gives no explicit when-to-use guidance versus sibling tools. It also omits prerequisites such as needing an active browser session.

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