Skip to main content
Glama

browser_click

Clicks a page element using its reference from the last snapshot and returns the action result with a fresh snapshot.

Instructions

Click an element by ref from the last snapshot. Returns action result + fresh snapshot.

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": "browser_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
tabIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one important trait beyond the schema: the response returns 'action result + fresh snapshot,' telling the agent it needn't re-snapshot after clicking. It omits failure behavior, whether the click waits for navigation, and whether existing refs are invalidated.

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?

Two short sentences with zero waste; the action and its prerequisite are front-loaded and the return behavior follows immediately.

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?

For a click tool with no annotations and no output schema, the description usefully covers the return payload, which is the most important unknown. But it leaves tabId undefined and says nothing about error handling or post-click page state, so an agent can still be surprised at invocation time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain both parameters. It meaningfully contextualizes 'ref' as originating from the last snapshot, but the 'tabId' parameter is never mentioned and no ref format or tab-targeting behavior is given, leaving half the surface undocumented.

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 ('Click an element') and constrains the target to 'a ref from the last snapshot,' which distinguishes it from text-entry siblings like browser_type. It stops short of explicitly naming when a sibling would be preferred, but the action is unambiguous.

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?

The phrase 'by ref from the last snapshot' implies a prerequisite (a snapshot must exist first), which is genuinely useful guidance. However, it never states when to use this versus browser_type or browser_scroll, nor what to do when a ref is stale or missing.

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