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

Packet Tracer MCP — Node.js port

pt_fix_plan

Automatically fixes Packet Tracer plan errors by repairing cables, upgrading routers that lack ports, and reassigning ports from plan JSON.

Instructions

Tries to fix the plan's errors automatically. Fixes cables, upgrades routers that lack ports, reassigns ports.

Parameters:

  • plan_json: JSON of the plan to fix

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

Input Schema

NameRequiredDescriptionDefault
plan_jsonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the concrete mutation classes applied to the plan. However, it leaves open whether the original plan is modified in place or a new plan is returned, whether changes are reversible, and what "tries" means for partial failure — significant gaps for an unannotated mutating tool.

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 sentence is front-loaded and the remediation list is compact and informative. The separate "Parameters:" block is largely redundant for a single self-describing parameter but is not egregious.

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 single-parameter mutation tool with no annotations and no output schema, the description covers what it changes but not the result: no indication of what the caller receives back, whether unresolved errors are reported, or idempotency. Adequate but with clear gaps.

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

Parameters2/5

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

Schema coverage is 0% and the description's parameter note ("JSON of the plan to fix") merely restates the parameter name. It adds no information about the expected plan structure, accepted fields, or whether the plan must be pre-validated.

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?

Names a specific verb and resource ("fix the plan's errors") and enumerates concrete remediations: fixes cables, upgrades routers lacking ports, reassigns ports. It does not explicitly distinguish itself from the validate/estimate/explain siblings, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the tool addresses plan errors, which suggests running it after a validation failure, but the description never states the prerequisite (e.g., run pt_validate_plan first) or when not to use it. No alternative is named.

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