Skip to main content
Glama

mouse_scroll

Scrolls the mouse wheel in a chosen direction by a set number of lines, enabling navigation through documents, web pages, or application content.

Instructions

Scroll the mouse wheel in a direction.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mouse_scroll"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoNumber of lines to scroll
directionNoScroll directiondown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It says nothing about whether the target app must be focused, where the wheel event is delivered (cursor location vs. frontmost window), whether the call blocks until the scroll settles, or whether scrolling is bounded by the page extent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence, front-loaded with the action and free of filler. It is efficiently sized for a two-parameter tool, though it could have spent a few extra words on focus behavior at no structural cost.

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?

The tool is simple, has a fully documented two-parameter schema, no nested objects, and no output schema to explain, so much of the definitional load is already carried elsewhere. Still, for a UI-automation side effect with no annotations, the agent is left without any context on focus requirements or where the scroll lands.

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 coverage is 100% and both properties carry descriptions and defaults, so the schema already explains 'amount' (lines) and 'direction' (enum). The phrase 'in a direction' in the description adds no meaning beyond that, making the baseline 3 appropriate.

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 concrete verb plus resource ('Scroll the mouse wheel'), which is immediately distinguishable from siblings like mouse_click, mouse_drag, and mouse_move. It stops short of stating scope or platform constraints, but the action itself is 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 guidance on when to choose scrolling versus other input tools, no mention of prerequisites such as the target window needing focus or the cursor position determining where the scroll applies, and no exclusions. Usage is only inferable from the name.

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