Skip to main content
Glama

glass_scroll

Aim the wheel at a specific window region to scroll that pane by horizontal or vertical notches, holding optional Ctrl/Shift modifiers for range or 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. If at least two next actions or waits are known, use glass_do instead of separate calls.

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 wheel notches from -100 through 100, not pixels. Positive is right and negative is left, repeated `|dx|` times. Typical values are 1–5.
dyNoVertical wheel notches from -100 through 100, not pixels. Positive is down and negative is up, repeated `|dy|` times. Typical values are 1–5. Apps choose how a notch maps to lines, pixels, or zoom.
modifiersNoModifier keys to hold during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed6 schema fields changedv1.5.1
    • changedInput schema / properties / dx / description
      Previous value: -"Horizontal scroll in **wheel notches** (discrete clicks — small integers like 1–5, NOT\npixels). Positive `dx` sends wheel-right, negative wheel-left; glass clicks `|dx|` times."New value: +"Horizontal wheel notches from -100 through 100, not pixels.\nPositive is right and negative is left, repeated `|dx|` times.\nTypical values are 1–5."
    • addedInput schema / properties / dx / maximum
      Added value: +100
    • addedInput schema / properties / dx / minimum
      Added value: +-100
    • changedInput schema / properties / dy / description
      Previous value: -"Vertical scroll in **wheel notches** (discrete clicks — small integers like 1–5, NOT\npixels). Positive `dy` sends wheel-down, negative wheel-up; glass clicks `|dy|` times. How\nan app maps a wheel notch to its view (lines, pixels, zoom) is the app's choice."New value: +"Vertical wheel notches from -100 through 100, not pixels.\nPositive is down and negative is up, repeated `|dy|` times.\nTypical values are 1–5.\nApps choose how a notch maps to lines, pixels, or zoom."
    • addedInput schema / properties / dy / maximum
      Added value: +100
    • addedInput schema / properties / dy / minimum
      Added value: +-100
  2. Changed3 schema fields changedv1.2.0
    • addedInput schema / properties / x / description
      Added value: +"Pointer x the wheel is aimed at, window-relative — apps scroll the container\nunder this point, so it selects which pane moves."
    • addedInput schema / properties / y / description
      Added value: +"Pointer y the wheel is aimed at, window-relative. See `x`."
    • removedInput schema / title
      Removed value: -"ScrollArgs"
  3. Addedv1.0.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already indicate this is not read-only and not destructive. The description adds useful behavioral context: scrolling is measured in wheel steps, modifiers are held during the action, and it names the batching behavior via glass_do when multiple actions are known. This goes beyond the schema but stops short of describing side effects or edge cases in depth.

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 tight sentences with no filler. The core action is front-loaded, the modifier behavior is stated briefly, and the batching alternative is placed at the end where it belongs.

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 action tool with 100% schema coverage and no output schema, the description provides all necessary context: what the tool does, coordinate semantics, modifier behavior, and when to route to glass_do. Nothing critical is missing.

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 100%, so the schema fully documents all five parameters. The description adds a concise restatement of the coordinate model and modifier purpose, but the heavy lifting is already done by the 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 opens with a specific verb and resource: 'Scroll at window-relative coordinates by (dx,dy) wheel steps.' It clearly distinguishes coordinate-based scrolling from the sibling glass_scroll_to_element, and the batching note differentiates it from glass_do.

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

Usage Guidelines5/5

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

Explicitly states when to prefer glass_do instead: 'If at least two next actions or waits are known, use glass_do instead of separate calls.' This gives a concrete condition for choosing an alternative and implies glass_scroll is for single, ad-hoc scroll actions.

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

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