Skip to main content
Glama

browse_click

Clicks a web page element by snapshot reference or by screen coordinates when no reference is available.

Instructions

Bấm phần tử theo ref từ snapshot (r-), hoặc toạ độ dạng '@x,y' (chỉ dùng ở CUA khi không có ref).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ref": "<ref>"
    },
    "name": "browse_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the ref syntax (r-<n>) and the constrained coordinate mode, which is genuine added context. However, it says nothing about what happens after a click (navigation, DOM change), how stale refs fail, or whether it waits for load — meaningful gaps for an action tool with zero annotation coverage.

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?

A single sentence that front-loads the primary mode and appends the fallback with its restriction. No redundant wording and nothing that could be cut without losing information.

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?

For a one-parameter, no-output-schema, no-annotation tool, the definition covers both input modes and their constraint, which is most of what an agent needs to invoke it. It is only slightly incomplete in omitting post-click consequences and ref-staleness behavior.

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% — the single 'ref' parameter is typed only as a string with no description. The prose compensates well by documenting the accepted formats (snapshot ref 'r-<n>' or coordinate string '@x,y') and the condition restricting the coordinate form. This is real meaning the schema does not convey.

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 ('Bấm' / click) and the resource (element identified by a snapshot ref), plus the alternative coordinate form. An agent can immediately tell this is the element-activation tool rather than a typing or submission tool. It stops short of naming siblings explicitly, but the ref-from-snapshot framing is distinctive enough.

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 real conditional: coordinates ('@x,y') should be used only in CUA mode when no ref is available. That is useful when-to-use guidance for the fallback path, but there is nothing telling the agent when to pick this over browse_submit or browse_type, or that a fresh snapshot is a prerequisite.

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