Skip to main content
Glama
Packet Tracer MCP — Node.js port

Packet Tracer MCP — Node.js port

pt_workspace_options

Read or adjust Packet Tracer workspace options such as auto-cabling, external network access, and canvas labels to gain precise control for scripted topology builds or readable captures.

Instructions

Reads and adjusts PT workspace options that affect how it behaves.

Without arguments it is read-only. The flags are tri-state: 1 enables, 0 disables, -1 (default) leaves alone.

Parameters:

  • auto_cabling: PT's auto-cabling picks the cable and the port for you. Turn it off before building topologies by script if you want exact control over which port is used.

  • external_network_access: lets PT reach the machine's REAL network. Off by default; turning it on takes traffic out of the simulator.

  • show_port_labels / show_link_lights / show_device_labels: what is shown on the canvas. It matters for a capture to be readable.

Example: turn auto-cabling off before a scripted deploy: pt_workspace_options(auto_cabling=0)

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": "pt_workspace_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
auto_cablingNo
show_link_lightsNo
show_port_labelsNo
show_device_labelsNo
external_network_accessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: it discloses the tri-state value encoding (1/0/-1, default -1), the read-only behavior with no arguments, and the safety-relevant fact that enabling external_network_access escapes the simulator. It stops short of describing the return shape or any permission/rate considerations.

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 read/write contract is front-loaded, followed by the tri-state rule, a parameter list, and a single worked example. Every line contributes distinct information and the ending example anchors the most error-prone usage.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated, five-parameter configuration tool with no output schema, the description covers mutation semantics, defaults, and side effects well. The notable remaining gap is what a read-only call returns, which the agent must infer since no output schema exists.

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

Parameters5/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 all parameter meaning, and it explains every one of the five flags plus the tri-state convention that the schema does not encode. The auto-cabling note explains the practical consequence of the value rather than restating the name, which is exactly what the schema cannot provide.

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 first sentence names a specific resource (PT workspace options) and both verbs (reads and adjusts), and it clarifies the read/write split by noting that no arguments means read-only. It does not differentiate itself from plausibly overlapping siblings such as pt_canvas_info, so it falls short of a 5.

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

Usage Guidelines4/5

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

It gives concrete situational guidance: turn auto-cabling off before scripted topology building to control port selection, and note that external_network_access is off by default and pushes traffic out of the simulator. There are no explicit when-not conditions or named alternative tools, which keeps it at 4 rather than 5.

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

Deploy Server

Other Tools