Skip to main content
Glama

pikvm_auto_calibrate

Automatically calibrates mouse coordinates by detecting cursor position through screenshot comparison. Improves accuracy over manual calibration by moving the mouse multiple times and computing calibration factors.

Instructions

Automatically calibrate mouse coordinates by detecting the cursor position via screenshot diffing. This is more accurate than manual calibration. Moves the mouse multiple times, compares screenshots to find the cursor, and computes calibration factors. Other tools are blocked during calibration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roundsNoNumber of sampling rounds (default: 5)
verifyRoundsNoNumber of verification rounds (default: 5)
moveDelayMsNoDelay in ms after each mouse move for capture to settle (default: 300). Increase if calibration fails on slow connections.
mergeRadiusNoRadius in pixels for merging nearby clusters (e.g., cursor + drop shadow). Default: 30.
minSamplesNoMinimum valid samples required for calibration to succeed. Default: 3.
maxRatioDivergenceNoMaximum allowed divergence between X and Y ratios within a single round. Rejects noisy rounds where ratios are incoherent. Default: 0.5.
verboseNoLog per-round debug data (centroid positions, accept/reject reasons). Default: false.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the tool moves the mouse multiple times, compares screenshots, blocks other tools, and computes calibration factors. This covers key behavioral traits, though it could mention duration or whether it writes calibration data.

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?

Three sentences are efficient and front-loaded: first states purpose, second adds advantage, third describes process and constraint. No redundant information.

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?

Given 7 optional parameters with full schema coverage and no output schema, the description adequately explains the tool's purpose, process, and blocking behavior. It could mention the output (e.g., calibration factors stored), but remains reasonably complete for a complex tool.

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 100%, so the description adds minimal value beyond the schema. All parameters have descriptions in the schema, and the tool description does not provide additional semantic context. Baseline 3 is appropriate.

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?

Description clearly states the purpose: automatically calibrate mouse coordinates via screenshot diffing. It distinguishes from manual calibration, mentions the process (moves mouse, compares screenshots, computes factors), and uses specific verb+resource. Siblings like pikvm_calibrate are differentiated.

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?

Description notes it is more accurate than manual calibration, implying preferred usage. It also warns that other tools are blocked during calibration, providing a usage constraint. However, it does not explicitly state when not to use or list alternatives beyond the implicit comparison to manual.

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

Install Server

Other Tools

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/KultivatorConsulting/pikvm_mcp_server'

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