Skip to main content
Glama

List Devices

list_devices
Read-onlyIdempotent

List USB and serial ports, flagging which ones are likely Meshtastic devices so you can identify the right port to connect to. Optionally include all ports to find undetected devices.

Instructions

List USB/serial ports, flagging those likely to be Meshtastic devices.

Each JSON entry has port, vid, pid, description, manufacturer, likely_meshtastic and more.

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

Input Schema

NameRequiredDescriptionDefault
formatNo`json` (default) or `table`: Markdown, about 40-60% fewer tokens than JSON on a long list.json
include_unknownNoTrue lists every serial port, not only the likely candidates, to find a device that is not detected.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds the shape of each entry and the likely_meshtastic flag, which is modest extra context but largely duplicates the existing output schema.

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 short sentences, front-loaded with the verb and scope, with zero filler. The second sentence enumerating output fields is the weakest part because that information already exists in the output schema.

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 full annotations, 100% schema coverage, and an output schema, the description supplies what structured fields cannot: the purpose of the likely_meshtastic flag and the notion of candidate detection. Only sibling differentiation and explicit usage routing are 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?

Schema description coverage is 100%, so both format and include_unknown are already explained in the schema; the description adds nothing further about parameters. The baseline of 3 applies, lifted slightly because the description's mention of flagged candidates aligns with the include_unknown behavior.

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?

"List USB/serial ports, flagging those likely to be Meshtastic devices" pairs a specific verb with a specific resource and adds the differentiator (likely-Meshtastic flag). It does not, however, contrast itself with the closely named sibling serial_list, leaving the agent to infer which lister to reach for.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description offers no when-to-use, when-not-to-use, or alternative guidance at all. The only routing hint in the definition lives in the include_unknown parameter description, not in the main text, so an agent gets no top-level signal about when this tool beats serial_list or device_info.

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