Skip to main content
Glama

switch_transport

Switch active command execution between SSH and serial transports while maintaining both connections.

Instructions

Switch the active transport between SSH and serial. Both connections can be maintained simultaneously — this controls which one is used for command execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
transportYesTransport to activate
Behavior4/5

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

Despite no annotations, the description discloses a key behavioral trait: both connections can be maintained simultaneously, and the tool only changes which one is active for commands. This goes beyond the basic action and helps the agent understand side effects.

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 sentences, zero waste. The first sentence states the action, the second adds an important clarification. Perfectly front-loaded.

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

Completeness5/5

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

For a simple tool with one parameter, no output schema, and no annotations, the description is complete. It explains what it does, the relationship between connections, and the impact on command execution. No critical gaps.

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 schema already provides 100% coverage, including an enum and description for the 'transport' parameter. The description adds context by naming the two transports (SSH and serial) and their effect on command execution, but it doesn't add significant new syntax or meaning beyond what the schema already offers.

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 a specific verb ('Switch') and resource ('active transport between SSH and serial'), and clarifies the effect by stating it controls which connection is used for command execution. This distinguishes it from sibling connect/disconnect tools.

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 clearly establishes the context for use: when both connections are maintained and you need to select which one executes commands. It doesn't explicitly name alternatives when not to use it, but the dual-connection clarification provides adequate usage 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/haode01/openwrt-mcp-server'

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