Skip to main content
Glama
alxgmpr

serial-mcp

by alxgmpr

serial_xmodem_send

Destructive

Send a file to a serial device using XMODEM or XMODEM-CRC protocol. The device must already be in receive mode, as when using a bootloader or rx command.

Instructions

Send a file to the device using XMODEM protocol.

The device must already be waiting to receive (e.g. after a "rx" command or entering a bootloader's receive mode). Supports standard XMODEM (checksum) and XMODEM-CRC (CRC-16) modes.

Args: file_path: Path to the file to send session_id: Port name of the session. Optional if only one session is open. mode: "xmodem" for checksum mode, "xmodem-crc" for CRC-16 mode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoxmodem
file_pathYes
session_idNo
Behavior3/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds that the device must be in receive mode and supports two protocol modes, but does not disclose additional behavioral details like file overwriting or transfer progress.

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?

The description is well-structured: a one-sentence purpose, followed by a prerequisite note, then the file transfer mode clarification, and finally parameter details in an Args block. It is slightly verbose but front-loaded with key information.

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?

There is no output schema, and the description does not explain return values or error conditions. For a file transfer tool, mentioning typical outcomes or timeouts would enhance completeness, but the input parameters and prerequisite are adequately covered.

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

Parameters5/5

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

With 0% schema description coverage, the description fully explains all three parameters: file_path (path), session_id (optional port name), and mode (enum with clear explanations for 'xmodem' and 'xmodem-crc'). This adds significant meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Send a file to the device using XMODEM protocol,' identifying the specific verb and resource. It does not explicitly differentiate from the sibling 'serial_xmodem_receive,' but the verb 'send' implies the distinction.

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 provides a prerequisite: 'The device must already be waiting to receive (e.g. after a 'rx' command or entering a bootloader's receive mode).' This gives clear context for when to use the tool, but lacks explicit when-not-to-use or alternative tools.

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/alxgmpr/serial-mcp'

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