Skip to main content
Glama

bf_click

点击元素(CSS 选择器或 XPath)。阶段 2:转发 BG 引擎(框架感知 smart click,行为层更真实)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xpathNo可选:XPath(与 selector 二选一)
selectorNoCSS 选择器(如 #submit 或 button.login)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'framework-aware smart click' and 'more realistic behavior layer,' which adds some flavor, but these are vague and do not explain side effects, waiting behavior, failure modes, or whether clicking may navigate or submit forms. This is a significant transparency gap for a no-annotation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the essential action sentence. The second sentence, however, contains unclear jargon ('阶段 2', 'BG 引擎') that may confuse rather than clarify, so it is not perfectly crisp.

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?

The tool is low-complexity with two documented optional parameters and no output schema, so the description is close to workable. However, it does not clarify whether at least one of selector/xpath is expected, what the tool returns, or what 'BG engine' means. This leaves a minor but real completeness gap.

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 description coverage is 100%, so both parameters are already documented in the schema. The description restates the CSS/XPath choice but adds no new detail about mutual exclusivity, selector syntax, precedence, or examples. The baseline of 3 is appropriate because the schema does the heavy lifting.

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 operation: clicking an element, and specifies the two targeting mechanisms (CSS selector or XPath). This immediately distinguishes it from sibling tools like bf_navigate, bf_fill, and bf_scroll. The '阶段 2 / BG engine' phrasing is jargon, but the core 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 description implies when to use the tool—when an element needs to be clicked—but it does not explicitly state when not to use it or compare it with alternatives. The 'smart click / behavior layer more realistic' phrase hints at a use context, but there is no concrete guidance on choosing this over other tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources