Skip to main content
Glama
Browser Controller

Browser Controller

by compnew2006

browser_scroll

Scroll a browser page by dx/dy pixel offsets or move a target element into view; returns NOT_SCROLLABLE if nothing moves.

Instructions

Wheel-scroll by dy/dx px at target or page center. With only target, scroll it into view. Nothing moved: NOT_SCROLLABLE.

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": {
      "tabId": "<tabId>"
    },
    "name": "browser_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxNo
dyNo
tabIdYes
targetNoTarget.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.0

TDQS

A3.5/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 behavioral burden. It usefully discloses the target-vs-page-center behavior and the NOT_SCROLLABLE failure signal, but it omits other behavioral details such as waiting/settling, scroll limits, and return shape beyond the failure case.

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?

Three short sentences, front-loaded with the core action, then the target-only behavior, then the failure result. There is no redundant wording.

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 simple scroll tool without an output schema or annotations, the description covers the main action and one important edge case. It is not fully complete because parameter defaults and the tab context are left to the schema, which itself has low description coverage.

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?

Only target has any schema description ('Target.'), and the description adds useful meaning for dx/dy as pixels and for the target-only scroll-into-view case. It leaves tabId and the optional/default behavior of dx/dy unexplained, so it only partly compensates for the low schema 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 gives a specific verb and action ('Wheel-scroll') plus the units ('dy/dx px') and placement ('at target or page center'), so the agent knows exactly what operation this tool performs. It does not explicitly differentiate itself from sibling browser tools, so it stops short of a 5.

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 implies the tool is for scrolling and explains the special case 'with only target, scroll it into view,' but it does not state when to prefer this over alternatives such as browser_click or browser_evaluate. No explicit when-not guidance or alternative routing is provided.

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