Skip to main content
Glama

pt_diff

Compares a planned topology against Packet Tracer's live topology to report missing or extra devices and per-interface IP mismatches, helping 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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole behavioral burden. It does disclose a real operational prerequisite ('requires a connected bridge') and enumerates the three report categories (missing devices, extra devices, per-interface IP mismatches), but never states that the operation is read-only, whether comparison scope excludes things like VLANs or links, or how discrepancies are reported.

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?

Three short sentences: the core comparison first, then the reported outputs, then the prerequisite. Front-loaded with zero filler, though the final prerequisite sentence could arguably be hoisted earlier since it is a blocking condition.

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?

An output schema exists, so the description need not explain return values, and the single required parameter is accounted for. What remains thin is behavioral safety (no annotations and no explicit read-only statement) and comparison scope, which matters for a diff tool an agent might over-trust.

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% and the only field ('Plan Json') is undocumented in the schema, but the description compensates by specifying the exact provenance and format ('plan JSON from pt_plan_topology'). That is enough to construct the argument correctly without guessing; only serialization details are left implicit.

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 (compares) and two specific resources (a plan JSON from pt_plan_topology vs PT's LIVE topology), and enumerates exactly what the comparison reports. This distinguishes it clearly from pt_plan_topology, which is named as the source of the input rather than as a duplicate.

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 concrete usage context ('useful to reconcile after a deploy') and implies the prerequisite tool by naming pt_plan_topology as where plan_json comes from. It does not state when NOT to use it or what to do if the bridge is absent, but the triggering scenario is clear.

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