Skip to main content
Glama

desktop_drag

Drag the mouse from one coordinate to another on the sandbox desktop, enabling GUI automation tasks like moving windows or drawing.

Instructions

Drag from (from_x, from_y) to (to_x, to_y) on the sandbox desktop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
to_xYes
to_yYes
buttonNo
from_xYes
from_yYes
hold_msNo
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the basic operation. It does not disclose important behavioral traits like button defaults (left-click), hold duration, or whether the action blocks.

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?

The description is a single, concise sentence that efficiently conveys the core action without unnecessary words or repetition. It is well-structured and front-loaded.

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?

Given the tool has 7 parameters and no output schema, the description is insufficiently complete. It leaves out important context such as return values, default behaviors, and the purpose of all parameters.

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 coverage is 0%, so the description must explain all parameters. It only clarifies four coordinate parameters (from_x, from_y, to_x, to_y) but omits explanations for 'id', 'button', and 'hold_ms', which are critical for correct invocation.

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?

The description clearly states the action 'Drag' and the resource 'sandbox desktop', specifying the start and end coordinates. It distinguishes itself from sibling tools like desktop_click and desktop_scroll by describing a unique mouse drag operation.

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?

No guidance is provided on when to use this tool versus alternatives, such as when a drag operation is preferred over a click or scroll. The description lacks context for appropriate usage scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tawgroup/taw-computer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server