Skip to main content
Glama
kanishka-namdeo

electron-mcp-server

click

Simulate a mouse press on a specified element in an Electron app to trigger UI interactions during automated testing.

Instructions

Click on an element in the Electron app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
selectorYes
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries full burden but only states the basic action. No mention of what happens on timeout, whether the click scrolls into view, whether it waits for actionability, or any error behavior.

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?

Extremely concise single sentence that is fully front-loaded. No wasted words.

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 interaction tool with no annotations, no output schema, and 0% schema coverage, the description is far too minimal. It should explain selector format, timeout behavior, and whether the click waits for the element to be actionable.

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 coverage is 0% and the description adds nothing about selector syntax, timeout units (ms vs seconds), or sessionId requirements. The description must compensate for the coverage gap but does not.

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?

States a specific verb (Click) and resource (element) with scope (in the Electron app). Clearly distinguishes from siblings like fill, select, and interact_accessible_node.

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?

No when-to-use or when-not-to-use guidance is given. Doesn't tell the agent how to choose between click, interact_accessible_node, or execute for element interaction.

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