Skip to main content
Glama
browser-mcp-server

browser-mcp-server

by vicktor12

browser_click

Clicks a page element by CSS selector, visible text, or aria-label, trying each strategy in order until it finds the target.

Instructions

Clica em um elemento da página. Pode encontrar o elemento por seletor CSS, por texto visível ou por aria-label. Tenta as estratégias em ordem até encontrar.

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": {
      "task_description": "<task_description>"
    },
    "name": "browser_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoTexto visível do elemento
selectorNoSeletor CSS
aria_labelNoaria-label do elemento
task_descriptionYesDeve conter [AGENT-BROWSER-TASK] + descrição da ação

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the fallback resolution behavior ('Tenta as estratégias em ordem até encontrar'), but omits what happens on total failure, whether it waits for the element, whether it scrolls into view, and whether the click navigates. For a mutating action with zero annotation coverage that is a meaningful gap.

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?

Three short sentences, front-loaded with the action and then the targeting strategies. Every clause adds information and nothing is repeated from the schema verbatim.

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

Completeness3/5

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

Adequate for a 4-parameter tool whose schema is fully described, but with no output schema the description never says what a call returns or signals on success versus failure, which matters for an agent driving a browser loop. It also never mentions the [AGENT-BROWSER-TASK] convention required by the sole required parameter.

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 coverage is 100%, so every parameter is already documented in the input schema; the description only echoes the three locator options without adding format or precedence detail ('em ordem' is never resolved into an explicit priority, e.g. selector before text before aria_label). Baseline 3 applies since the schema does the heavy lifting.

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 and resource ('Clica em um elemento da página') and enumerates the three locator strategies, so the agent knows exactly what the tool does and how it targets elements. It does not explicitly contrast itself with siblings like browser_fill or browser_navigate, which keeps it from a 5.

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?

Usage is only implied by the verb 'Clica' — there is no statement of when to prefer this over browser_fill (typing into fields) or browser_navigate (going to URLs), nor any prerequisite such as the page being loaded. The one piece of guidance given, that strategies are tried in order until one hits, is about resolution rather than tool selection.

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