Skip to main content
Glama

netmiko.send_show_command

Securely connect to a network device via SSH and execute a single show command with syntax validation per platform, returning the output.

Instructions

Connect to one network device over SSH and run a single show command.

IMPORTANT: If the user message involves network devices, call netmiko.get_metadata FIRST.

The command is validated against the operator's allow/deny list before execution. A rejection is NOT a bug and NOT something to work around: report it to the user and say which command was refused. Do not retry with an abbreviation — abbreviations are covered by the deny list, not by the allow list.

SYNTAX IS PER-PLATFORM. Netmiko drives 177 base device_types (416 with variants) from 102 vendors and their CLIs are NOT interchangeable. Check the device's device_type with netmiko.list_devices first and use that platform's syntax: Cisco IOS/Arista/Juniper use show ..., Huawei VRP and HPE Comware use display ..., MikroTik RouterOS uses /system resource print, F5 tmsh uses list/show with its own grammar. Never translate a command from one family to another by analogy, and never probe variants to see which one is accepted — each attempt is audited and may be denied for a different reason.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesFull, un-abbreviated CLI command, e.g. 'show ip interface brief'.
device_nameYesExact device name from the inventory (netmiko.list_devices).
save_outputNoAlways write the output to disk and return the filename instead of the content. Useful when you will refer back to it several times.
use_textfsmNoParse the output into structured JSON via ntc-templates. Falls back to raw text when no template exists.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description bears full responsibility. It discloses that the command is validated against an allow/deny list, that rejections are expected and not a bug, that syntax is per-platform across 177 base device types, and that probes are audited. This covers behavioral traits beyond the basic function.

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 fairly long but well-structured, with a clear first sentence stating purpose, followed by an important prerequisite note, rejection behavior, and platform syntax warnings. Every section earns its place given the complexity, though it could be slightly more concise.

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?

Given the tool's complexity (4 parameters, 177 device types, output schema exists), the description is remarkably complete. It covers prerequisites, platform variations, rejection handling, and flag usage. The output schema exists, so return values do not need to be described. No gaps in essential context.

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?

Schema description coverage is 100%, establishing a baseline of 3. The description adds value by reinforcing the need for full, un-abbreviated commands and exact device names, and by providing context about platform-specific syntax. While much is already in the schema, the additional warnings about abbreviations and device type checking justify a 4.

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 explicitly states 'Connect to one network device over SSH and run a single show command', providing a specific verb and resource. It distinguishes from siblings like netmiko.send_show_command_to_group and netmiko.list_devices by focusing on a single device and show command.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear when-to-use guidance: call netmiko.get_metadata FIRST for network device queries, check device_type with netmiko.list_devices first, and warns against probing variants or retrying rejected commands. It explicitly states that rejections are not bugs and must be reported to the user.

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/escrimaglia/netmiko-sot_mcp'

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