Skip to main content
Glama

pt_workspace_options

Read or adjust Packet Tracer workspace options, including auto-cabling, external network access, port labels, link lights, and device labels, to control simulation behavior and capture readability.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.2/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 burden and does substantial work: it discloses the read-only-when-empty contract, the tri-state flag convention, and a genuinely safety-relevant consequence ('turning it on takes traffic out of the simulator'). That is real behavioral context, not restatement. It does not say whether changes persist across sessions, whether PT must be running, or how invalid values are handled.

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 one-line purpose, then the no-argument behavior, then the encoding rule, then a per-parameter breakdown, then an example. Each block earns its place. The trailing example is slightly redundant with the auto_cabling bullet but still clarifies call syntax.

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?

An output schema exists, so return values need not be explained, and the description covers all five parameters plus the safety implication of external_network_access. For a mutation-capable tool with zero annotations, the remaining gap is scope and persistence: whether these settings are workspace-local or global and whether they survive a restart.

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 description coverage is 0% and every property is a bare integer, so the description is the only source of meaning. It supplies the tri-state encoding (1/0/-1, with -1 as the leave-alone default) and explains each flag's effect, including the operational reason to disable auto_cabling. The three display flags are grouped rather than individually distinguished, but their names plus the shared explanation are sufficient.

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 verb pair (reads and adjusts) and a specific resource (PT workspace options) and states the scope of effect ('affect how it behaves'). The enumerated parameter list makes the tool's surface concrete, and it is obviously distinct from the pt_apply_*/pt_add_* siblings. It stops short of 5 because it never explicitly contrasts itself with any alternative.

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?

'Without arguments it is read-only' tells the agent how to use it as a pure reader, and the auto_cabling bullet gives a concrete precondition ('turn it off before building topologies by script'). The worked example reinforces the when-to-use case. What is missing is any explicit when-not guidance or mention of what to use instead when the agent needs a different kind of workspace change.

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