Skip to main content
Glama

Computer Scroll Into View

computer_scroll_into_view

Use this to bring an identified native accessibility element into the visible viewport before reading or interacting with it. This scrolls the interface without editing its data.

Input Schema

NameRequiredDescriptionDefault
xNoVirtual-desktop X coordinate used by click/scroll coordinate targeting.
yNoVirtual-desktop Y coordinate used by click/scroll coordinate targeting.
idNoElement id returned by ui_snapshot or ui_find. Linux ids are stable per-process accessibility paths and legacy linux:<index> ids remain accepted.
appNoLimit matching to an application/process name substring when available.
pidNoLimit matching to one owning process id when available.
nameNoAccessible name/title substring.
roleNoAccessible role such as Button, Edit, textbox or AXButton.
labelNoCompact numeric label from the most recent ui_snapshot/ui_find; useful for repeated actions without repeating names or coordinates.
titleNoOptional browser page title substring or top-level window title when target=window.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
targetNoOptional target type. auto prefers native accessibility, then browser DOM/CDP, then OCR/coordinates where supported. Use window for explicit top-level window focus/text/scroll targeting.
ocr_textNoVisible text to find in rendered pixels for the OCR click fallback.
selectorNoCSS selector when the fallback target is a browser element.
window_idNoTop-level window id returned by list_windows when target=window.
browser_textNoVisible browser text used only to locate a DOM target; for action=type, text remains the value to enter.
window_titleNoLimit matching to a top-level accessibility window/frame title substring when available.
automation_idNoWindows AutomationId when available.

Output Schema

NameRequiredDescriptionDefault
dataNoComputer action structured result for computer_action. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=true, so the description's added assurance that it 'scrolls the interface without editing its data' genuinely clarifies that viewport state changes but data does not — useful context that softens the readOnlyHint=false signal. It says nothing about failure behavior when the element can't be found, whether scrolling is animated/awaited, or how far it scrolls; with 17 parameters and an output schema, that is the level of behavior an agent would still want.

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 short sentences with the purpose front-loaded and no filler; the second sentence is a genuine behavioral clarification rather than restatement. It is arguably under-informative for a 17-parameter tool, but nothing in it is wasted.

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?

An output schema exists, so return values needn't be explained, and annotations cover the safety profile. However, for a tool with 17 parameters, one enum, and three near-identical scroll-into-view siblings, the description gives no selection guidance among targeting modes or siblings, which is the main completeness gap.

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 100%, so every parameter, including the id/x/y/target targeting modes, is already documented in the schema. The description adds no guidance on which targeting parameter to prefer (id vs label vs x/y vs target=window) for this tool specifically, so baseline 3 applies.

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 ('bring ... into the visible viewport') and a specific resource ('identified native accessibility element'), so the action is unambiguous. It does not name or distinguish itself from the close siblings ui_scroll_into_view and browser_scroll_into_view, leaving the agent to infer the boundary.

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?

It gives one useful usage cue: call this 'before reading or interacting with' an off-screen element, i.e. as a precondition step. It offers no exclusions or alternatives, so an agent facing ui_scroll_into_view, browser_scroll_into_view, or plain computer_scroll has no stated rule for choosing this one.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources