Skip to main content
Glama
tmustier

codex-computer-use-mcp

by tmustier

drag

Move a mouse between two pixel coordinates within a desktop app to select, relocate, or interact with objects. Provide the app and start/end positions for automatic cursor movement.

Instructions

Drag from one point to another using pixel coordinates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYesApp name, full app path, or unambiguous bundle identifier
to_xYesEnd X coordinate
to_yYesEnd Y coordinate
from_xYesStart X coordinate
from_yYesStart Y coordinate

Schema Changelog

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

  1. Changed2 schema fields changedv0.5.0
    • addedInput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "boolean"
      +      },
      +      {
      +        "type": "null"
      +      },
      +      {
      +        "items": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "additionalProperties": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    ]
      +  }
      +}
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +{
      +  "$ref": "#/$defs/__schema0"
      +}
  2. Addedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations (readOnlyHint=false, idempotentHint=false, destructiveHint=false) are uninformative, so the description must carry the behavioral burden. The description discloses the coordinate-based action but does not describe the press-hold-move-release behavior, speed/duration of the gesture, or how drag concludes. It's not misleading, so it stays at the minimal-viable level.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one short declarative sentence with no filler, repetition, or boilerplate, and the key operation ('drag') is front-loaded. It is as concise as the simple action permits, though it is short enough that it could have included a clause about gesture behavior without becoming bloated.

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 5-parameter mutation gesture with no output schema, the description is serviceable but thin: it omits whether the drag is a press-drag-release, whether coordinates are window-relative or absolute, and what side effects a drag may trigger (e.g., scrolling or text selection). A drag in a GUI automation context has enough behavioral nuance that a bit more context would be valuable.

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 100%, so every parameter (app, from_x, from_y, to_x, to_y) already has a meaningful schema description, warranting the baseline 3. The description does add that the coordinates are pixel-based, which clarifies the number semantics slightly, but it doesn't go beyond the schema in any other way.

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 ('drag'), a resource ('from one point to another'), and the method ('using pixel coordinates'), so an agent understands the action without opening the schema. It is not a tautology and it clearly communicates a mouse-drag gesture. It loses a point because it doesn't differentiate itself from siblings like click or select_text, which can also involve point-to-point movement.

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?

The description gives no guidance on when to use this tool versus click, scroll, select_text, or perform_secondary_action, and it states no prerequisites or exclusions. Usage must be inferred entirely from the tool name and the bare verb 'drag'. This is essentially no when-to-use guidance.

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/tmustier/codex-computer-use-mcp'

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