Skip to main content
Glama

app_click

Click an element in a Tauri app by CSS selector or visible text. Supports left, right, or middle click, and double-click.

Instructions

Click an element, located by CSS selector or by text (visible text / accessible name, e.g. "Browse"). button chooses left (default), right (context menu), or middle; count 2 double-clicks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoTarget by visible text or accessible name (e.g. "Browse")
countNo2 for double-click (left only)
exactNoWith text: require an exact match instead of substring
buttonNoleft
selectorNoCSS selector for the element
Behavior2/5

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

With no annotations provided, the description carries full burden but only describes the basic click action and double-click via count. It omits details like element not found behavior, required permissions, or side effects, leaving significant gaps.

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 concise sentences, front-loaded with the primary action and location method. Every word adds value with no redundancy or unnecessary detail.

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 multiple parameters but no output schema, the description covers the main action and parameter roles well. Missing details about overlapping selector/text input or error handling, but overall sufficient for typical use.

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 covers 100% of parameters with descriptions. The description adds extra context (e.g., 'visible text / accessible name' for text, 'context menu' for right button, clarifying double-click for count=2), enhancing understanding beyond the schema.

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 clearly states the action (click an element) and how to locate it (CSS selector or text). It implicitly distinguishes from sibling tools like app_click_at (which uses coordinates) by specifying selector/text-based targeting.

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 (when you have a CSS selector or visible text) but does not explicitly state when not to use or mention alternatives. No exclusion criteria or comparison to other click tools.

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/FrengkyS1/tauri-mcp'

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