Skip to main content
Glama

browser.drag_drop

Drag a UI element from a source to a target by specifying selectors or coordinates. Use for automating drag-and-drop interactions in web browsers.

Instructions

Drag from one element or coordinate to another. Provide source_selector OR (source_x, source_y), and target_selector OR (target_x, target_y).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
source_selectorNo
source_xNo
source_yNo
target_selectorNo
target_xNo
target_yNo
Behavior2/5

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

No annotations are provided, and the description lacks behavioral details such as whether the tool waits for the drag to complete, triggers events, or requires specific permissions. It only states the action without side effects or constraints.

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 extremely concise with two short sentences. The first sentence immediately conveys the purpose, and the second provides essential parameter usage. No wasted words.

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 the complexity of drag-drop operations (multiparameter, coordinate vs selector), the description covers the input logic but lacks behavioral details and explanation of the session_id parameter. It is adequate for basic use but not fully comprehensive.

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?

The description adds significant value beyond the input schema by explaining the OR relationship between source_selector and (source_x, source_y), and similarly for target. This is critical understanding that the schema alone (with 0% description coverage) does not convey. However, it does not explain the required session_id parameter.

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 tool's action ('Drag from one element or coordinate to another'), which is a specific verb and resource. It distinguishes itself from siblings like browser.execute_action or browser.find_elements by explicitly naming the 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 Guidelines3/5

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

The description provides usage guidance on how to specify source and target (using selectors or coordinates), which is helpful. However, it does not mention when to use this tool versus alternatives, nor does it include any prerequisites or exclusions.

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/LvcidPsyche/auto-browser'

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