Skip to main content
Glama

drag

Simulate mouse press-and-move gestures between screen coordinates to operate Bryce 3D camera trackball, sliders, terrain painting, and transform controls.

Instructions

Drag: camera trackball, sliders, terrain painting, transform tools.

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_x": "<start_x>",
      "start_y": "<start_y>",
      "end_x": "<end_x>",
      "end_y": "<end_y>"
    },
    "name": "drag"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_xYes
end_yYes
buttonNoleft
start_xYes
start_yYes
durationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.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 does not meet it. It says nothing about whether the drag is animated over duration, whether it blocks, what happens if the start point misses a draggable element, or what coordinate space the positions live in.

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?

It is a single short, front-loaded fragment with no wasted words, which is good. But the brevity is achieved through under-specification rather than economy, and the comma-separated context list reads more like keywords than a structured definition.

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?

For a six-parameter UI-automation tool with no annotations and no output schema, an agent needs to know the coordinate frame, how duration affects the gesture, and the button enum's effect. None of that is present, leaving significant gaps for correct invocation.

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% across six parameters, so the description must compensate and largely does not. The mentioned contexts weakly hint that coordinates target UI widgets, but start_x/start_y/end_x/end_y, button (left/right enum), and duration (float, default 0.6) receive no explanation of units, coordinate frame, or timing behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a drag gesture and lists several UI contexts it applies to (camera trackball, sliders, terrain painting, transform tools), which hints at mouse-gesture simulation. However it never states plainly that the tool performs a pointer drag from a start coordinate to an end coordinate, and it does not distinguish itself from siblings like click or hover, so the purpose stays only loosely defined.

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?

Listing camera trackball, sliders, terrain painting, and transform tools implies when the tool is appropriate, which is more than nothing. But there is no explicit when-to-use instruction, no exclusions, and no pointer to click or hover as the alternatives for non-drag interactions.

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