Skip to main content
Glama

scroll

Read-onlyIdempotent

Move the page up or down by a set pixel amount to reach off-screen content and trigger lazy-loaded items for the next snapshot.

Instructions

Scroll the page "up" or "down" by amount pixels (lazy-loaded content appears in the next snapshot).

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": {
      "session_id": "<session_id>"
    },
    "name": "scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNo
directionNodown
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: lazy-loaded content will only materialize in the following snapshot, which tells the agent a follow-up call is required to observe results. It does not cover what happens when scrolling past the end of the page.

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?

A single front-loaded sentence with no wasted words; the action and its parameters come first and the caveat about lazy-loaded content follows as a parenthetical. The stray whitespace inside the quoted directions is cosmetic rather than confusing.

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 three-parameter tool with no output schema and zero schema descriptions, the definition covers the core mechanics and the lazy-load follow-up but leaves session_id undefined and says nothing about viewport size, scroll limits, or failure behavior. It is adequate to call the tool but not fully self-contained.

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?

Schema description coverage is 0%, so the description carries the burden and does document two of three parameters meaningfully: direction as 'up' or 'down' (a constraint the bare string-typed schema lacks) and amount as pixels. The required session_id parameter is left entirely unexplained, and the default amount of 800 is only in the schema.

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 resource (scroll the page) plus the two axes of control (direction and pixel amount), so an agent knows exactly what action it performs. It stops short of explicitly contrasting itself with siblings like snapshot or press_key, so it is clear but not fully differentiated.

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 only implied: the parenthetical note that lazy-loaded content appears in the next snapshot hints that scrolling is a precursor to calling snapshot. There is no explicit 'use this when...' guidance, no note about when to prefer navigate or find over scrolling, and no mention of behavior at page bounds.

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