Skip to main content
Glama
uxnew
by uxnew

drag

Simulates a mouse drag by moving the cursor from one screen coordinate to another, enabling automated drag-and-drop interactions.

Instructions

Drag from one screen coordinate to another using CGEvent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYes
to_xYes
to_yYes
from_xYes
from_yYes
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It mentions 'using CGEvent' but does not explain the underlying mechanism (e.g., mouse down, move, up). It does not disclose whether the drag is a left-click drag, how the 'app' parameter is used, or the coordinate system.

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

Conciseness2/5

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

The description is a single sentence, which is concise but lacks essential information. It fails to add value beyond the tool name and input schema structure.

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

Completeness1/5

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

Given five required parameters and no output schema or annotations, the description should explain each parameter and the tool's behavior. It does not, leaving the tool under-defined for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain parameters. It does not define any of the five parameters (app, from_x, from_y, to_x, to_y), leaving their meanings ambiguous.

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 clearly states the action (drag) and the resources (screen coordinates). It distinguishes from siblings like 'click' and 'move_mouse' because drag implies a press-hold-move action, but the description does not explicitly mention this.

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 like 'click' or 'move_mouse'. There is no mention of prerequisites or typical use cases.

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/uxnew/cua-local'

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