Skip to main content
Glama

esp_calibrate

Measure hardware mouse-to-screen pixel mapping by moving the cursor over a 3x3 grid and restoring it; runs before positional actions and after display changes. Requires a control_id.

Instructions

Measure the mapping from the hardware mouse to screen pixels (moves the cursor over a 3x3 grid and puts it back). Done automatically before the first positional action and after a display change.

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": {
      "control_id": "<control_id>"
    },
    "name": "esp_calibrate"
  }
}

Input Schema

NameRequiredDescriptionDefault
control_idYesFrom esp_control begin (calibration moves the cursor).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/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, and it does disclose two real behavioral traits: the cursor is moved during the operation and restored afterwards, and normal invocation is automatic. It says nothing about what the call returns, whether it blocks, or what happens on failure during the cursor sweep, which matters for a tool that perturbs system state.

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 sentences, front-loaded with the purpose and followed by the automatic-invocation context; 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.

Completeness4/5

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

For a one-parameter tool with no output schema and no annotations, the description covers what it does, when it fires, and its cursor side effect. The main remaining gap is the absence of any statement about the result of the measurement or failure behavior.

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% for the single control_id parameter, so the schema already explains its origin and the cursor side effect. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 names a specific verb and outcome ('measure the mapping from hardware mouse to screen pixels') and adds the concrete mechanism ('moves the cursor over a 3x3 grid and puts it back'), so an agent knows exactly what this tool does that esp_move or esp_click do not.

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 states that calibration happens automatically before the first positional action and after a display change, which implicitly tells the agent it usually should not call this manually. It stops short of an explicit 'call this yourself only if...' condition, so the manual trigger case is left to inference.

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