Skip to main content
Glama

scroll

Move the active browser page up or down by a given number of pixels to reveal off-screen content.

Instructions

Scroll up or down by amount pixels.

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": "scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNo
amountNo
directionNodown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about what is scrolled, whether the call blocks until scrolling settles, whether it triggers lazy-loading, or how it fails on a non-scrollable page. Only the output schema relieves it of describing return values; the interaction semantics remain undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no filler, which is the right shape for a simple action. It is arguably too terse rather than padded, and the phrasing 'by amount pixels' is slightly awkward.

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

Completeness2/5

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

For a three-parameter browser-action tool with zero annotation coverage and zero schema descriptions, the definition is far too thin — an agent cannot determine scroll target, direction values, defaults, or failure behavior. The existence of an output schema excuses only the return-value explanation.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description must compensate and largely fails. It implies a pixel amount and a direction, but never names the parameters, never states that direction accepts 'up'/'down' (default 'down'), never mentions the 600 default, and says nothing at all about the 'tab' parameter or its -1 default.

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 states a specific verb (scroll) plus the two axes of variation (up/down, pixel amount), so an agent knows immediately this is a viewport-scrolling action rather than a navigation or click tool. It does not clarify whether it scrolls the document, a focused element, or the element under the cursor, which leaves a residual ambiguity.

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

Usage Guidelines2/5

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

There is no guidance on when to prefer this over waiting (e.g., wait_for) or over reading content directly, and no mention of prerequisites such as needing a loaded page or an active tab. The agent must infer all usage conditions from the tool name alone.

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