Skip to main content
Glama

run_show_command

Read-onlyIdempotent

Run one read-only FastIron show command over SSH to retrieve raw CLI output when no structured tool covers the needed switch data; only allowlisted show prefixes are accepted and secrets are redacted.

Instructions

Run ONE read-only FastIron show command over SSH and return its raw text.

Use this only when no structured tool covers what you need (e.g. "show lldp neighbors detail", "show log", "show mac-address ethernet 1/1/5", "show interfaces ethernet 1/1/5", "show media", "show errdisable recovery"). Only allowlisted show prefixes are accepted; pipes, semicolons and configuration commands are rejected. Secrets in output are redacted.

Args: command: e.g. "show lldp neighbors detail ports ethernet 1/1/1". max_chars: Output cap (default 20000).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "run_show_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
max_charsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description adds genuinely new behavior: an allowlist gate on accepted prefixes, rejection of pipes and config commands, secret redaction in output, and an output cap. These are failure modes and side effects the annotations do not convey.

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 core rule is front-loaded in the first sentence, restrictions follow, and the Args block is terse. The example list is long but each example disambiguates a plausible command shape, so the length is earned.

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 single-command passthrough tool with an output schema present, the description covers invocation constraints, safety behavior, and output nature (raw text, capped, redacted). Nothing needed to call it correctly is missing.

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 coverage is 0%, so the description must carry the load; it explains `command` as a full show command with a concrete example and constrains its form via the allowlist rule, and describes `max_chars` as an output cap. It does not state units/format nuances for max_chars or what happens when truncation occurs, so it falls short of fully compensating.

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 and resource ('Run ONE read-only FastIron `show` command over SSH') plus the return shape ('raw text'), and explicitly positions itself against the structured siblings by saying to use it only when no structured tool covers the need.

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?

Gives an explicit when-to-use rule ('only when no structured tool covers what you need'), concrete example commands, and hard exclusions (pipes, semicolons and configuration commands are rejected, only allowlisted `show` prefixes accepted). An agent knows both when to pick this and when not to.

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