Skip to main content
Glama
computer
by zznabil

Scroll

scroll
Destructive

Moves content vertically or horizontally by pixel offsets at a screenshot coordinate, letting agents adjust a window or display view with dx and dy amounts.

Instructions

Scroll at screenshot pixels. Positive dy scrolls down, positive dx right (wheel detents).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesx in pixels of the most recent FULL screenshot of the same target (not zoom pixels, not AX coordinates); with frame: "window", pixels from the window's top-left corner.
yYesy in the same frame as x.
dxNoHorizontal amount (default 0).
dyNoVertical amount (default 0).
frameNo"screenshot" (default): x,y are pixels of the latest full screenshot of this target. "window": x,y are logical pixels from the window's top-left corner (list_windows width/height; an ax_find bound minus the window x,y). It keeps the target's capture sizing and changes baseline. If a frame is needed, the server uses the last requested bounds or the defaults.
targetYesWindow id from list_windows (a "window:<id>" prefix is accepted), "desktop", or "display:<id>" / "display:active" / "display:all". Prefer a window id so the input stays scoped to that window; desktop/display input directly drives the user's pointer and keyboard.
takeoverNoOmit to follow the plugin setting ("prefer" uses real input first, "fallback" tries background input first, "refuse" disables takeover). Use true for reliable input in Chromium (including Brave), Electron, and terminal hosts when takeover is allowed. Takeover brings the window forward and can interrupt the user. For window targets, use false to request background-only input; desktop and display targets send real input.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.11.0
    • changedInput schema / properties / frame / description
      Previous value: -"\"screenshot\" (default): x,y are pixels of the latest full screenshot of this target. \"window\": x,y are logical pixels from the window's top-left corner (list_windows width/height; an ax_find bound minus the window x,y); needs no screenshot. It takes a silent screenshot at the default size, which becomes this target's input frame."New value: +"\"screenshot\" (default): x,y are pixels of the latest full screenshot of this target. \"window\": x,y are logical pixels from the window's top-left corner (list_windows width/height; an ax_find bound minus the window x,y). It keeps the target's capture sizing and changes baseline. If a frame is needed, the server uses the last requested bounds or the defaults."
    • changedInput schema / properties / takeover / description
      Previous value: -"Omit (default): background first; the server decides any takeover. true: activate the window and post real input now. false: background only, never take over."New value: +"Omit to follow the plugin setting (\"prefer\" uses real input first, \"fallback\" tries background input first, \"refuse\" disables takeover). Use true for reliable input in Chromium (including Brave), Electron, and terminal hosts when takeover is allowed. Takeover brings the window forward and can interrupt the user. For window targets, use false to request background-only input; desktop and display targets send real input."
    • changedInput schema / properties / target / description
      Previous value: -"Window id from list_windows (a \"window:<id>\" prefix is accepted), \"desktop\", or \"display:<id>\" / \"display:active\" / \"display:all\". Prefer a window id: window input runs in the background; desktop/display input drives the user's real pointer and keyboard."New value: +"Window id from list_windows (a \"window:<id>\" prefix is accepted), \"desktop\", or \"display:<id>\" / \"display:active\" / \"display:all\". Prefer a window id so the input stays scoped to that window; desktop/display input directly drives the user's pointer and keyboard."
  2. Changed3 schema fields changedv0.3.3
    • addedInput schema / properties / frame
      Added value: +{
      +  "description": "\"screenshot\" (default): x,y are pixels of the latest full screenshot of this target. \"window\": x,y are logical pixels from the window's top-left corner (list_windows width/height; an ax_find bound minus the window x,y); needs no screenshot. It takes a silent screenshot at the default size, which becomes this target's input frame.",
      +  "type": "string"
      +}
    • changedInput schema / properties / target / description
      Previous value: -"Window id from list_windows, \"desktop\", or \"display:<id>\" / \"display:active\" / \"display:all\". Prefer a window id: window input runs in the background; desktop/display input drives the user's real pointer and keyboard."New value: +"Window id from list_windows (a \"window:<id>\" prefix is accepted), \"desktop\", or \"display:<id>\" / \"display:active\" / \"display:all\". Prefer a window id: window input runs in the background; desktop/display input drives the user's real pointer and keyboard."
    • changedInput schema / properties / x / description
      Previous value: -"x in pixels of the most recent FULL screenshot of the same target (not zoom pixels, not AX coordinates)."New value: +"x in pixels of the most recent FULL screenshot of the same target (not zoom pixels, not AX coordinates); with frame: \"window\", pixels from the window's top-left corner."
  3. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag this as destructive, open-world, and non-idempotent, so the description's main added value is the sign convention and the unit of movement ('wheel detents'), which is real behavioral information absent from the schema properties. However, it says nothing about the risk the annotations imply: that takeover can bring a window forward, interrupt the user, or that scrolling can move real content.

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 short sentences, front-loaded with the critical coordinate-frame fact, and every clause carries information. No filler or restatement of the title.

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?

For a 7-parameter, destructive, open-world input tool with no output schema, the description is thin: it covers direction and units but leaves target selection, frame baseline, and takeover consequences entirely to the schema and annotations. It is adequate only because the schema descriptions are extremely rich.

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 the baseline is 3; the description earns above baseline by defining the sign semantics of dx/dy ('positive dy scrolls down, positive dx right') and their unit ('wheel detents'), which the schema describes only as 'Horizontal amount' / 'Vertical amount'. This is meaning the schema does not supply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (scroll) plus the coordinate frame it operates in ('at screenshot pixels'), which is the key disambiguator versus AX or window coordinates. It doesn't explicitly say what gets scrolled (the content under x,y on the given target), so the resource side is only implied.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance: nothing about choosing scroll over drag, click, or press_keys, nothing about when a target window versus desktop/display should be used (that only lives in the schema), and no prerequisite conditions. The description is purely mechanical.

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