Skip to main content
Glama

rdp_click

Send mouse clicks to an RDP control window to forward them to a remote desktop. Specify x, y, button, and optional host; returns an error if no window exists.

Instructions

Send mouse-click window messages (WM_*) to the RDP control window, which forwards them to the remote desktop; BAD_ARGS when no window exists for this host.

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": {
      "x": "<x>",
      "y": "<y>"
    },
    "name": "rdp_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
hostNo
buttonNoleft
doubleClickNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does usefully disclose the implementation (window messages rather than hardware injection) and one failure mode (BAD_ARGS with no window), but says nothing about whether the click is acknowledged, whether it can be silently dropped by the remote app, or what a successful call returns.

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?

A single front-loaded sentence with the mechanism first and the failure condition second; no wasted wording. It is efficient but so terse that it omits rather than elaborates.

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 five-parameter, zero-coverage, annotation-free mutation tool with no output schema, the description is thin: coordinate semantics, the host parameter's role when multiple sessions exist, and any post-click behavior are all missing. Only the transport mechanism and one error code are covered.

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 description coverage is 0% across five parameters, so the description must compensate and largely does not. It never defines the coordinate frame for x/y (remote desktop pixels vs. control-window coordinates), and button, doubleClick, and host defaults/semantics go unmentioned; only the existence of a per-host window is hinted at.

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 states a specific verb and mechanism: it sends WM_* mouse-click messages to the RDP control window, which forwards them to the remote desktop. That mechanism distinguishes it implicitly from rdp_key/rdp_type (input of a different kind), but no sibling is named and no explicit contrast is drawn.

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 only implied: the BAD_ARGS clause tells the agent a window must already exist for the host, implying an rdp_connect/session prerequisite. There is no explicit statement of when to prefer this over alternatives or what to do if no session exists.

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