Skip to main content
Glama

glass_scroll

Scroll window at specified coordinates by discrete wheel notches horizontally and vertically. Supports modifier keys like Ctrl or Shift for multi-select.

Instructions

Scroll at window-relative coordinates by (dx,dy) wheel steps. Optional modifiers held during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
dxNoHorizontal scroll in **wheel notches** (discrete clicks — small integers like 1–5, NOT pixels). Positive `dx` sends wheel-right, negative wheel-left; glass clicks `|dx|` times.
dyNoVertical scroll in **wheel notches** (discrete clicks — small integers like 1–5, NOT pixels). Positive `dy` sends wheel-down, negative wheel-up; glass clicks `|dy|` times. How an app maps a wheel notch to its view (lines, pixels, zoom) is the app's choice.
modifiersNoModifier keys to hold during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select.
Behavior3/5

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

Without annotations, the description explains scroll units (wheel notches, not pixels) and modifier holding. It does not disclose side effects, error behavior, or whether coordinates are absolute or relative. Moderately transparent.

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?

Two concise sentences. First sentence states the core action, second covers optional modifiers. No fluff, front-loaded.

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?

With 5 parameters, no output schema, and no annotations, the description covers the core action and most parameters but misses details on x and y coordinate semantics and return/error behavior. Adequate but not exhaustive.

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 coverage is 60%; x and y lack schema descriptions. The description adds 'window-relative' context but does not define their coordinate system (e.g., pixels). dx, dy, and modifiers have schema details that the description echoes, providing moderate value.

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 the tool scrolls at window-relative coordinates by wheel steps, differentiating it from sibling tools like glass_click, glass_drag, and glass_gesture. The verb 'scroll' and resource 'window-relative coordinates' are specific.

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?

The description explains optional modifiers (e.g., catrl for multi-select) but does not specify when to use this tool versus alternatives like glass_gesture. No explicit when-not or guidance on prerequisites.

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/fixed-width/glass'

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