Skip to main content
Glama

chrome_drag_drop

Simulates a mouse drag between two coordinates in a Chrome tab, enabling AI agents to perform drag-and-drop actions through the DevTools Protocol.

Instructions

Drag from one point to another

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": {
      "fromX": "<fromX>",
      "fromY": "<fromY>",
      "toX": "<toX>",
      "toY": "<toY>"
    },
    "name": "chrome_drag_drop"
  }
}

Input Schema

NameRequiredDescriptionDefault
toXYes
toYYes
fromXYes
fromYYes
tabIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior1/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 and fails to do so. It does not disclose the gesture sequence (press, move, release), whether intermediate move events are fired, timing/delay behavior, which mouse button, or whether the coordinates are viewport-relative or page-relative; it also says nothing about failures or side effects.

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 single sentence is front-loaded and contains no filler, so it passes on brevity. It is, however, terse to the point of under-specification rather than efficient, so it cannot score higher on this dimension.

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?

For a five-parameter, required-heavy interaction tool with no annotations and no output schema, the description is drastically incomplete. An agent knowing only 'Drag from one point to another' cannot reliably construct a call or predict its effects in a browser automation context.

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 five parameters, so the description must compensate and does not. The names fromX/fromY/toX/toY are semi-self-explanatory, but the description adds no information about coordinate units or origin, ordering constraints, whether fractional values are allowed, or what tabId does when omitted (defaulting to the active tab presumably).

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 verb 'Drag' plus the phrase 'from one point to another' conveys the core action and implicitly distinguishes it from the click/hover siblings. However, it never states what is being dragged or what coordinate space is involved, so the agent cannot tell whether this performs a mouse press-move-release gesture or an HTML5 drag-and-drop 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?

There is no when-to-use guidance at all: nothing says when to prefer this over chrome_click, chrome_hover, or a script-based approach, and no prerequisite such as the target element having to be visible or the page being loaded. Usage is only inferable from the tool name.

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