Skip to main content
Glama

ghost_drag

Perform mouse drag actions from a start point to an end point using coordinates or UI elements, enabling operations like reordering list rows or adjusting sliders.

Instructions

Click-hold at a start point, move to an end point, release. Each endpoint may be raw coords (from_x/from_y, to_x/to_y) OR an element (from_name/from_role, to_name/to_role) resolved to its center - e.g. drag a list row onto another, or a slider handle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_xNo
to_yNo
from_xNo
from_yNo
to_nameNoEnd element name (instead of to_x/y)
to_roleNoEnd element role
from_nameNoStart element name (instead of from_x/y)
from_roleNoStart element role

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.23.4

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the sequence (click-hold, move, release) and the important semantic detail that elements are resolved to their center. It does not cover coordinate system, duration, or failure behavior, but the core mechanics are transparent.

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 focused sentence that front-loads the gesture, immediately explains the two endpoint modes, and provides illustrative examples. Every clause earns its place with 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 drag tool with 8 optional parameters, no annotations, and no output schema, the description covers the essential semantics: what qualifies as an endpoint and how element endpoints are resolved. Minor gaps remain, such as coordinate space and whether start/end must both be present, but the examples and mode explanation make the tool usable.

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

Parameters4/5

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

Schema coverage is only 50%, so the description adds meaningful context by explaining that endpoints can be either raw coordinates (from_x/from_y, to_x/to_y) or elements (from_name/from_role, to_name/to_role) resolved to center. This clarifies how the eight optional parameters group together, though it does not specify units or required combinations.

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 names a specific action (click-hold, move, release = drag) and clearly identifies the resource (start and end points). It distinguishes this from siblings like ghost_tab_click or ghost_tab_scroll by describing the drag gesture and giving concrete examples.

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?

The tool's usage context is clear: use it when an interaction requires dragging between two endpoints. It provides examples such as dragging a list row onto another or a slider handle. It does not explicitly contrast with alternatives or state when not to use it, but the behavior is distinct enough that the guidance is sufficient.

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

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/NORTHTEKDevs/ghost'

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