Skip to main content
Glama

vtable_scroll_to

Scroll a VTable to a specified cell, column, row, or offset, then verify the target is in view. Returns updated scroll positions and cell visibility for reliable interaction.

Instructions

滚动 VTable 到目标位置(等价于拖动横/纵向滚动条滑块,直接调用实例 API scrollToCol/scrollToRow/scrollToCell/setScrollLeft/setScrollTop,比真实鼠标拖拽滚动条更稳定)。四种用法按优先级:1) col_field+row_index 滚动到指定单元格;2) 仅 col_field 横向滚动到该列;3) 仅 row_index 纵向滚动到该行;4) scroll_left/scroll_top 直接设置滚动偏移。col_field 支持列索引(int)或字段名/列标题(str)。verify=True(默认) 滚动后自动校验目标是否已进入可视区,返回最新 scrollLeft/scrollTop 及单元格可见性。滚动到目标后应配合 vtable_get_cell_center 获取最新坐标再点击。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
verifyNo
col_fieldNo
row_indexNo
scroll_topNo
scroll_leftNo
iframe_selectorNodiv[aria-hidden=false] iframe

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Since no annotations are provided, the description carries the full burden and does so admirably. It discloses internal API calls (scrollToCol/scrollToRow/scrollToCell/setScrollLeft/setScrollTop), the verify=True default with automatic visibility checks, return values (scrollLeft/scrollTop and cell visibility), and even recommends using vtable_get_cell_center after scrolling. This is rich behavioral context.

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?

The description is information-dense yet well-structured with numbered usage modes and clear sentences. Every sentence contributes value, and the length is appropriate for the tool's complexity.

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

Completeness5/5

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

For a tool with 6 parameters and four usage modes, the description is exceptionally complete. It covers purpose, usage modes, parameter behavior, verification, return data, and follow-up actions. The only minor omission is iframe_selector, but it's not critical. With no annotations and no output schema details, this description goes above and beyond.

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 description coverage is 0%, so the description must compensate. It explains col_field types (int or string), the four usage modes clarifying parameter combinations, verify behavior, and scroll_left/scroll_top semantics. However, iframe_selector is not mentioned in the description, leaving a minor gap for this parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Scroll VTable to target position' and elaborates with four explicit usage modes, distinguishing it from sibling tools like vtable_get_cell_center and vtable_drag_column. The verb is specific, the resource is named, and the scope is well-defined.

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

Usage Guidelines5/5

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

It provides an explicit priority list of usage modes based on parameter combinations, explains when to use each variant, compares to mouse dragging, and advises a follow-up step with vtable_get_cell_center for clicking. This gives clear when-to-use and includes alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hooplus1ce/qa-automation-mcp-plugin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server