Skip to main content
Glama

rs485_send

Transmit bytes over RS485 via the bridge, which handles DE direction-pin timing. Confirms the bridge sent them; use a peer reply to verify the full link.

Instructions

经桥的 RS485 收发器发送字节(桥负责 DE 方向脚的时序)。

★ 能力边界:它只能确认桥把字节推出去了,对端有没有收到它证明不了。 要验证整条链路得让对端回话(再用 serial_read 读),或示波器看 A/B 差分波形。 这句限制会直接打印在输出里,不代用户下结论。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
busNo
dataYes
portNo
de_msNo
newlineNo
baudrateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses the critical behavioral limitation that a successful send only confirms bytes left the bridge, not that the peer received them, and warns the message prints in output. It does not cover error behavior, baudrate effects, or DE timing failures, so not a 5.

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?

Front-loads the action in the first sentence, then uses a clear boundary section. It is a bit verbose with emoji/markdown emphasis and a note that the limitation is printed in output, which overlaps with output schema, but overall structured and not wasteful.

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?

An output schema exists, so return values need not be explained, and the description adds the key caveat about verification limits. It is missing preconditions and parameter guidance, but for a tool whose parameter names are mostly self-explanatory (data, baudrate) and with an output schema, the main completeness gap is moderate.

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

Parameters1/5

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

Schema description coverage is 0% and there are 6 parameters (bus, data, port, de_ms, newline, baudrate). The description mentions 'bytes' and DE direction timing but does not document what any parameter means, defaults, or formats. This leaves an agent unable to correctly populate parameters such as de_ms or newline.

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 (send bytes) and a specific resource/mechanism (the bridge's RS485 transceiver), and clarifies the bridge handles DE direction timing. This is clearly distinguished from serial_send (generic serial) by the RS485-specific framing.

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?

The description explains a capability boundary and hints that link verification requires the peer to respond (read via serial_read) or scope inspection. However, it does not explicitly state when to choose rs485_send over serial_send, nor any preconditions (e.g., must serial_open first, bus/port selection).

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