Skip to main content
Glama

Desktop Action

desktop_action

Execute hover, drag, wait, get, toggle, or batch agent-desktop CLI commands to control desktop workflows from a single dispatcher.

Instructions

Universal dispatcher executing ANY agent-desktop CLI command (hover, drag, wait, is, get, toggle, batch, etc.).

Input Schema

NameRequiredDescriptionDefault
argsNo
commandYes
timeoutNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

C2.4/5.0
Behavior2/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 does not say that dispatched commands can mutate desktop state (drag, toggle), whether failures surface as errors or in the output, how the timeout behaves, or what the CLI accepts as args. Only the existence of an output schema relieves it of explaining return values.

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?

It is a single front-loaded sentence with no wasted words, and the example list is compact. But the brevity comes at the cost of under-specification rather than efficiency, since the one sentence has to cover an arbitrarily wide command surface.

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?

Given a universal dispatcher with three loosely typed parameters, zero schema coverage, no annotations, and a crowded sibling namespace, the definition is too thin. The output schema removes the need to document returns, but an agent still lacks the routing rule and argument conventions needed to invoke it correctly instead of a specialized sibling.

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 three parameters. The description clarifies the command parameter by listing example subcommands, which is genuine added meaning, but the args array (format, ordering, quoting) and the timeout default of 30 seconds are left entirely to the bare schema types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (executing) and resource (agent-desktop CLI command) and gives example commands like hover, drag, wait, is, get, toggle, batch. However, it never distinguishes this universal dispatcher from the many specialized siblings (desktop_click, desktop_type, desktop_press, desktop_scroll), which do the same operations with typed parameters. An agent cannot tell from this sentence why it would choose desktop_action over desktop_click.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the roughly fourteen dedicated desktop_* siblings, nor on when-not to use it. The word "ANY" implies broad coverage but gives no routing rule, so an agent facing a click task has no stated basis to prefer desktop_click.

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