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

Packet Tracer MCP — Node.js port

pt_deploy

Deploy a topology plan to Packet Tracer by copying the script to the clipboard, exporting configuration files, and generating step-by-step setup instructions.

Instructions

Deploys a plan to Packet Tracer: copies the script to the Windows clipboard, exports the configuration files, and generates step-by-step instructions.

Usage: after pt_full_build or pt_plan_topology, pass the plan JSON here to prepare everything for Packet Tracer.

Parameters:

  • plan_json: plan JSON (output of pt_plan_topology or pt_full_build)

  • project_name: project name

  • output_dir: folder inside the MCP's working directory (PT_MCP_WORKDIR); a path that points elsewhere is reduced to a folder name there.

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": {
      "plan_json": "<plan_json>"
    },
    "name": "pt_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_jsonYes
output_dirNoprojects
project_nameNotopology

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden and does disclose meaningful side effects: it writes to the Windows clipboard, exports files to disk, and emits instructions rather than touching a live device. The most valuable disclosure is the output_dir constraint that paths outside PT_MCP_WORKDIR are silently reduced to a folder name — a real gotcha. It does not say whether existing files are overwritten, what permissions or OS assumptions are required (Windows clipboard), or what the tool returns.

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 action and its effects, then usage, then parameters — a sensible order with no filler sentences. The parameter block duplicates schema titles, but given 0% schema coverage that repetition is doing necessary work rather than wasting space.

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

Completeness3/5

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

For a three-parameter mutation tool with no annotations and no output schema, the description covers the important risk surfaces (filesystem writes, clipboard, path clamping). What it omits is the outcome: there is no output schema and no statement of what is returned, such as generated file paths or instruction text, which the agent needs to chain the next step.

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 largely does: plan_json is identified as the output of pt_plan_topology or pt_full_build, project_name as the project name, and output_dir as a folder inside PT_MCP_WORKDIR with its path-clamping behavior spelled out. The one gap is that project_name's effect (naming of exported files? folder?) is not clarified.

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?

States a specific verb and resource ('Deploys a plan to Packet Tracer') and enumerates the concrete effects: clipboard copy of the script, export of configuration files, generation of step-by-step instructions. This is far more than a restatement of the name. It does not, however, distinguish itself from the similarly-named sibling pt_live_deploy, so an agent cannot fully separate the two from the text alone.

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?

The 'Usage' line gives an explicit precondition and ordering: call after pt_full_build or pt_plan_topology and pass the resulting plan JSON. That is a clear when-to-use statement. It stops short of when-not-to-use guidance — notably it never says how this preparation step differs from pt_live_deploy, which is the most likely point of confusion.

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