Skip to main content
Glama

esp_input_status

Reads current cursor position, foreground window details, held keys/buttons, Caps Lock, keyboard layout, and input desktop without sending input or requiring a lease.

Instructions

Input state without acting: cursor, foreground window (pid, exe, title, rect), keys and buttons held in Windows and on the device, Caps Lock, keyboard layout, input desktop. No lease needed.

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": "esp_input_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: 'without acting' and 'No lease needed' establish a side-effect-free read with no acquisition step. It does not discuss failure modes (e.g., no foreground window, elevated windows) or freshness/cost, which keeps it below a 5.

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 tight sentences, front-loaded with the core purpose and followed by the concrete field list that replaces the missing output schema. Every item in the enumeration earns its place by telling the agent what it can read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

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

No output schema exists, so the description must describe returns, and it enumerates the returned fields in enough detail (including pid, exe, title, rect) to plan around the result. For a zero-parameter read tool, nothing an agent needs to call it correctly is missing.

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 is 4; there are no arguments whose meaning needs explaining. The description usefully confirms the call is argument-free by framing the output as an unfiltered state dump.

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 the resource precisely and enumerates the exact contents returned: cursor, foreground window (pid, exe, title, rect), held keys/buttons, Caps Lock, keyboard layout, input desktop. The phrase 'without acting' distinguishes it from the action siblings (esp_click, esp_type, esp_move), though the verb itself is implicit rather than stated.

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 gives clear context for use: inspect input state when you do not want to perform an action, and it notes 'No lease needed,' which is a meaningful prerequisite that affects whether the agent can call it now. It stops short of explicitly naming an alternative such as esp_status or stating exclusions.

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