Skip to main content
Glama

pt_show

Runs a single exec command on an IOS device and returns its output, enabling quick inspection of routing, VLAN, or interface status via CLI.

Instructions

Run one exec command (e.g. 'show ip route', 'show vlan brief') on an IOS device and return its output.

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": {
      "device": "<device>",
      "command": "<command>"
    },
    "name": "pt_show"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYes
commandYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses that it runs a single command and returns the output, but says nothing about whether the call is read-only or potentially state-changing (exec mode can include reload/erase), what permissions or connection state are needed, or what happens on failure.

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?

Two sentences, front-loaded with the core action and followed by parenthetical examples that earn their place. No redundant or filler wording, though the examples could be folded more tightly into the sentence.

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?

An output schema exists, so return values need not be described. Still, for a two-parameter tool with 0% schema coverage and no annotations, the missing device-identifier format and the unstated safety profile leave meaningful 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?

Schema description coverage is 0%, so the description must compensate. It gives useful example values for the 'command' parameter, clarifying the expected CLI syntax, but leaves the 'device' parameter entirely unexplained — no indication of whether it expects a name, ID, or index.

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 uses a specific verb and resource: run one exec command on an IOS device and return the output, with concrete examples ('show ip route', 'show vlan brief'). This is clear enough for an agent to understand the operation, but it never distinguishes itself from close siblings such as pt_show_running_config or pt_cli, which likely overlap.

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

Usage Guidelines3/5

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

The phrase 'one exec command' implicitly scopes usage to a single, exec-mode (not config-mode) command, which is useful guidance. However, there is no explicit statement of when to prefer this over pt_cli or pt_show_running_config, and no prerequisites such as requiring an open connection to the device.

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