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

Packet Tracer MCP — Node.js port

pt_diff

Compares a planned topology against a live Packet Tracer deployment, reporting missing or extra devices and per-interface IP mismatches so you can reconcile after deployment.

Instructions

Compares a plan (JSON from pt_plan_topology) against PT's LIVE topology.

Reports: plan devices missing from PT, extra devices in PT, and per-interface IP mismatches. Useful to reconcile after a deploy. Requires a connected bridge.

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

Input Schema

NameRequiredDescriptionDefault
plan_jsonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses the connection precondition and the categories of output, implying a non-destructive read, but never explicitly states that it is read-only, that it makes no changes to the live topology, or what happens when the bridge is disconnected or the plan JSON is malformed.

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-loads the core comparison in the first sentence, then the report contents, use case, and precondition in descending priority. Every sentence carries information; only the line-broken formatting is slightly loose.

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?

With one parameter, no output schema, and no annotations, the description does the important work: it enumerates what the diff reports, which partially substitutes for the absent output schema, and names the prerequisite. Gaps remain around return format and failure behavior when the bridge is not connected.

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?

The single parameter has 0% schema description coverage, so the description must compensate. It usefully identifies plan_json as coming from pt_plan_topology, telling the agent where to obtain it, but does not state the expected JSON shape, whether a string-encoded blob is required versus a path, or what a valid plan minimally contains.

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?

States a specific verb and resource ("Compares a plan ... against PT's LIVE topology") and immediately names the source artifact (JSON from pt_plan_topology), which separates it from the apply/add sibling tools. The three reported diff categories (missing devices, extra devices, per-interface IP mismatches) pin down the operation precisely.

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?

Gives a clear use context ("Useful to reconcile after a deploy") plus a hard prerequisite ("Requires a connected bridge"), which is exactly what an agent needs before selecting it. It stops short of naming an alternative or stating when not to use it, e.g. before a deploy or when the plan has not yet been applied.

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