Skip to main content
Glama
yangyu2729

console-switch-mcp

by yangyu2729

connect

Open a serial console session to network switches (Huawei, H3C, Cisco) to execute configuration commands and debug issues.

Instructions

通过Console口连接到网络设备(如华为/H3C/思科交换机)。连接后可以发送命令进行配置和调试。

常用波特率:华为/H3C 默认 9600,部分设备 115200。 Windows 端口示例: COM1, COM3 Linux 端口示例: /dev/ttyUSB0, /dev/ttyS0 macOS 端口示例: /dev/cu.usbserial-xxxx

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYes串口路径,如 COM3 (Windows) 或 /dev/ttyUSB0 (Linux/macOS)
parityNo校验位,网络设备通常为 nonenone
baudRateNo波特率,华为/H3C 交换机默认 9600。常用值: 9600, 19200, 38400, 57600, 115200
dataBitsNo数据位,网络设备通常为 8
stopBitsNo停止位,网络设备通常为 1
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions common baud rates and port examples, which adds operational context, but it does not explain what happens on connection failure, whether the connection is persistent, or how to handle a busy port. These gaps are notable for a connection-establishing tool.

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 concise and well-structured: it opens with the tool's purpose, then provides relevant practical details (baud rates and port examples) in a list-like format. No sentence is wasted, and the information is front-loaded for quick understanding.

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?

Given the tool has five parameters and no output schema, the description provides a reasonable level of completeness by explaining the connection action and giving examples for common parameters. It does not mention return values or session management, but those may be implied by the sibling tools. The lack of annotations is partially compensated by the practical guidance included.

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 schema already covers parameter descriptions fully, but the description adds value by providing OS-specific port examples (Windows, Linux, macOS) and noting that some devices use 115200 baud. This goes beyond the schema, which only gives a generic example, and helps the agent select appropriate parameter values in different environments.

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 clearly states a specific action (connecting via Console port) and the target resource (network devices such as Huawei/H3C/Cisco switches). It distinguishes itself from sibling tools by focusing solely on establishing the connection, unlike send_command or send_config which operate after a connection exists.

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 clear context by mentioning that after connecting, commands can be sent, which implies this tool is a prerequisite for send_command/send_config. It also offers practical OS-specific port examples and common baud rates. However, it does not explicitly state when not to use this tool or mention alternatives like list_ports for discovering available ports.

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/yangyu2729/console-switch-mcp'

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