Skip to main content
Glama

OpenFactory

desktop_click

Click at coordinates on your desktop, then return screenshot + elements.

Use desktop_screenshot first to find element coordinates, then click using the center coordinates from the elements array.

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

Input Schema

NameRequiredDescriptionDefault
xYesX coordinate to click (from element's center[0])
yYesY coordinate to click (from element's center[1])
buttonNoMouse button: 0=left (default), 2=right
doubleNoDouble-click instead of single click
api_keyNoMCP API key
vm_nameYesVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
include_perfNoInclude per-stage timing metrics in the response.
response_modeNoResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only).full
session_tokenNoSession token
screenshot_delayNoSeconds to wait after clicking before taking screenshot (default: 0.15). Increase for actions that trigger animations or dropdowns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 behavioral burden. It usefully discloses that a click is followed by a screenshot-and-elements capture, but it never mentions that clicking mutates UI state with no undo, nor that response_mode='none' produces a blind action with no verification — a meaningful gap for a state-changing tool.

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?

Two sentences, both load-bearing: the action-plus-return is front-loaded and the follow-up sentence supplies the coordinate-sourcing workflow. No filler.

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?

For a 10-parameter, annotation-free tool with no output schema, the description covers the core action, return shape, and the discovery loop that makes coordinates usable. The remaining omission is the side-effect/timing caveat and mention of non-default capture modes, which the schema does at least partially document.

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 coordinates, button, double-click, delay, and response_mode are already documented in structured fields. The description only echoes that x/y come from an element's center, adding little beyond the schema; baseline 3 applies.

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?

States a specific verb and target ('Click at coordinates on your desktop') plus the immediate result ('return screenshot + elements'). It also names the sibling desktop_screenshot and its role, so an agent can separate this from a pure capture tool without opening a schema.

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

Usage Guidelines4/5

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

Gives an explicit prerequisite workflow: call desktop_screenshot first to locate elements, then pass the element's center coordinates. It stops short of when-not-to-use guidance (e.g., prefer desktop_type for text entry or desktop_drag for drag gestures), so it is clear context rather than full routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.