Skip to main content
Glama

browser_drag

Drags between two snapshot refs using real mouse events, enabling precise browser interactions such as moving items or sliders in automated Chrome or Brave sessions.

Instructions

Drag between two snapshot refs using real mouse events.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "browser_drag"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
stepsNo
tabIdNoOptional browser tab id to act on instead of the focused tab.
modifiersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It contributes one real behavioral trait (native mouse events, meaning real drag handlers fire), but says nothing about side effects, permission/state requirements, whether the snapshot must be fresh, or failure modes. This is thin for an interaction tool.

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

Conciseness4/5

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

One tight, front-loaded sentence with no wasted words. It is efficient, though its brevity comes partly from omission rather than from disciplined editing.

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

Completeness2/5

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

A drag interaction is stateful and error-prone, yet with no annotations, no output schema, and 20% parameter coverage, the description leaves too much unknown: ref format, snapshot dependency, modifier syntax, and what a successful or failed drag looks like.

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 coverage is 20% across 5 parameters, and the description only maps 'from'/'to' to snapshot refs. The 'steps', 'modifiers', and 'tabId' parameters (tabId has a schema note, but steps/modifiers have none) receive no explanation of accepted values or their effect on drag behavior.

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?

States a specific verb (drag) and the resource it operates on (two snapshot refs), and 'using real mouse events' hints at the execution mechanism, which distinguishes it from a JS-eval-based move. It does not name a sibling or explain how the refs relate to browser_snapshot output.

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 mention of 'snapshot refs' implies the prerequisite that a snapshot must exist first, but this is only implied. There is no explicit when-to-use guidance versus browser_click/browser_hover, and no guidance on when drag is the right interaction instead of alternatives.

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