Skip to main content
Glama

pt_ui_open

Opens a device window in Packet Tracer on a chosen tab, app, or section without mouse or keyboard input, so you can inspect or interact with the interface in headless workflows.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.9/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 side-effect profile (no mouse movement or typing), that it functions in headless mode, and hard prerequisites (Windows, the [ui] extra / comtypes). It omits failure behavior and whether the window takes focus, so it is informative but not complete.

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 in one sentence, then a scannable bulleted breakdown of each parameter's domain. The long app enumeration is verbose but earns its place as a substitute for the missing schema enums; nothing else is filler.

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

Completeness5/5

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

For a five-parameter UI helper with an output schema (so return values need not be described), the definition covers the action, side effects, environment requirements, and value domains. Only the meaning of the required 'device' argument and 'scroll_to_end' is left implicit, which is minor at this complexity.

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 description coverage is 0%, so the description must compensate, and it does for three of five parameters: 'tab' enumerates the valid values, 'app' lists many concrete options and states it implies tab=Desktop, and 'section' explains the left-hand list with examples. The required 'device' parameter and 'scroll_to_end' receive no explanation at all, which keeps it short of a 5.

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 states a specific verb and resource ('Opens a device's window in PT on a tab/app/section') plus the key behavioral distinction that it uses UI Automation and PT's API rather than simulating input. It does not name a sibling such as pt_ui_capture or pt_ui_close, so an agent must infer the split from the verbs alone.

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?

'Works in headless mode too: it is an explicit request to show' hints at when to call it, and the app-implication note ('implies tab=Desktop') constrains usage. However, there is no explicit when-to-use/when-not guidance against the many sibling UI and activity tools, leaving selection to inference.

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