Skip to main content
Glama

hf_set_serial_config

Set serial port parameters on Hi-Flying devices, including baud rate, parity, data bits, stop bits, and optional port. Match device communication requirements to establish valid connections.

Instructions

Set serial port parameters on Hi-Flying device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baudYesBaud rate (e.g. 9600, 115200)
portNoSerial port number (for multi-port models, optional)
parityNoParity: NONE, ODD, EVEN (default NONE)
data_bitsNoData bits: 7 or 8 (default 8)
device_idYesHi-Flying device ID
stop_bitsNoStop bits: 1 or 2 (default 1)
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states 'Set' indicating a mutation, but does not disclose side effects (e.g., immediate effect, possible disconnect), prerequisites (device must be online), or return behavior. The description is minimal and leaves significant behavioral aspects unknown.

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?

The description is a single, front-loaded sentence: 'Set serial port parameters on Hi-Flying device.' It communicates the core action clearly with no wasted words.

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

Completeness2/5

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

For a mutation tool with 6 parameters, no annotations, and no output schema, the description is too sparse. It does not explain what response the agent should expect, whether the settings persist, require a reboot, or if the device must be in a certain state. The schema covers parameter details but not the behavioral context needed to safely invoke and interpret the tool.

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?

The input schema has 100% coverage with detailed descriptions for all six parameters (baud, port, parity, data_bits, device_id, stop_bits). The description adds no additional parameter semantics beyond what the schema already provides, so baseline 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 uses the specific verb 'Set' with a clear resource ('serial port parameters') and target ('Hi-Flying device'). It clearly distinguishes from sibling tools like hf_get_serial_config (get vs set) and hf_at_command (direct AT commands).

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 is implied: you use this when you need to configure serial parameters on a Hi-Flying device. However, there is no explicit guidance on when to use it versus alternatives like hf_get_serial_config for verification, or hf_at_command for low-level serial commands. No exclusions or prerequisites are stated.

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/monthop-gmail/iot-mcp-claude'

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