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

Packet Tracer MCP — Node.js port

pt_validate_plan

Validates a Cisco Packet Tracer topology plan, returning typed errors and warnings to catch design issues before auto-fix or deployment.

Instructions

Validates a topology plan. Returns typed errors and warnings.

Parameters:

  • plan_json: plan JSON (output of pt_plan_topology)

  • plan_path: instead of plan_json, a .json file with the plan (large designs)

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

Input Schema

NameRequiredDescriptionDefault
plan_jsonNo
plan_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.6/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 full burden. It does disclose that the result is typed errors and warnings, which tells the agent this is a non-mutating check, but it never states that validation has no side effects, what a 'typed' error looks like, or whether validation is against schema rules versus device constraints.

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?

Purpose is front-loaded in one sentence, followed by a compact two-item parameter list with zero filler. The layout is easy to scan, though the 'Parameters:' block could state the one-of constraint in the same breath.

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?

For a two-parameter, no-annotation, no-output-schema tool, the definition covers the essential workflow position and both inputs. The gaps are the mutual-exclusivity rule and any hint of what the typed errors contain, which matter given no output schema exists.

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%, and the description compensates well: it identifies plan_json as the output of pt_plan_topology and explains plan_path as an alternative for large designs read from a .json file. It still omits format expectations for the JSON string and does not state that the two parameters are mutually exclusive or that at least one is needed.

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 first sentence states a specific verb and resource (validate a topology plan) plus the output shape (typed errors and warnings). It does not explicitly distinguish itself from near-siblings such as pt_fix_plan or pt_estimate_plan, so an agent must infer that those do different things.

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 through the workflow hint that plan_json is 'output of pt_plan_topology', which suggests validate-after-plan. There is no explicit when-to-use or when-not-to-use statement, and no routing to pt_fix_plan for remediation or pt_explain_plan for interpretation.

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