Skip to main content
Glama

vtable_get_cell_center

Get the top-level viewport coordinates of a table cell's center, usable as precise click targets in automated interactions. Specify column by index or name, and row by data row number.

Instructions

读取单元格中心的【顶层视口坐标】viewportX/viewportY(经场景图 globalAABBBounds 精确计算,含 iframe 与容器偏移),可直接作为 click_interact(by="coordinate", coordinate_space="top") 的点击坐标。col_field 支持列索引或字段名/列标题,row_index 为纯数据行号(0 为第一行)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
col_fieldYes
row_indexYes
iframe_selectorNodiv[aria-hidden=false] iframe

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the coordinate space (top-level viewport), the computation method (scene graph globalAABBBounds), and that iframe/container offsets are included. This is rich behavioral context beyond the schema. It doesn't explicitly state read-only, but '读取' (read) implies it, and the description adds valuable details about the calculation and use case.

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 two concise sentences, front-loading the core outcome (viewport coordinates) and the intended use (click_interact). The second sentence efficiently clarifies parameter semantics. Every word earns its place, with no redundancy or fluff.

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?

The tool is moderately complex (computes coordinates with iframe/container offsets) but the description covers the essential aspects: purpose, parameter semantics, coordinate space, and how to use the output. Since an output schema exists, return-value details aren't needed. It doesn't discuss edge cases or errors, but for a read-only getter with these annotations, it's adequately complete.

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 (supports column index, field name, or column title) and row_index (pure data row number, 0-based). This adds meaning beyond the raw schema. However, the optional iframe_selector parameter is not mentioned, leaving a small gap in an otherwise well-documented set.

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 the tool's purpose: reading cell center top-level viewport coordinates. It uses a specific verb ('read') and resource ('cell center coordinates'), and differentiates from sibling tools like vtable_get_cell_text by explicitly focusing on coordinates for clicking. The direct reference to click_interact further clarifies its unique role.

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?

The description provides clear context for when to use the tool: when you need clickable coordinates for a cell, specifically as input to click_interact. It implicitly distinguishes from text/render-info getters, though it doesn't explicitly name alternatives or state when not to use. The instruction that coordinates can be directly used for click_interact is a strong usage guideline.

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