Skip to main content
Glama

console_execute

console_execute

Execute CLI commands on one or multiple devices in parallel, using batch configurations to inspect or configure Cisco Packet Tracer labs in a single round-trip.

Instructions

Execute CLI commands on one or many devices in parallel.

Prefer batch_configs={device: [cmds...]} to configure or inspect multiple devices in a single parallel round-trip instead of sequential 1-command calls. In Packet Tracer IOS, avoid unsupported commands like show run interface X (use show running-config) and ip ospf <pid> area (use network ... area ... under router ospf), and never leave debug commands enabled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "console_execute"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
confirmNo
dry_runNo
commandsNo
device_nameNo
target_modeNopreserve
batch_configsNo
stop_on_errorNo
capture_before_afterNo
verification_commandsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, and the description usefully adds that execution fans out in parallel and warns about unsupported IOS commands and leaving debug enabled. It says nothing about the confirm/dry_run safety gate, stop_on_error behavior, or what happens to device state when a command fails mid-batch — notable omissions for a mutating tool.

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 operation, followed by the preferred-batching tip and then caveats; each sentence carries actionable content. The Packet Tracer IOS parentheticals are slightly dense but still earn their place as error-prevention.

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

Completeness2/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 explained, but a 10-parameter tool with zero schema description coverage requires far more than one parameter explained. Nothing on mode transitions, dry-run preview, error handling, or verification flow, which leaves an agent guessing on most invocation choices.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 carry the burden for all 10 parameters, yet it explains only batch_configs (including a useful shape hint) and nothing else. commands, device_name, model, target_mode, confirm, dry_run, stop_on_error, capture_before_after and verification_commands are all undocumented in both schema and description.

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 opening sentence gives a specific verb and resource ('Execute CLI commands on one or many devices in parallel') plus the parallelism scope, which is more than a restatement of the name. It does not explicitly distinguish itself from sibling console_capture or device_inspect, so it falls short of 5.

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 description does give real invocation guidance: prefer batch_configs over sequential one-command calls, and three concrete command-avoidance rules for Packet Tracer IOS. However, it never says when to use this tool instead of console_capture, connectivity_test, or device_inspect, so the when-vs-alternatives question is left to inference.

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