Skip to main content
Glama
nvda-mcp server

nvda-mcp server

by InfiArtt

Click with the mouse

nvda_mouse_click
Destructive

Click at screen, window, or control coordinates when keys cannot reach an element, then report what NVDA announced and what sits under the pointer.

Instructions

Click with the mouse, then report what NVDA said and what is under the mouse.

For what the keyboard cannot reach, such as buttons drawn on a canvas that NVDA reads as one "pane" (audio plugins, games, some installers). Prefer keys and nvda_activate_object when they work: they are what the user can repeat. Find where to click with nvda_recognize_text (screen positions of text) or nvda_capture_control (a picture whose pixels count from the control's top left, after its padding). Like key presses, it needs the user's permission, and the user hears every step.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nvda_mouse_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoPixels from the left: of the control or window, or of the screen when neither is given.
yNoPixels from the top: of the control or window, or of the screen when neither is given.
idNoA control from nvda_find_objects. Without x and y, its middle; with them, a point counted from its top left corner, such as a knob in a plugin's canvas.
buttonNoThe mouse button.left
doubleNoDouble-click instead of a single click.
recordNoAlso record what this action changed: how the accessibility tree around it changed (controls added, removed, renamed or moved, values and states) and the events NVDA handled. NVDA is silent for up to a few seconds while the tree is read. For something the user does, use nvda_trace_events with tree.
windowNoInstead of id, a window handle from nvda_list_windows; x and y count from its top left.
settle_msNoStop listening once NVDA has been quiet this long.
timeout_msNoStop listening, or waiting for until_speech, after this long in total.
until_speechNoKeep listening until NVDA says something containing this text (ignoring case), such as 'sent' or a dialog title, instead of stopping at the first pause. The result says whether it was heard.
record_withinNoRecord only inside this control, an id from nvda_find_objects, such as a chat's message list. Implies record. By default the web document or window around the action is recorded.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already indicate a destructive, non-idempotent, open-world action, and the description adds important context beyond them: the user's permission is required and the user hears every step. It also emphasizes that keyboard and activation alternatives are preferable because they are repeatable by the user. It does not explicitly elaborate on what a click might destroy or how irreversible an action may be, but it adds meaningful permission and audibility context.

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 front-loaded with the action and result, then moves into usage conditions and alternatives. It is appropriately sized for a complex click tool, with parenthetical examples earning their place, though the wording is somewhat dense and could be slightly more scannable.

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

Completeness5/5

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

Given 11 parameters, 100% schema description coverage, an output schema, and annotations that cover safety and mutability, the description supplies the remaining decision-critical context: when to use the tool, preferred alternatives, permission requirements, audible feedback, and coordinate discovery. Nothing essential for selecting or invoking the tool is missing.

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 description coverage is 100%, so the baseline is 3, but the description adds practical meaning by explaining where to obtain click coordinates and noting that nvda_capture_control pixels count from the control's top left after padding. This helps the agent understand coordinate sourcing beyond the schema's per-parameter descriptions.

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 states a specific action ('Click with the mouse') and adds scope by saying it reports NVDA speech and what is under the mouse. It distinguishes itself from keyboard interaction and from nvda_activate_object, so the agent can identify the tool's role without opening the schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance ('For what the keyboard cannot reach') with concrete examples such as canvas-drawn buttons in audio plugins, games, and installers. It also names preferred alternatives ('Prefer keys and nvda_activate_object when they work') and explains how to find coordinates using nvda_recognize_text or nvda_capture_control.

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