Skip to main content
Glama

solari_drag

Drag in one call: press at (fromX, fromY), move to (toX, toY), release. Good for moving windows, sliders, and drag-and-drop.

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": {
      "sessionId": "<sessionId>",
      "fromX": "<fromX>",
      "fromY": "<fromY>",
      "toX": "<toX>",
      "toY": "<toY>"
    },
    "name": "solari_drag"
  }
}

Input Schema

NameRequiredDescriptionDefault
toXYes
toYYes
fromXYes
fromYYes
buttonNo
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the key behavioral trait that the press-move-release sequence happens in a single call rather than as separate events. It does not say whether intermediate move events are emitted, how timing/settling is handled, or whether the pointer is guaranteed to be released on failure, which matters for a gesture tool.

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?

Two short sentences, front-loaded with the operational sequence and followed by concrete use cases. No filler or restatement of the tool name.

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

Completeness3/5

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

For a 6-parameter action tool with no annotations and no output schema, the definition covers the gesture mechanics well but omits coordinate space (screen vs. window), the sessionId's role, and the button default, leaving gaps an agent could stumble on.

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 0% across 6 parameters, so the description must compensate; it does explain the coordinate pairs as start and end points of the gesture, adding real meaning to fromX/fromY/toX/toY. It leaves sessionId unaddressed and never states the default or effect of the button parameter.

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 action and its decomposition: 'press at (fromX, fromY), move to (toX, toY), release,' which lets an agent distinguish this composite gesture from a simple click or a bare mouse_down. The resource (a pointer drag on a session) is clear, though no sibling tool is named for contrast.

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?

'Good for moving windows, sliders, and drag-and-drop' gives positive use cases but no when-not guidance and no routing against alternatives like solari_click or solari_mouse_down, which are the obvious near-misses an agent must choose between.

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