Skip to main content
Glama

browser_drag

Drag a browser element identified by start_ref and drop it onto another identified by end_ref to automate drag-and-drop interactions.

Instructions

Drag an element and drop it onto another element.

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": {
      "start_ref": "<start_ref>",
      "end_ref": "<end_ref>"
    },
    "name": "browser_drag"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_refYes
start_refYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and says nothing beyond the mechanic. It doesn't disclose whether the drag is a synthetic HTML5 drag event or mouse-move sequence, what happens if the drop target isn't droppable, or whether the page must be stable first.

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?

One short, front-loaded sentence with no wasted words, but it is terse to the point of under-specification. Conciseness is achieved by omission rather than by tight 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?

An output schema exists, so return values needn't be described. Still, for a browser-automation mutation with two opaque ref parameters and zero annotation coverage, the definition leaves out the information an agent needs to call it successfully.

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%, so both integer parameters (start_ref, end_ref) are undocumented. The description implies a source and a target but never explains what a 'ref' is or where the agent gets one, which is the critical semantic gap for this tool family.

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?

The description names a specific verb pair and two resources: 'Drag an element and drop it onto another element.' That is clearly distinct from browser_click or browser_hover, though it never says so explicitly. The action is unambiguous without opening the schema.

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?

No guidance on when to use this instead of browser_click, browser_hover, or browser_press_key, and no preconditions such as 'both elements must be visible and refs obtained from browser_snapshot'. The agent must infer the whole usage context.

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