Skip to main content
Glama

Click an element in the bridge tab

web_click

Clicks a referenced page element from the last snapshot and returns an updated snapshot, or the saved file path when the click starts a download.

Instructions

Click the element with the given ref from the last web_snapshot. Returns a fresh snapshot, or the saved path if the click started a download.

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

Input Schema

NameRequiredDescriptionDefault
refYeselement ref from web_snapshot

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent already knows this is a mutating, open-world action. The description adds value by disclosing what comes back — a fresh snapshot, or a saved path if the click triggered a download — which is the most important behavioral surprise for a click tool. It doesn't mention error cases or navigation failures.

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, front-loaded with the action and ending with the return behavior. No wasted words or redundant restatement.

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 single-parameter mutation tool with no output schema, the description covers the action, the ref's provenance, and the two possible return shapes. Minor gap: no hint about failure modes (stale ref, element not found) or whether the click can navigate away.

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 100% and there is only one parameter, so the schema does most of the work. The description nonetheless adds meaning by pinning the ref to the 'last web_snapshot,' signaling a staleness constraint that the schema's 'element ref from web_snapshot' does not make explicit.

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?

States a specific verb (click) and resource (element with the given ref), and names the sibling (web_snapshot) that produces the ref. An agent can tell this apart from web_type or web_open without opening the schema.

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?

Clearly implies the tool must follow a web_snapshot call by requiring 'the ref from the last web_snapshot' — a real prerequisite. It does not state when not to use it (e.g., when to type into a field instead of clicking), so it stops short of full when/when-not guidance.

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