Skip to main content
Glama

Browser Scroll

browser_scroll

Use this to scroll an identified Chromium tab by a bounded amount or direction. This changes the viewport only; use scroll_into_view when a known target element should become visible.

Input Schema

NameRequiredDescriptionDefault
deltaNoAlias for delta_y.
titleNoChoose a page whose title contains this text.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
delta_xNoHorizontal scroll delta; positive means right.
delta_yNoVertical scroll delta; positive means down.
endpointNoLoopback Chrome DevTools endpoint. Defaults to REMCP_CDP_URL or http://127.0.0.1:9222.
directionNoHuman-readable scroll direction used with wheel_times instead of explicit deltas.
target_idNoPage target id returned by browser_tabs.
timeout_msNoTimeout in milliseconds.
wheel_timesNoNumber of 120-unit wheel steps for direction; 1..50.
url_containsNoChoose a page whose URL contains this text.

Output Schema

NameRequiredDescriptionDefault
dataNoBrowser element action structured result for browser_action. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

The description adds a key behavioral trait by stating that the action 'changes the viewport only.' This manages the agent's expectation regarding page content mutation or state change, adding value beyond what annotations provide.

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 uses two highly efficient sentences. The first defines the action and scope, while the second provides the critical selection logic for the agent without any wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the input schema (11 parameters and multiple ways to identify targets), the description provides the essential meta-logic needed to correctly select this tool over its similar scrolling siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While the schema coverage is 100%, the description adds conceptual value by categorizing the operations—either moving by a 'bounded amount' (deltas) or by 'direction' (wheel/enum)—helping the agent structure the input intent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool scrolls an identified tab by a bounded amount or direction. Crucially, it differentiates itself from the sibling tool, browser_scroll_into_view, by specifying the scope of its operation.

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

Usage Guidelines5/5

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

It provides an explicit comparison and guideline: use this tool for bounded movement or direction change, and use scroll_into_view only when a specific target element must become visible.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources