Skip to main content
Glama

smart_click

Clicks a uniquely named visible DOM target in browser or desktop mode; falls back to vision for ambiguous or missing targets and reports the method and UI change.

Instructions

Click a uniquely named visible DOM target immediately; otherwise use D1 vision. Duplicate names are ambiguous. Reports method and UI change.

Input Schema

NameRequiredDescriptionDefault
modeNobrowser
double_clickNo
target_descriptionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 behavioral burden. It usefully discloses immediate clicking, ambiguity handling, fallback behavior, and that the result reports method and UI change, but it omits side effects, permissions, and browser-vs-desktop mode differences.

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 short, front-loaded with the primary click behavior, and every sentence adds actionable information about fallback, ambiguity, or reporting. There is no filler.

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

Completeness2/5

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

For a 3-parameter tool with no annotations, the description is under-specified. It covers the core click behavior and ambiguity fallback, but does not explain the mode or double_click parameters, and provides no safety or permission context.

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 description coverage is 0%, so the description must compensate. It clarifies target_description via 'uniquely named visible DOM target' but does not explain the mode enum (browser/desktop) or double_click, leaving two of three parameters 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?

The description states a specific verb and resource: click a uniquely named visible DOM target, with a fallback to D1 vision. It implies a smart-targeting behavior distinct from raw mouse_click, but does not explicitly name sibling tools, so it falls short of full sibling differentiation.

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?

It gives clear usage conditions: use when the target is uniquely named and visible, avoid when duplicate names make it ambiguous, and fall back to D1 vision otherwise. It does not explicitly compare with coordinate-based mouse_click, leaving one alternative implicit.

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