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

Packet Tracer MCP — Node.js port

pt_plan_topology

Builds a complete Packet Tracer network topology plan from templates and parameters, defining routers, PCs, switches, VLANs, DHCP, routing, dual-stack IPv6, and WAN links.

Instructions

Generates a complete network topology plan for Packet Tracer.

Parameters:

  • routers: Number of routers (1-20)

  • pcs_per_lan: PCs per LAN

  • laptops_per_lan: Laptops per LAN (Laptop-PT)

  • switches_per_router: Switches per router (0-4)

  • servers: Number of servers

  • access_points: Number of Access Points (AccessPoint-PT), one per LAN

  • has_wan: Include a WAN connection (Cloud)

  • dhcp: Configure DHCP automatically

  • routing: Routing protocol (static, ospf, eigrp, rip, none)

  • router_model: Router model (1941, 2901, 2911, ISR4321; 2811 for CME voice)

  • switch_model: Switch model (2960-24TT, 3560-24PS)

  • template: Template (single_lan, multi_lan, multi_lan_wan, star, hub_spoke, branch_office, router_on_a_stick, three_router_triangle, custom)

  • floating_routes: If True with routing=static, adds backup routes with AD=254 over alternative paths (needs a topology with multiple paths)

  • ospf_process_id: OSPF process ID (1-65535, default 1)

  • eigrp_as: EIGRP AS number (1-65535, default 100)

  • vlans: router_on_a_stick template only. Number of VLANs to spread across the PCs (0 = default 2).

  • dual_stack: If True, adds IPv6 addressing (routers via CLI, hosts via SLAAC).

  • ipv6_base: Base IPv6 prefix for dual-stack (default "2001:db8::/32").

  • wireless_laptops: If True, laptops connect over WiFi (wireless NIC + an AP auto-associated per LAN) instead of a cable.

Returns the full plan JSON.

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

Input Schema

NameRequiredDescriptionDefault
dhcpNo
vlansNo
has_wanNo
routersNo
routingNostatic
serversNo
eigrp_asNo
templateNomulti_lan
ipv6_baseNo2001:db8::/32
dual_stackNo
pcs_per_lanNo
router_modelNo2911
switch_modelNo2960-24TT
access_pointsNo
floating_routesNo
laptops_per_lanNo
ospf_process_idNo
wireless_laptopsNo
switches_per_routerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it never states whether generation has side effects (does it write to the .pkt file or only return JSON?), whether it requires an open file, or whether the operation is repeatable. It does disclose some conditional behavior inside the parameter list (floating_routes adds AD=254 backups and needs multiple paths; dual_stack configures IPv6 via CLI for routers and SLAAC for hosts; wireless_laptops adds a wireless NIC plus auto-associated AP), which is genuinely useful, but the core safety/state profile is missing.

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?

One-sentence purpose statement front-loads the definition, followed by a scannable one-line-per-parameter list with no filler. The trailing 'Returns the full plan JSON' earns its place as the only return-value signal, though a few entries wrap onto multiple lines unnecessarily.

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 19-parameter generator with zero annotations and no output schema, the definition covers inputs well but leaves two material holes: it says only 'full plan JSON' without any hint of the plan's shape or identifiers, and it does not situate the tool in the plan/validate/apply workflow alongside its siblings. Adequate to invoke, not fully adequate to use confidently.

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 largely does: all 19 parameters are enumerated with meaning, and allowed values are spelled out for routing, router_model, switch_model and template, plus conditional scoping for vlans (router_on_a_stick only) and floating_routes. Gaps remain — pcs_per_lan, laptops_per_lan, servers and access_points have no stated bounds, and interactions between template and the per-router counts are not explained.

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 gives a specific verb and resource: it generates a complete network topology plan for Packet Tracer, which is clearly distinct from the pt_apply_* / pt_add_* mutation siblings by implication. However, it never explicitly contrasts itself with the other plan-family tools (pt_estimate_plan, pt_explain_plan, pt_validate_plan, pt_fix_plan), so the agent must infer the boundary from names alone.

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 statement of when to use this tool, when not to, or what the natural next step is (e.g. validate/estimate/apply the resulting plan). Usage is only implied by the tool name and the word 'plan'. A brief workflow sentence would have removed the ambiguity entirely.

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