Skip to main content
Glama

browser_scroll

Scroll a specific browser tab vertically or horizontally by pixel offsets at given coordinates, so agents can move through page content without changing the shared view.

Instructions

Scroll the wheel at (x, y) by dy vertical / dx horizontal pixels. tab: the handle browser_new_tab returned ("t3"). Pass it on every call: several agents can share this server, and the tab is how each one keeps to its own page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "x": "<x>",
      "y": "<y>"
    },
    "name": "browser_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
dxNo
dyNo
tabNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does add real behavioral context by explaining the multi-agent tab-handle model and why the handle matters. It omits other behavioral facts an agent needs: what happens when `tab` is null, whether scrolling targets the viewport or a scrollable element at (x,y), and whether it fails on an invalid handle.

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 sentences, no filler, with the core action front-loaded and the tab-contract second. Every clause carries information an agent needs.

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 five-parameter, no-annotation, no-output-schema tool, the description covers the action, the units, and the cross-agent tab mechanism well. The remaining gap is behavior around a null or invalid `tab` and the return value, which is modest but not trivial for a state-changing page interaction.

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 description coverage is 0%, so the description must compensate, and it does for most of the five parameters: it defines x/y as the scroll position, dx/dy as horizontal/vertical pixel amounts, and tab as the handle from browser_new_tab with an example value. It leaves the defaults unexplained (dy=-300, dx=0 imply a default downward scroll, but that is never stated) and does not define the coordinate space.

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?

States a specific verb ('Scroll the wheel') plus the exact coordinate and pixel-delta semantics, which clearly separates it from siblings like browser_click or browser_press. An agent can identify the action without opening the schema.

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 gives one concrete usage rule — pass `tab` on every call and why — which is helpful operational guidance. However, it never says when to prefer scrolling over alternatives such as browser_js or browser_press (e.g. Page Down), and offers no exclusions or preconditions.

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