Skip to main content
Glama

Ui Scroll Into View

ui_scroll_into_view

Use this to bring an identified native Accessibility/UI Automation element into view before interacting with it. Prefer semantic targeting over blind pointer scrolling.

Input Schema

NameRequiredDescriptionDefault
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.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
window_titleNoLimit matching to a top-level accessibility window/frame title substring when available.
automation_idNoWindows AutomationId when available.

Output Schema

NameRequiredDescriptionDefault
dataNoAct on UI element structured result for ui_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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true, destructiveHint=false, so the safety profile is covered. The description only adds that the operation changes visibility before a subsequent interaction; it says nothing about failure behavior when the element cannot be found or is not inside a scrollable region, nor about whether focus moves. Adequate but thin for a state-changing tool.

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?

Two sentences, front-loaded with the action and followed by the targeting preference. No filler, no repetition of schema or annotation data.

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?

With a full input schema, a complete output schema, and annotations covering safety, the description is sufficient to call the tool correctly. The remaining gap is not distinguishing itself from the three other scroll_into_view siblings, which matters given the crowded namespace.

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%, with all nine targeting parameters (id, app, pid, name, role, label, device, window_title, automation_id) fully documented in the schema. The description adds no resolution-order or precedence guidance (e.g. id vs label vs name/role combination), so it does not exceed the baseline.

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 concrete verb and resource: bring a specific native Accessibility/UI Automation element into view, scoped to semantic (not coordinate) targeting. It implicitly separates itself from blind pointer/scroll tools, but never names scroll, computer_scroll_into_view, or browser_scroll_into_view, so an agent must infer which of the near-identical siblings applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'before interacting with it' and 'Prefer semantic targeting over blind pointer scrolling' give a clear usage condition and an implied alternative approach. What is missing is the explicit exclusion case, i.e. when blind scrolling is actually correct or when this tool fails (element not in a scrollable container).

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