Skip to main content
Glama

Find adapter serial ports

list_serial_ports
Read-onlyIdempotent

Lists serial ports to identify the connection value (e.g., serial:COM3) for a USB or paired Bluetooth ELM327 adapter; does not open ports or contact a vehicle. WiFi adapters are not listed.

Instructions

List the serial ports this computer reports, to find the connection value for a USB or paired Bluetooth ELM327 adapter (for example serial:COM3). Does not open any port or contact a vehicle, and works in mock mode. WiFi adapters are not listed. Changing the connection requires setting OBD2MCP_CONNECTION and restarting the server.

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_serial_ports"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, yet the description still adds real behavior: it opens no port and contacts no vehicle, it functions in mock mode, and WiFi adapters are excluded from results. The restart requirement for changing the connection is operationally important context an agent would not otherwise have.

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?

Four short sentences, front-loaded with the action and the adapter use case, then constraints and the restart caveat. Every sentence carries information, though the trailing restart note is slightly tangential to the listing action itself.

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?

For a zero-parameter, read-only listing tool with no output schema, the description supplies everything needed: what is listed, the format of the value, what is excluded, and the safety/behavioral profile. Nothing essential 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 there is nothing for the description to disambiguate; the schema is empty and fully covered. Baseline 4 applies, and the description wastes no effort restating parameter details.

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?

Opens with a specific verb and resource ('List the serial ports this computer reports') and immediately names the goal — finding the connection value for a USB or paired Bluetooth ELM327 adapter. The example 'serial:COM3' makes the output concrete and distinguishes it from siblings like find_adapter or use_adapter, which act on adapters rather than enumerate ports.

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?

Gives clear when-to-use context (locating the connection value for a USB/Bluetooth adapter) and an explicit exclusion ('WiFi adapters are not listed'), plus a next-step prerequisite (set OBD2MCP_CONNECTION and restart). It stops short of naming a specific alternative tool for WiFi adapters, so routing there 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.