Skip to main content
Glama
computer
by zznabil

Scroll

scroll
Destructive

Pan content vertically or horizontally by pixel offsets at screenshot coordinates in a window or display to reveal off-screen UI.

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).
yYesy in the same frame as x.
dxNoHorizontal amount (default 0).
dyNoVertical amount (default 0).
targetYesWindow 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.
takeoverNoOmit (default): background first; the server decides any takeover. true: activate the window and post real input now. false: background only, never take over.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety burden is partly carried structurally; the description adds only the sign convention and the 'wheel detents' unit. It never states what scrolling can disturb (focus, selection, hover states) or the takeover implications, which is a real gap for a flag marked destructive.

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 operation and coordinate frame, then the axis semantics. Every clause carries information and nothing is redundant.

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 6-parameter, non-idempotent, flagged-destructive input tool with no output schema, the description is quite thin; it leaves takeover behavior, target preference, and side effects entirely to the schema and annotations. It is adequate in combination with the very rich schema, but not self-sufficient.

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, but the description goes beyond the schema by defining what positive dx/dy mean and what unit the deltas use — details the schema's 'Horizontal amount'/'Vertical amount' text omits. It does not explain takeover or target selection, but those are fully covered in the schema.

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?

The description gives a specific verb (scroll) plus the coordinate frame it operates in (screenshot pixels) and the sign convention for both axes, which is far more useful than the bare title. It does not differentiate itself from siblings like drag or move_mouse, but the purpose and input frame are unambiguous.

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?

There is no when-to-use or when-not guidance: nothing says whether the pointer must be positioned first, whether to prefer element-level tools, or what happens if the target isn't the intended window. Usage must be inferred entirely from the one-line text and the schema's target description.

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