Skip to main content
Glama

scroll_to

Scrolls in bounded steps until matching text or an element comes into view; accepts one text match or selector and a direction to reveal off-screen content.

Instructions

Inspect and scroll in bounded steps until matching text or an element comes into view. Supply one text match or element selector and a direction.

Input Schema

NameRequiredDescriptionDefault
matchNo
selectorNo
device_idNo
directionYes
max_stepsNo
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

The word 'bounded' usefully signals that scrolling is capped rather than infinite, which adds context beyond the annotations. However, the description never says what happens on failure (does it error, return a not-found result, or stop silently), how max_steps/timeout interact with termination, or that scrolling mutates viewport position despite destructiveHint=false.

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?

Two tight sentences, front-loaded with the core behavior and followed by the input rule. Nothing is wasted, but the terseness comes partly at the cost of the missing termination and failure details rather than through disciplined editing alone.

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

Completeness2/5

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

For a six-parameter tool with nested objects, a oneOf constraint, and no output schema, the description is thin. An agent still lacks guidance on step limits, timeouts, device targeting, and match options, and has no idea what a successful versus unsuccessful result looks like.

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 description coverage is 0% and the tool has six parameters including two nested objects, so the description carries real weight. It does add meaningful plain-language meaning for the oneOf constraint (exactly one match or selector) and the required direction, but says nothing about max_steps, timeout_ms, device_id, or the match sub-fields (case_sensitive, occurrence, match type).

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 behavior: it scrolls in bounded steps and simultaneously inspects until a text match or element is in view. That is clearly more than a blind scroll, but the description never names or differentiates itself from the 'scroll' sibling, so the agent must infer the distinction.

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?

'until matching text or an element comes into view' implies the use case (locating something off-screen), and the second sentence gives the input rule of one match or one selector plus a direction. There is no explicit when-not, no mention of choosing this over plain 'scroll', and no guidance on what to do if the target is never found.

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