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

Packet Tracer MCP — Node.js port

pt_ui_mode

Switch Packet Tracer device-panel tools between headless background operation and UI mode so actions open and display the matching window or tab; check current mode with status.

Instructions

Headless vs UI: decides whether the device-panel tools also SHOW what they do in Packet Tracer's window.

  • "headless" (default): everything through the API, no window opens.

  • "ui": pt_cli, pt_host_command, pt_host_ip_config, pt_server_*... open the device's window on the matching tab/app (CLI, Desktop > Command Prompt, Desktop > IP Configuration, Services > DHCP...) so it can be watched or captured.

  • "status": shows the current mode.

The mode is saved and survives server restarts. Every tool also accepts show=True/False for a single call. Use it when the user says "show it in PT", "I want screenshots", "use the tabs" (→ "ui") or "do it in the background" (→ "headless").

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_ui_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNostatus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.4/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 well: it discloses the default (headless), that the mode persists across server restarts, and that every tool accepts a per-call show=True/False override. It omits what an invalid mode returns and what the "status" response looks like, which leaves a small gap for a global state-changing tool.

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?

Front-loaded with the core distinction, then a tight bulleted mode list, then persistence and override notes, then trigger phrases. Every sentence adds information; nothing is redundant.

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 one-parameter global toggle with no annotations and no output schema, the description covers effect, modes, persistence, and per-call override. The only gap is the return content of "status" and interaction with the dedicated pt_ui_* siblings, which are minor for a tool of 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 coverage is 0% and the schema defines no enum, so the description is the only source of valid values — and it supplies all three ("headless", "ui", "status") with meanings, plus notes the schema's default of "status". It does not state behavior for unrecognized values, keeping it short of a 5.

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?

The description opens with a concrete statement of the setting's effect: it decides whether device-panel tools also SHOW their actions in Packet Tracer's window. The three modes are enumerated with one-line meanings, so an agent knows exactly what this tool changes without consulting the schema.

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 explicit trigger phrases mapping user intent to a mode ("show it in PT"/"screenshots" → "ui", "in the background" → "headless"), which is unusually actionable. It does not clarify how this global setting relates to the sibling UI tools (pt_ui_open, pt_ui_close, pt_ui_capture) or when a per-call show=True is preferable to flipping the global mode.

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