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

Packet Tracer MCP — Node.js port

pt_ui_capture

Captures a Packet Tracer device window as a PNG, even when covered, and returns the saved file path for screenshots of the visible interface.

Instructions

Saves a PNG of a device's window as it looks in PT (or of the main window if device is empty). Works even when the window is covered. Returns the file's PATH, not the image.

Open the tab/app you want first with pt_ui_open (or show=True on the tool you ran). For the logical canvas without the interface there is pt_screenshot.

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

Input Schema

NameRequiredDescriptionDefault
deviceNo
filenameNo
output_dirNoscreenshots

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 supplied, the description carries the full burden and does well: it discloses the non-obvious trait that capture works even when the window is covered, and it warns that the return value is a file PATH rather than image data. It stops short of stating whether an existing file is overwritten, whether the path is absolute, or what image format details apply, so it is strong 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and the critical return-value caveat, followed by prerequisites and the sibling alternative. No filler and nothing that could be cut without losing meaning.

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 zero-required-parameter capture tool with no output schema, the description covers purpose, prerequisite, return type, and the main alternative. The remaining gap is minor: no guidance on output_dir or filename collisions, which matters for repeated invocations.

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

Parameters3/5

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

Schema description coverage is 0% for three parameters, so the description must compensate. It explains the key semantic of device (empty means main window) and implies filename via 'Saves a PNG', but output_dir (defaulting to 'screenshots') is never mentioned and the filename format or path-joining behavior is not described.

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 uses a specific verb and resource ('Saves a PNG of a device's window'), states the fallback behavior when device is empty, and explicitly contrasts itself with the sibling pt_screenshot ('logical canvas without the interface'). An agent can distinguish the two capture tools without opening either schema.

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

Usage Guidelines5/5

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

It names a prerequisite action and the exact tool for it ('Open the tab/app you want first with pt_ui_open (or show=True on the tool you ran)') and gives the explicit alternative for a different need ('For the logical canvas without the interface there is pt_screenshot'). This is a clear when-to-use, when-to-use-something-else routing statement.

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