Skip to main content
Glama

at_auto_detect

Scans all COM ports using common baud rates and AT probe commands to identify responsive devices. Resolves uncertainty about device connection.

Instructions

Auto-detect all available COM ports. Tries common baud rates and sends an AT probe command to find responsive devices. Useful when unsure which port the device is connected to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baudratesNoBaud rate list to try. Default: 115200, 9600, 921600, 460800, 230400, 57600, 38400, 19200.
test_commandNoAT command used for probing. Default 'AT'.AT
probe_timeoutNoTimeout per probe in seconds. Smaller is faster but may miss slow devices. Default 0.5.
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool tries common baud rates and sends an AT probe, but omits details like whether ports are temporarily opened, potential side effects on devices, or rate limiting.

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?

Two concise sentences, no superfluous text. First sentence states action, second provides use case. Efficient and clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema and optional parameters. Description gives purpose and usage context but lacks return format, error behavior, and prerequisites. Adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are well-documented in schema. The description adds minimal extra meaning beyond reinforcing that baud rates and probe command are used. Baseline score of 3 is appropriate.

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 explicitly states 'Auto-detect all available COM ports' with specific actions (tries baud rates, sends AT probe). This clearly distinguishes it from siblings like at_list_ports (simple listing) and at_send_command (sending to specific port).

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?

The description includes 'Useful when unsure which port the device is connected to,' providing clear context for use. However, it does not specify when not to use or compare to alternatives, slightly limiting guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zeng-andrew/at_bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server