Skip to main content
Glama
crosspad-mcp-server

crosspad-mcp-server

Official
by CrossPad

crosspad_stats

Read-only

Read runtime state from a running PC simulator—pad status, capabilities, heap, apps, active pad logic, or top-bar UI details—to inspect and debug CrossPad behavior.

Instructions

[PC sim] Read runtime state from the running PC simulator: pad state, capabilities, heap, apps and active pad logic (view='stats', default), or the top bar (view='top_bar'). view='top_bar' reports which of the transport/status bars is the page, the row's scroll, the drawer, where the encoder's focus is and the last screen-wide swipe; the read-back for crosspad_input action=drag.

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

Input Schema

NameRequiredDescriptionDefault
portNoSimulator control port (default: CROSSPAD_REMOTE_PORT of this server, else 19840). Needed to address a second instance.
viewNoWhich state to read.stats

Output Schema

NameRequiredDescriptionDefault
docsNo
nextNo
errorNo
statsNo
noticeNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv11.0.0
  2. Removedv10.2.0
  3. First observedv9.2.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful context beyond that — it requires a running PC simulator and the port parameter addresses a second instance — but says nothing about failure behavior when no simulator is running or about output shape/pagination.

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?

Two sentences, front-loaded with the core action, with the default view stated before the alternative. The second sentence is long and list-heavy but every clause describes a distinct returned field, so little is wasted.

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?

With an output schema present, return values need not be explained, yet the description still characterizes both views and the multi-instance port use case. The only meaningful omission is preconditions/error behavior when the simulator is not running.

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?

Schema coverage is 100%, so the baseline is 3; however, the description goes beyond the schema's terse 'Which state to read' by spelling out what each view returns (stats: pad state/heap/apps/logic; top_bar: page bar, row scroll, drawer, encoder focus, last swipe). That is genuine added meaning for the enum choice.

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 opens with a specific verb+resource ('Read runtime state from the running PC simulator') and enumerates the exact payloads (pad state, capabilities, heap, apps, active pad logic, top bar). The '[PC sim]' prefix scopes it away from device-targeting siblings, though it never explicitly contrasts with tools like crosspad_capabilities or crosspad_devices.

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 the default (view='stats') and the condition that selects the alternative (view='top_bar'), and ties top_bar to a concrete workflow: it is the read-back for crosspad_input action=drag. No explicit when-not-to-use or exclusion guidance is given.

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