Skip to main content
Glama

Find my OBD-II adapter

find_adapter
Idempotent

Locate a USB or Bluetooth ELM327 adapter automatically so you do not need to know the port name. Only adapter-like ports are briefly probed with the ATZ command; nothing is sent to the vehicle.

Instructions

Find a USB or Bluetooth ELM327 adapter automatically, so the user does not need to know a port name. Only ports that look like an adapter (a known USB-serial chip, or a Bluetooth serial port) are opened, briefly, to send the adapter's identification command (ATZ); nothing is sent to the vehicle. Takes a few seconds per port. A Bluetooth adapter must be paired in the operating system first, and the adapter must be plugged into the car with the ignition on. WiFi adapters are not found this way: after the user joins the adapter's WiFi network, use use_adapter with tcp:192.168.0.10:35000 (or the address in its manual). If an adapter is found, ask the user before calling use_adapter with its connection value.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that only adapter-looking ports are opened, that the opening is brief, that ATZ is sent to the adapter but nothing to the vehicle, and that it costs a few seconds per port. Those details matter because readOnlyHint=false on a zero-parameter tool would otherwise leave the agent unsure how invasive the call is; the description resolves that ambiguity without contradicting the hint.

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?

Purpose and safety boundary come first, followed by latency, prerequisites, the WiFi alternative, and the required follow-up action. Every sentence carries distinct operational information, and none of it repeats the empty schema or the annotations.

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 no-argument hardware discovery tool with no output schema, the agent needs to know what will be touched, how long it takes, what must be true beforehand, and what to do with a hit — all four are present, including the instruction to confirm with the user before use_adapter.

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 no parameters, so there is nothing for the description to disambiguate; the baseline for a zero-parameter schema applies. The description correctly avoids inventing inputs and instead spends its words on environment prerequisites.

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?

States a specific verb and resource ('Find a USB or Bluetooth ELM327 adapter automatically') and gives the motivating outcome ('so the user does not need to know a port name'). It also bounds scope by explicitly excluding WiFi adapters, which an agent could otherwise reasonably assume is covered.

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

Usage Guidelines5/5

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

Names the alternative directly: for WiFi use use_adapter with tcp:192.168.0.10:35000, and after a successful find, ask the user before calling use_adapter with the connection value. Preconditions (paired in the OS, plugged into the car with ignition on) are spelled out, so the agent knows when this tool will fail for environmental reasons rather than logic reasons.

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