Skip to main content
Glama
CrossPad

crosspad-mcp-server

Official
by CrossPad

crosspad_devices

Read-onlyIdempotent

List connected CrossPads with USB mode, port roles, and selection status to identify available devices.

Instructions

[ESP HW] List connected CrossPads as seen by the crosspad-hil daemon: id (dev_xxxx, stable per USB serial), usb_mode (default|audio|bootloader|unknown), and every port role (cdc, console=STM VCP, esp_midi, stm_midi, uac2, bootloader). kind keeps the v9 meaning: 'esp-native' (rev <2.0) or 'stm-bridge' (rev 2.0, STM32 composite CDC+MIDI). selected is set when exactly one device would be chosen implicitly by every other tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
errorNo
detailsNo
devicesNo
successYes
selectedNo
crosspad_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv10.3.0
    • addedOutput schema / properties / devices / items / properties / fw_rev
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / devices / items / properties / pcb
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. Changed28 schema fields changedv10.2.0
    • addedOutput schema / properties / details
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / devices / items / properties / board_rev
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / devices / items / properties / description
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / devices / items / properties / id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / devices / items / properties / is_crosspad / const
      Added value: +true
    • removedOutput schema / properties / devices / items / properties / kind / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "esp-native",
      -      "stm-bridge"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / devices / items / properties / kind / enum
      Added value: +[
      +  "esp-native",
      +  "stm-bridge"
      +]
    • addedOutput schema / properties / devices / items / properties / kind / type
      Added value: +"string"
    • addedOutput schema / properties / devices / items / properties / pid / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / devices / items / properties / pid / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / devices / items / properties / pid / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / devices / items / properties / pid / type
      Removed value: -"integer"
    • changedOutput schema / properties / devices / items / properties / port / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / devices / items / properties / ports
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "bootloader": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "location": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "path": {
      +              "type": "string"
      +            },
      +            "pid": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "product": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "serial": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "vid": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "vid",
      +            "pid",
      +            "serial",
      +            "product",
      +            "location"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "cdc": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "location": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "path": {
      +              "type": "string"
      +            },
      +            "pid": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "product": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "serial": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "vid": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "vid",
      +            "pid",
      +            "serial",
      +            "product",
      +            "location"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "console": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "location": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "path": {
      +              "type": "string"
      +            },
      +            "pid": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            },
      +            "product": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "serial": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "vid": {
      +              "maximum": 9007199254740991,
      +              "minimum": -9007199254740991,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "path",
      +            "vid",
      +            "pid",
      +            "serial",
      +            "product",
      +            "location"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "esp_midi": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "alsa_hw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "rawmidi": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "rtmidi_in": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "rtmidi_out": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "rtmidi_out",
      +            "rtmidi_in",
      +            "alsa_hw",
      +            "rawmidi"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "stm_midi": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "alsa_hw": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "rawmidi": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "rtmidi_in": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "rtmidi_out": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "rtmidi_out",
      +            "rtmidi_in",
      +            "alsa_hw",
      +            "rawmidi"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "uac2": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "alsa_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "sounddevice_index": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "sounddevice_index",
      +            "alsa_id"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / devices / items / properties / serial
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / devices / items / properties / usb_mode
      Added value: +{
      +  "enum": [
      +    "default",
      +    "audio",
      +    "bootloader",
      +    "unknown"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / devices / items / properties / vid / anyOf
      Added value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / devices / items / properties / vid / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / devices / items / properties / vid / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / devices / items / properties / vid / type
      Removed value: -"integer"
    • changedOutput schema / properties / devices / items / required
      Previous value: -[
      -  "port",
      -  "is_crosspad"
      -]New value: +[
      +  "id",
      +  "serial",
      +  "usb_mode",
      +  "ports",
      +  "kind",
      +  "port",
      +  "vid",
      +  "pid",
      +  "is_crosspad"
      +]
    • addedOutput schema / properties / error / additionalProperties
      Added value: +{}
    • addedOutput schema / properties / error / properties
      Added value: +{
      +  "code": {
      +    "type": "string"
      +  },
      +  "details": {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "hint": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "message": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / error / required
      Added value: +[
      +  "code",
      +  "message"
      +]
    • changedOutput schema / properties / error / type
      Previous value: -"string"New value: +"object"
    • addedOutput schema / properties / selected
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / ts
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "success",
      -  "devices"
      -]New value: +[
      +  "success"
      +]
  3. First observedv9.2.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds genuine behavioral context beyond this: the data source (crosspad-hil daemon), the stability guarantee of id (stable per USB serial), version-dependent meaning of kind, and the selection rule for 'selected.' Minor gap: no disclosure of behavior when the daemon is not running or no devices are attached.

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?

The description is front-loaded with the core purpose and each clause earns its place by explaining a field or a constraint. It is dense — the port-role enumeration and version-conditional kind explanation are packed tightly — but for a tool with no schema params and a field-semantics burden, this level of detail is warranted rather than padded.

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 the tool's low complexity (0 params), complete annotations, and an output schema that presumably details the return structure, the description covers the semantic meaning an agent cannot extract from structured data: id stability, kind version semantics, and the implicit-selection rule. The remaining gap is edge-case behavior (daemon unavailable, empty device list), which is minor for a read-only enumeration tool.

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?

With zero parameters and 100% schema coverage, there is nothing for the description to explain about inputs, so the baseline of 4 applies. The description instead adds value on the output side by clarifying field semantics (usb_mode value set, port role glosses, kind version mapping), which compensates for the empty input schema.

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 opens with a specific verb+resource+source: 'List connected CrossPads as seen by the crosspad-hil daemon.' It enumerates the exact fields returned (id, usb_mode, port roles, kind, selected) with their semantics, and its function is clearly distinct from all siblings (build, flash, doctor, snapshot, etc.), which perform actions rather than enumerate hardware.

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?

Usage context is only implied, not stated. The 'selected' field explanation hints that other tools implicitly choose a device and this tool reveals which one, which lets an agent infer when to call it (before acting on a device), but there is no explicit when-to-use/when-not-to-use statement or routing to alternatives. The differentiation from siblings is conveyed by function rather than by explicit guidance.

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