Skip to main content
Glama

Scroll

browser_scroll

Turn the mouse wheel: direction and pixels (default down 600), over the page or a screen point x/y; with ref, until that element is in view. Other tools scroll to their element by themselves.

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
xNoScroll over this screen point.
yNoScreen y.
refNoScroll this element into view.
amountNoPixels, default 600.
tab_idNoA result's tab_id.
directionNoDefault down.
session_idNoOnly with several sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the default direction and amount, the screen-point targeting behavior, and that ref scrolls an element into view. It does not discuss side effects such as lazy-loading triggers, but the annotations already cover the safety profile.

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 compact and front-loaded, with defaults and targeting modes stated immediately. Every clause adds useful information with no filler.

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 seven-parameter but all-optional tool with full schema coverage and annotations, the description is largely complete and explains the core modes. A minor gap is that it does not state precedence if multiple targeting parameters are supplied.

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?

Schema coverage is 100%, so the schema already documents each parameter. The description still adds useful meaning by explaining the three targeting modes and their interaction: page-level scrolling, x/y screen-point scrolling, and ref-based scrolling until visible.

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 uses a specific action, 'Turn the mouse wheel,' and states the resource/scope: the page, a screen point x/y, or an element ref. It also distinguishes this from sibling tools that scroll to their own elements automatically, so an agent can identify it as the manual scrolling tool.

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

Usage Guidelines4/5

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

The final sentence gives clear usage context: other tools scroll to their own elements, implying this tool is for explicit/manual scrolling. The two scrolling modes are described, but the description does not explicitly state when to prefer ref versus x/y or page-level scrolling.

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.