Skip to main content
Glama

Scroll in sandbox

sandbox_scroll

Scroll a Windows sandbox screen at specific pixel coordinates by wheel notches, using raw screen or screenshot coordinates to move content up, down, left, or right.

Instructions

Mouse-wheel scroll at a point: positive notches scroll up (left with horizontal=true), negative scroll down/right. One notch is one wheel detent (~3 lines of text). Default raw sandbox screen pixels; coordinates='screenshot' maps pixels in the most recent screenshot (or captureId).

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": {
      "x": "<x>",
      "y": "<y>",
      "notches": "<notches>"
    },
    "name": "sandbox_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
notchesYesNon-zero wheel detents; positive = up (left when horizontal).
captureIdNo
horizontalNo
coordinatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-alpha.3

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description bears the full disclosure burden and largely meets it: it defines sign convention, ties horizontal=true to leftward scrolling, quantifies one notch as a wheel detent (~3 lines), and explains the default pixel space versus screenshot-relative coordinates. What it omits is boundary behavior (what happens at scroll limits), which window/element receives the wheel event, and whether the action is reversible.

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?

Three dense sentences, each carrying distinct information — direction semantics first, magnitude second, coordinate resolution last. There is no filler, no restatement of the title, and the most decision-relevant fact (sign convention) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter mutation-of-UI-state tool with no annotations and no output schema, the description covers the essentials an agent needs to invoke it correctly: direction, magnitude, and both coordinate modes. Return values need not be described since no output schema exists, but missing bounds behavior and scroll-target semantics keep it from being fully complete.

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 description coverage is only 17% — just 'notches' is documented — so the description must compensate, and it does: it explains x/y as a scroll point, the direction/sign meaning of notches, the horizontal flag, the coordinates enum values (raw screen pixels vs most recent screenshot), and how captureId selects a screenshot. captureId's fallback behavior is only implied by the parenthetical, keeping it below a 5.

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 opens with a specific verb-plus-resource: 'Mouse-wheel scroll at a point'. That is unambiguous and distinct from the click/drag/type siblings. It stops short of naming any sibling tool, so there is no explicit differentiation, but the action itself is narrow enough to be unmistakable.

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?

Usage is implied rather than stated: the coordinate-mode sentence tells the agent which mode to pick when working from a screenshot, which is genuine guidance. However, there is no explicit when-to-use versus when-not, no mention of sandbox_click/sandbox_drag/sandbox_ui_action as alternatives, and no stated prerequisites such as needing a focused window under the cursor.

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