Skip to main content
Glama

glass_scroll

Scroll a targeted window pane by sending discrete wheel notches at given coordinates, with optional modifier keys for range selection.

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
xYesPointer x the wheel is aimed at, window-relative — apps scroll the container under this point, so it selects which pane moves.
yYesPointer y the wheel is aimed at, window-relative. See `x`.
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?

With no annotations, the description carries the burden of disclosing behavior. It explains wheel steps and modifiers, but does not mention the effect of null dx/dy values, side effects, or response behavior. The schema covers parameter details, but the description lacks explicit behavioral caveats.

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, front-loaded with the core action and essential modifiers. Every word earns its place, with no redundancy or fluff.

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?

The description plus schema provide adequate understanding, but gaps remain: no guidance on null dx/dy behavior (e.g., what happens if only x and y are provided), and no annotations to cover safety or side effects. The tool has 5 parameters and no output schema, so more context would help.

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%, so baseline is 3. The description adds meaning by clarifying dx/dy are wheel steps and providing modifier examples with intended use cases (multi/range-select), going beyond the schema's parameter descriptions.

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, using a specific verb and resource. It distinguishes from siblings like glass_scroll_to_element by emphasizing coordinates and wheel steps.

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 implies usage for precise wheel scrolling at a given point, but does not explicitly state when to use this tool versus alternatives like glass_scroll_to_element or glass_gesture. No exclusions or alternative recommendations are provided.

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