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

Packet Tracer MCP — Node.js port

pt_export

Exports a topology plan to JavaScript, CLI configuration, and JSON files so you can save and reuse Packet Tracer build artifacts in a chosen output folder.

Instructions

Exports the plan to files: JS script, CLI configs and JSON.

Parameters:

  • plan_json: plan JSON

  • 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_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_jsonYes
output_dirNoprojects
project_nameNotopology

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden. It does add genuinely useful non-schema context: output is confined to PT_MCP_WORKDIR and out-of-tree paths are 'reduced to a folder name there', which warns the agent that paths are clamped rather than honored. It omits whether existing files are overwritten, how files are named, and whether directory creation occurs.

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?

The purpose is front-loaded in a single sentence, followed by a scannable parameter block. Every line contributes, though the bare 'plan_json: plan JSON' line is a near-tautology that adds little.

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 file-writing tool with no annotations and no output schema, the definition covers the parameter set but not the side effects. An agent still cannot tell what files appear on disk, whether prior exports are clobbered, or what the call returns. The clamps on output_dir are the one piece of real behavioral context supplied.

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 does document all three parameters in a compact list. The output_dir entry goes beyond the schema by explaining the path-clamping behavior and the PT_MCP_WORKDIR boundary. plan_json and project_name are described only by name restatement, leaving their expected format or effect implicit.

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 description gives a specific verb ('Exports') and names the concrete artifacts produced: JS script, CLI configs, and JSON. An agent immediately knows the tool writes files from a plan. It does not however distinguish itself from the sibling pt_export_topology, so the differentiation is left unresolved.

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

Usage Guidelines2/5

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

There is no explicit when-to-use statement, no prerequisites, and no named alternative. A reader must infer from the artifact list that this is a post-build export step. The sibling pt_export_topology is never acknowledged, so an agent has no basis for choosing between them from this text.

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