Skip to main content
Glama

wb_click

Click elements using an @e reference or CSS selector, then automatically follow any new browser tab that opens.

Instructions

Click an element (@e ref preferred, or CSS). By default, if the click opens a new session tab, switches current tab to it (Bilibili 动态/收藏 style).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionNoPer-call session override (does not change the process default)
selectorYes@e ref e.g. @e12 or CSS selector
followNewTabNoFollow newly opened session tab after click (default true)
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses a non-obvious behavior: automatic switching to newly opened tabs after click. It also highlights the followNewTab default. Missing details like wait behavior or error handling, but the main side effect is covered.

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?

The description is a single, well-structured sentence that front-loads the action, includes selector guidance, and explains the default tab behavior. Every word earns its place with no redundancy.

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 simple click tool with fully described parameters and no output schema, the description covers the primary behavior and the main side effect (tab switching). It doesn't explain return values, but that is unlikely to be critical for a click action.

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%, so baseline is 3. The description adds value by indicating that @e refs are preferred over CSS selectors, and reiterates the default tab-following behavior which complements the schema's parameter descriptions.

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 clearly states the action ('Click an element') with specific resource and selector preference. It distinguishes itself from siblings like wb_fill or wb_press_key by focusing on element clicking, and provides useful context about tab behavior.

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 gives clear context on how to use the tool ('@e ref preferred, or CSS') and the default tab-following behavior. It implicitly indicates when to use (for clicking elements) without explicit alternatives, but the context is sufficient for selection.

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/Nimm0ny/kimi-webbridge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server