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

Packet Tracer MCP — Node.js port

pt_ui_open

Opens a device's window in Packet Tracer at a specified tab, app, or section without mouse or keyboard input, including in headless mode.

Instructions

Opens a device's window in PT on a tab/app/section, without moving the mouse or typing (UI Automation + PT's API).

  • tab: Physical | Config | CLI | Desktop | Services | Programming | Attributes

  • app (Desktop): ip_configuration, command_prompt, terminal, web_browser, pc_wireless, email, text_editor, firewall, ipv6_firewall, vpn, traffic_generator, mib_browser, pppoe_dialer, dial_up, ip_communicator, tftp, ssh_client, bluetooth, iot_monitor... (implies tab=Desktop)

  • section: an entry in the tab's left-hand list: in Config "Settings" or an interface ("FastEthernet0"); in Services "DHCP", "DNS", "HTTP", "TFTP", "EMAIL", "FTP"...

Works in headless mode too: it is an explicit request to show. Requires Windows and the [ui] extra (comtypes).

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>"
    },
    "name": "pt_ui_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNo
tabNo
deviceYes
sectionNo
scroll_to_endNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it discloses that the tool drives UI Automation plus PT's API, does not move the mouse or type, works headless, and requires Windows with the [ui] extra (comtypes). It stops short of describing failure behavior for invalid tab/section values or whether the window must already exist.

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?

Purpose is front-loaded in the first sentence, with parameter detail in a scannable bullet list. The long "..."-terminated enumerations for app and section are slightly bloated but each entry is genuinely useful for value selection, so little is wasted.

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 a 5-parameter, no-annotation, no-output-schema UI tool, the definition covers mechanism, environment prerequisites, and most parameter vocabularies. Missing pieces are modest: the return value/confirmation, error behavior on a bad tab or section, and the scroll_to_end flag.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it largely does: tab is enumerated, app is enumerated with the implicit rule "implies tab=Desktop", and section is defined per-tab with concrete examples ("Settings", "FastEthernet0", "DHCP"). Two gaps remain — the required device parameter is never explained, and scroll_to_end is not mentioned at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Opens a device's window in PT") plus the exact targeting surface (tab/app/section) and the non-invasive mechanism ("without moving the mouse or typing"). This is enough to distinguish it from siblings like pt_ui_capture or pt_cli without opening any schema.

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 gives one useful usage signal — "Works in headless mode too: it is an explicit request to show" — which tells the agent the call is safe to make even without a visible UI. However, it never states when to prefer this over pt_cli or pt_ui_mode, nor any preconditions such as a project needing to be open.

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