Skip to main content
Glama

mouse_drag

Performs a mouse drag between specified pixel coordinates in a Windows 98 VM, holding the chosen button. Locks the VM during the operation; use vm_unlock afterwards.

Instructions

Drag between exact pixel coordinates while holding the selected mouse button. VM remains locked by this session; call vm_unlock when finished.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_xYesZero-based physical screen coordinate.
to_yYesZero-based physical screen coordinate.
stepsNo
buttonNoleft
from_xYesZero-based physical screen coordinate.
from_yYesZero-based physical screen coordinate.
vm_nameYesUnique VM name configured in WIN98CTL.INI.
duration_msNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv1.7.0
    • addedInput schema / properties / vm_name
      Added value: +{
      +  "description": "Unique VM name configured in WIN98CTL.INI.",
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "from_x",
      -  "from_y",
      -  "to_x",
      -  "to_y"
      -]New value: +[
      +  "from_x",
      +  "from_y",
      +  "to_x",
      +  "to_y",
      +  "vm_name"
      +]
  2. First observedv0.0.0-development

TDQS

A4.2/5.0
Behavior4/5

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

The annotations are sparse and do not mention lock behavior, so the description adds valuable behavioral context by warning that the VM remains locked by this session and instructing the agent to call vm_unlock afterward. It does not detail whether the button is released at the end of the drag, but the core side effect is disclosed.

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?

The description is compact and well-structured: the first sentence states the operation, and the second sentence conveys the critical lock state and required follow-up. There is no redundant wording or repetition of schema details.

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?

For a tool with 8 parameters and no output schema, the description covers the essential behavior, the coordinate-based nature of the drag, and the important lock side effect. It leaves some minor gaps such as whether the mouse button is released at the end and what the command returns, but the provided information is sufficient for an agent to invoke it correctly in most cases.

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 description coverage is 63%, and the description adds only marginal semantic value beyond the schema: 'exact pixel coordinates' maps to from_x/from_y/to_x/to_y, and 'selected mouse button' maps to the button enum. It does not explain the optional parameters steps or duration_ms, which are only documented by defaults and ranges in the schema.

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

Purpose5/5

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

The description opens with a specific action verb and resource: 'Drag between exact pixel coordinates while holding the selected mouse button.' This clearly identifies the tool as a mouse drag operation and implicitly distinguishes it from sibling tools like mouse_move or mouse_click by emphasizing the held button during movement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides clear context for when to use the tool: dragging between exact pixel coordinates with a chosen mouse button. It also gives an explicit follow-up directive: the VM remains locked and vm_unlock should be called when finished. However, it does not explicitly name alternatives or state when not to use it.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ido-pluto/windows98-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server