Skip to main content
Glama

Scroll

scroll

Moves the mouse wheel at the pointer by notches: positive dy goes down, positive dx goes right, enabling remote-control navigation.

Instructions

Scroll the wheel at the pointer: dy > 0 scrolls down, dx > 0 right, in notches.

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": {
      "peer": "<peer>",
      "dy": "<dy>"
    },
    "name": "scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxNo
dyYes
peerYesThe peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so safety framing is supplied. The description adds genuinely behavioral detail beyond that: the scroll happens at the current pointer location and units are in notches, which tells the agent this is a stateful, position-dependent input event. It does not mention that a peer connection must be established or what the call returns, leaving moderate gaps.

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?

A single sentence, front-loaded with the action and pointer location, then the parameter semantics. Every clause carries information; nothing is padding.

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 simple three-parameter input tool with no output schema and helpful annotations, the description covers action, location, units, and direction signs. The remaining gap is that it never states the pointer must be positioned first (via move) or that peer must be connected, which matters for correct invocation sequencing.

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 only 33% (only `peer` is documented inline), so the description must carry dx and dy — and it does, defining the sign convention for both directions ('dy > 0 scrolls down, dx > 0 right') and the unit ('in notches'). It omits dx's default as an optional parameter and any magnitude/ranges, keeping it from 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?

States a specific verb and mechanism: 'Scroll the wheel at the pointer', which distinguishes it from click, key, and type_text siblings by naming the input device action. It stops short of explicitly contrasting with those siblings, but the resource and action 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?

The description explains the mechanics of scrolling but never says when to reach for this tool versus move/click/key, nor any prerequisite such as the pointer needing to be positioned first via a separate tool. Usage is only inferable from the verb itself.

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