Skip to main content
Glama

Drag

drag
Destructive

Perform a press-and-move pointer gesture between two refs, marks, or points in the same observation to move items in desktop apps or browsers.

Instructions

Drag from one ref/mark/point to another in the same observation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesExactly one of ref, mark or point.
fromYesExactly one of ref, mark or point.
observation_idYesobservation_id of the observation you act on

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the agent knows this mutates state. The description adds the same-observation scoping constraint but says nothing about reversibility, whether a drag triggers intermediate hover events, or what the side effects are beyond what annotations cover.

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?

A single front-loaded sentence that names the action, both endpoints, and the scope constraint with zero filler.

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?

With a full output schema and fully documented parameters, the description only needs to frame the action and its scope, which it does. A note on drag side effects or timing would make it fully complete for a destructive gesture tool.

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?

Schema coverage is 100% and the nested TargetIn descriptions already explain ref, mark, point, and the 'exactly one of' rule. The description only echoes the accepted forms, adding no format or precedence guidance (e.g., which of ref/mark/point to prefer) beyond the schema.

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 names the source/target forms (ref/mark/point), which clearly separates it from siblings like click or scroll. It does not explicitly name an alternative tool, so it falls short of the 5-level sibling differentiation.

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 phrase 'in the same observation' implies a constraint (no cross-observation drags) but never states when to prefer drag over click/scroll or what preconditions apply. Usage is only implied, not spelled out.

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