Skip to main content
Glama
lazy-dinosaur

electron-test-mcp

click

Interacts with a UI element by sending a mouse press using a CSS selector or text selector for Electron app testing.

Instructions

Click an element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYesCSS selector or text selector (e.g., "text=Submit")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing beyond the bare action. It does not say whether the click auto-waits for the element, scrolls it into view, throws on missing elements, or how it handles overlays. Only the minimal 'click' semantics are conveyed.

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

Conciseness3/5

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

The description is a single short phrase with zero waste and is front-loaded. However, it is arguably under-specified rather than genuinely concise, giving the agent too little to act on in a crowded sibling set.

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 an interaction tool with no annotations and no output schema, the description is too thin. It omits waiting/auto-scroll behavior, failure modes, and how it differs from the many related click and mouse tools, which an agent needs to invoke it correctly.

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?

There is a single parameter with 100% schema description coverage, so the schema fully documents it (CSS or text selector with an example). The description adds no parameter meaning beyond what the schema already provides, making the baseline of 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb+resource ('Click an element'), which is immediately understandable. However, it does not distinguish this tool from near-identical siblings such as dblclick, mouseClick, mouseDown, and mouseUp, leaving the agent to infer the difference. This is adequate but not differentiating.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus dblclick, mouseClick, or click-after-scroll patterns. No prerequisites or preconditions (e.g., element must be visible/attached) are stated. The agent must guess the intended usage context.

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