Skip to main content
Glama
duquesnay

mcp-chromium-cdp

by duquesnay

chrome_scroll

Scroll a webpage or element with configurable direction, distance, and behavior. Returns scroll position and boundary status for infinite scroll and pagination detection.

Instructions

Scroll the page or a specific element. Supports direction (up/down/top/bottom), distance (pixels), element targeting (selector), and behavior (instant/smooth). Returns scroll position, boundary detection (atTop/atBottom), and dimensions. Useful for infinite scroll detection and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
behaviorNoScroll behavior: instant (immediate, default) or smooth (animated)
distanceNoDistance to scroll in pixels (required for up/down, ignored for top/bottom). Must be positive.
selectorNoOptional CSS selector for element to scroll (default: window/page scrolling)
directionYesScroll direction: up (scroll up by distance), down (scroll down by distance), top (scroll to top), bottom (scroll to bottom)
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses what the tool returns (scroll position, boundary detection, dimensions) and mentions behavioral options (instant/smooth). However, it omits potential failure cases (e.g., invalid selector) and does not mention side effects or limitations.

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?

The description is two sentences, front-loaded with the core purpose and then listing specifics. Every sentence provides value, with no filler or repetition.

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

Completeness4/5

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

The description, combined with the schema, gives a fairly complete picture: what it does, key parameters, expected outputs, and use cases. Minor gaps include not explicitly noting that 'distance' is required for up/down (though the schema states this) and not covering edge cases like selector not found.

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?

The input schema has 100% coverage with descriptions for all four parameters. The tool description mentions the parameters but does not add new semantic meaning beyond what the schema already provides. Baseline 3 is appropriate.

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 specifies the action ('Scroll the page or a specific element') with the verb and resource. It lists supported capabilities (direction, distance, element targeting, behavior), and no sibling tool performs scrolling, so it naturally distinguishes itself.

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?

The description explicitly mentions use cases: 'Useful for infinite scroll detection and pagination.' This gives clear context for when to use it, but it does not explicitly state when not to use it or name alternative tools, so it falls short of a 5.

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/duquesnay/mcp-chromium-cdp'

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