Skip to main content
Glama
nvda-mcp server

nvda-mcp server

by InfiArtt

Drag with the mouse

nvda_mouse_drag
Destructive

Presses, moves, and releases the left mouse button between two points to drag canvas sliders, faders, or other items; requires user permission.

Instructions

Press the left button at one point, move to another and release it: to move a fader or slider drawn on a canvas, or drag something. Both points are counted the same way (from the control, the window, or the screen). Needs the user's permission, like key presses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to_x": "<to_x>",
      "to_y": "<to_y>"
    },
    "name": "nvda_mouse_drag"
  }
}

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.
to_xYesWhere to drag to, counted the same way as x.
to_yYesWhere to drag to, counted the same way as y.
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.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is covered structurally. The description adds two genuinely useful facts beyond that: the permission requirement and the shared coordinate model for both endpoints. It does not explain what makes the operation destructive or irreversible (e.g. dropping on an unintended target), which is the main residual gap.

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?

Three short sentences, front-loaded with the action, then the use case, then the permission caveat. Slightly awkward phrasing in 'Both points are counted the same way' but no sentence is wasted.

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?

With an output schema present and full parameter documentation, the description only needs to supply purpose, permission and coordinate context, all of which it does. An agent could call this correctly from the definition plus schema; only failure/timeout behavior and the nature of the destructive risk are left implicit.

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?

Schema description coverage is 100%, so every parameter including id, window, settle_ms and timeout_ms is already documented in the schema. The description reinforces one relationship worth knowing — that the start and end points use the same coordinate origin — but mostly restates what the schema already says. Baseline 3 is appropriate.

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 gives a concrete, unambiguous definition of a drag: 'Press the left button at one point, move to another and release it', and names the target use cases (fader/slider on a canvas, dragging objects). That is a specific verb+resource far beyond the title's restatement. It stops short of explicitly contrasting itself with nvda_mouse_click or nvda_mouse_hover, so a 4 rather than a 5.

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?

Usage is implied through the examples ('to move a fader or slider drawn on a canvas, or drag something'), and a real prerequisite is stated ('Needs the user's permission, like key presses'). There is no explicit when-not guidance and no named alternative for simpler pointer actions, so the agent must infer that a plain click belongs to a sibling tool.

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