Skip to main content
Glama

scroll

Reveal content hidden below the viewport by scrolling up or down by a set pixel amount. Returns updated page state including any newly loaded content.

Instructions

Scroll the current page up or down by a specified pixel amount to reveal content beyond the visible viewport. Returns updated page_state after scrolling, reflecting any newly loaded lazy content. Use to reveal below-the-fold content, trigger infinite scroll loading, or navigate long pages section by section.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
directionNoScroll direction. 'down' reveals content below the viewport; 'up' scrolls back toward the top.
pixelsNoNumber of pixels to scroll (default: 500). Use 300–800 for a normal page scroll; larger values for quickly reaching page bottom.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It informs that the tool returns updated page_state after scrolling and reflects lazy-loaded content, adding valuable behavioral context beyond the basic scroll action.

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 sentences, each serving a distinct purpose: what it does, what it returns, and when to use. No unnecessary words, efficient and front-loaded.

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

Completeness5/5

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

For a simple 2-parameter tool with no output schema, the description covers the action, return value, and usage scenarios adequately. It is complete for an agent to understand and use the tool correctly.

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 100%. The description adds practical guidance, e.g., pixel range '300–800 for a normal page scroll' and 'larger values for quickly reaching page bottom', which is helpful beyond the schema definitions.

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?

The description clearly states it scrolls the page up or down by a specified pixel amount, a specific verb+resource. It distinguishes from sibling tools like click, navigate, and press_key by focusing on viewport manipulation.

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

Usage Guidelines4/5

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

It provides explicit use cases: reveal below-the-fold content, trigger infinite scroll, navigate long pages. While not explicitly stating when not to use, the guidance is clear and contextually appropriate given the sibling set.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mingye-Lu/AgenticCrawler'

If you have feedback or need assistance with the MCP directory API, please join our Discord server