Skip to main content
Glama

desktop

Control native applications and browsers by listing, launching, or activating apps, opening URLs, and performing clicks, hovers, and drags with change verification and state feedback.

Instructions

Desktop-level operations: action=list_applications, launch_application, activate_application, open_url (instant http/https URL open in permitted browser/app), visual_click, double_click, right_click, hover, or drag (using mark, ref, target, or x/y coordinates). Supports return_state='none'|'diff'|'full' (eliminates extra inspect_app calls after activate/open_url/click), include_bounds, verify_change, verify_mode='auto'|'ax'|'visual' ('ax' skips screenshots), max_retries, settle_ms, poll_interval_ms, retry_delay_ms, and require_change.

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": {
      "action": "<action>",
      "arguments": "<arguments>"
    },
    "name": "desktop"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
argumentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: that return_state='diff' keeps new refs live, that 'ax' verification skips screenshots, and that open_url is an instant http/https open in a permitted browser/app. These are genuinely useful traits beyond the schema. It does not address side effects of click/launch/drag, permission or focus requirements, reversibility, or timing/retry failure modes for these mutating operations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense with little true waste, but it is delivered as one long run-on parenthetical that mixes a purpose statement, an action catalog, an argument vocabulary, and a parameter list into a single sentence. It is neither front-loaded nor scannable; an agent must re-parse the whole string to isolate the action list from the option list.

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

Completeness3/5

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

For an omnibus, nested-object tool with ~20 argument fields and no output schema, the description covers the action surface and the tuning flags, which is more than many omnibus tools do. The critical gap is the action-to-argument contract: nothing says which arguments are required or ignored for launch_application versus drag versus visual_click, forcing the agent to guess or trial-and-error. The missing permission/side-effect framing compounds this given no annotations.

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 reported at 0%, so the description must carry the load, and it does partly: it names the coordinate/target selectors ("using mark, ref, target, or x/y coordinates") and enumerates the control parameters (return_state, include_bounds, verify_change, verify_mode, max_retries, settle_ms, poll_interval_ms, retry_delay_ms, require_change). But it never maps parameters to actions and leaves many fields unexplained, including x1/x2/y1/y2, from_ref/from_mark/to_ref/to_mark, window, keep_snapshot, and the structure of `target`.

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 definition opens with a scope ("Desktop-level operations") and then enumerates the concrete actions the tool performs: list_applications, launch_application, activate_application, open_url, visual_click, double_click, right_click, hover, drag. An agent can see exactly what capability set is behind the single `desktop` entry point, and the mention of eliminating "extra inspect_app calls" hints at how it relates to the sibling. It stops short of a clean differentiator versus `computer`/`screenshot`, so it is not 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?

Guidance is embedded rather than stated: return_state='diff'/'full' is recommended to avoid follow-up inspect_app calls, and verify_mode='ax' is flagged as skipping screenshots. That gives real selection cues for a few parameters. However, there is no explicit statement of when to use `desktop` versus `computer` or `visual_inspect`, and no per-action applicability notes (e.g. which of mark/ref/target/x/y applies to which action).

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