Skip to main content
Glama

Send Command to an End-Device Terminal

send_terminal_command

Run a single command in a Cisco Packet Tracer device terminal and collect its output until the command ends or the timeout passes.

Instructions

Type one command into a device's terminal and collect its output -- for PCs, laptops and servers this is the Desktop > Command Prompt ('ping 10.0.0.1', 'ipconfig /all', 'tracert 8.8.8.8', 'arp -a'). Output is collected until Packet Tracer reports the command ended or the timeout passes; pings in Realtime mode take a few seconds.

Examples:

  • "Ping 192.168.1.1 from PC0"

  • "Run ipconfig on the laptop"

  • "Traceroute from PC1 to the server"

Input Schema

NameRequiredDescriptionDefault
nameYesDevice display name as shown in Packet Tracer (e.g. 'Router0', 'PC1')
commandYes
timeoutNoSeconds to wait for the command to finish

Output Schema

NameRequiredDescriptionDefault
outputYes
statusNo
completedYesTrue if Packet Tracer reported the command finished before the timeout

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: output is collected until Packet Tracer reports the command ended or the timeout passes, and Realtime pings take a few seconds, which sets realistic latency expectations. Since readOnlyHint=false is declared, it would have been better to note that the typed command may alter device state, but the collection/timeout semantics are substantive additions.

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?

Front-loaded with the core action, then scope, then collection semantics, then illustrative examples. Every element serves a purpose, though the three user-utterance examples are slightly redundant given the inline command examples already shown.

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, and the annotations cover safety hints. What is missing is the sibling disambiguation versus send_cli_command and any statement of device-state prerequisites or side effects for a non-read-only tool, leaving a meaningful gap for a 3-parameter mutation-adjacent call.

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 coverage is 67% with documented descriptions for name and timeout, but `command` has no schema description. The description compensates partially by giving concrete command examples ('ipconfig /all', 'tracert 8.8.8.8') that imply a single shell-command string, and it references timeout behavior, so it does add some meaning over the schema but not full compensation.

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?

States a specific verb and resource ('Type one command into a device's terminal and collect its output') and scopes it to end devices (PCs, laptops, servers via Desktop > Command Prompt). However, it never names the closest sibling, send_cli_command, which is almost certainly the tool for router/switch CLI, so an agent must infer the split from the phrase 'end-device'.

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 examples ('Ping 192.168.1.1 from PC0', 'Run ipconfig on the laptop') make the intended usage concrete and implied-when conditions are clear. But there is no explicit 'use this instead of X' routing against send_cli_command or configure_device, and no prerequisites (device powered on, terminal availability) are stated.

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