Skip to main content
Glama

click_interact

Perform clicks by CSS, XPath, role, or coordinates with iframe support. Returns visual effects and observations including popups, navigation changes, and summaries.

Instructions

统一点击工具:by=css/xpath 传 selector(支持 iframe_selector 链式穿透),by=role 传 role+name(get_by_role 语义定位,适合 Portal 弹层),by=coordinate 传 x/y(coordinate_space=top 为顶层视口坐标,可点 VTable 内部)。click_type=single/double;detail=brief/full 控制观察输出体积。visualize 三态(None=跟随配置,默认关)。返回 visual_effects + observation(dynamic_layers/new_layers 浮层弹窗消息 + summary 摘要 + focus 域隔离 + navigation 的 URL/iframe 跳转对比)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
byNocss
nameNo
roleNo
detailNobrief
selectorNo
visualizeNo
click_typeNosingle
descriptionNo
expected_resultNo
iframe_selectorNo
coordinate_spaceNotop

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 transparency burden. It discloses chain-penetration via iframe_selector, coordinate_space semantics, detail output control, and the tri-state visualize. It also outlines return structure including visual_effects and observation components, though it omits side effects or error handling.

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?

The description is information-dense but well-organized with semicolons, covering many aspects without redundancy. It could be slightly easier to scan, but every sentence adds value.

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?

Given the complexity (13 params, no annotations), the description covers targeting modes, output details, and navigation comparison. The presence of an output schema reduces the need to document return values exhaustively, but error behavior and wait conditions are absent.

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 coverage is 0%, so the description must compensate. It explains most key parameters: by, selector, role, name, x/y (through coordinate), coordinate_space, click_type, detail, visualize, and iframe_selector. It does not mention description or expected_result, but those are self-evident metadata fields.

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 opens with '统一点击工具' (unified click tool), clearly stating its function. It enumerates three targeting modes (css/xpath selector, role+name, coordinate) and mentions the ability to click inside VTable, distinguishing it from siblings like fill_input or execute_action_chain.

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 usage context by suggesting by=role for Portal popups and by=coordinate for VTable internal clicks, which helps select the mode. However, it does not explicitly compare with sibling tools or state when not to use the tool, so it falls short of a 5.

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