Skip to main content
Glama

Robot Actions — Remote Device Control

web_drag

Drag one element onto another in the DESKTOP grid browser (by pageId) — reorderable lists, kanban columns, file drop targets. NOT a device — there is no webpage_drag; on a real phone or tablet use device_swipe / device_drag_drop (Android) or ios_drag_drop (iOS), by udid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesCSS selector of the drop target
fromYesCSS selector of the element to drag
pageIdYesPage ID from web_navigate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It discloses that this is a desktop-browser-only synthetic drag (not a device gesture), gives concrete use cases (reorderable lists, kanban columns, file drop targets), and clarifies the platform limitation. While it doesn't discuss side effects or return behavior, the description provides more behavioral context than the bare schema alone.

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 two tightly packed sentences with no filler. The core purpose is front-loaded, followed by a concise exclusion and routing rule. Every clause adds useful information, and the structure makes it easy to scan quickly.

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 simple action tool with three required params, no output schema, and full schema coverage, the description is complete: it states what it does, the platform scope, and the correct alternatives. The only minor gap is not defining 'DESKTOP grid browser,' but that appears to be a known product concept, and the pageId reference grounds it in the web automation workflow.

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

Parameters3/5

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

All three parameters (to, from, pageId) are described in the schema, and the schema coverage is 100%, so the description does not need to compensate. The description adds minor context by listing drag use cases that inform what selectors might target, but it does not meaningfully extend the schema's parameter definitions.

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 uses a specific verb ('Drag') with a clear resource ('one element onto another') and context ('in the DESKTOP grid browser by pageId'). It also explicitly distinguishes itself from device-level drag tools and notes that no webpage_drag sibling exists, making the tool's unique role unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description explicitly states when NOT to use this tool ('NOT a device') and provides exact alternatives for real devices: device_swipe / device_drag_drop (Android) or ios_drag_drop (iOS), by udid. This is a clear routing rule that leaves no ambiguity about tool selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources