Skip to main content
Glama
1password-browser-mcp

1password-browser-mcp

Scroll

browser_scroll

Scroll a page in a chosen direction or bring an element into view using a ref or selector, with an optional accessibility snapshot afterward.

Instructions

Scroll the page (or scroll an element into view when ref/selector is given).

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
refNoElement ref from browser_snapshot, e.g. "e12"
pixelsNoDefault 600
selectorNoPlaywright selector (CSS, text=..., role=..., xpath=...) used when no ref is given
snapshotNoReturn an accessibility snapshot of the page after the action (default from BROWSER_MCP_SNAPSHOT_AFTER_ACTIONS)
directionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden, and it does disclose the two distinct operational modes (page scroll vs. scroll-into-view), which is genuinely useful. However, it says nothing about scroll smoothness/instantaneity, whether the action waits for the target element, what happens if neither or both of ref/selector are provided, or what side effects occur.

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?

One sentence with a tightly scoped parenthetical; the primary behavior is front-loaded and the conditional variant follows immediately. No filler or redundant restatement of the tool name.

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 a five-parameter, zero-required, no-annotation, no-output-schema tool, the description covers the main behavior but omits what happens when ref and selector are both omitted or both supplied, and gives no indication of the default scrolling distance or direction semantics beyond the schema. Adequate but with clear gaps for an agent reasoning about edge cases.

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 already 80%, giving a baseline of 3, and the description adds real meaning on top: it explains that supplying ref/selector switches the behavior from pixel scrolling to scrolling that element into view, a semantic the schema fields do not state. The remaining parameters (direction, pixels, snapshot) are left to the schema, which is acceptable given its coverage.

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 names a specific verb (scroll) and resource (the page), and distinguishes two modes: pixel scrolling versus bringing an element into view. It does not, however, contrast itself with siblings such as browser_hover or browser_wait_for, which also move the viewport or await element state.

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?

Usage is implied by the parenthetical: pass ref/selector to scroll an element into view, omit them to scroll the page. There is no explicit statement of when to prefer this over browser_hover, browser_wait_for, or browser_snapshot, and no preconditions or exclusions are given.

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