Skip to main content
Glama

get_cursor_position

Retrieves the current mouse cursor position on screen, returning coordinates so you can locate the pointer before moving it or clicking.

Instructions

Get the current mouse cursor position on screen.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_cursor_position"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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. 'Get' implies a safe read, but it says nothing about coordinate units, origin, multi-monitor or scaling behavior, or permissions (e.g., accessibility/screen-recording grants on macOS-like platforms). For a tool whose whole value is the returned value, that omission is significant.

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 with no redundant or filler wording, appropriately sized for a zero-parameter observation tool.

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?

The tool is simple and parameter-free, but there is no output schema, so the description is the only place the return shape could be described. It never states that the result is an x/y coordinate pair or what coordinate space it uses, leaving an agent unsure how to feed the result into mouse_move.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline of 4 applies. There is nothing for the description to clarify beyond confirming no input is required.

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 gives a specific verb and resource ('Get the current mouse cursor position on screen'), which clearly separates it from siblings like mouse_move or mouse_click that alter position. It stops short of explicitly naming a contrasting sibling, but the read-only, observational nature is unambiguous.

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?

There is no explicit statement of when to call this versus alternatives (e.g., before computing a mouse_move delta) and no exclusions or prerequisites. Usage is only implied by the verb 'get', which is the minimum viable level of guidance for a zero-parameter read tool.

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