Skip to main content
Glama

pt_validate_plan

Validates a Packet Tracer topology plan and returns typed errors and warnings before deployment, helping catch design problems early using plan JSON or a saved plan file.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the safety profile, and it does not say whether validation is purely read-only or has side effects, nor what kinds of typed errors exist. It does disclose the return character (errors plus warnings), which is useful context beyond metadata, but key behavioral facts remain unstated.

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-loaded with purpose, then a compact parameter list; every line adds information with no filler. Slightly terse given the missing usage and safety context.

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?

Since an output schema exists, the description needn't detail return values, and both parameters are explained. Missing are the call-decision context (when to validate vs fix vs estimate) and any statement of side-effect/auth behavior, which matters for a tool with no annotations.

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 carries the full burden and does it well: it identifies plan_json as the output of pt_plan_topology and plan_path as the alternative for large designs. Gaps remain on which parameter is required when neither is given and precedence if both are supplied.

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?

States a specific verb and resource ('Validates a topology plan') and adds the output contract ('returns typed errors and warnings'). It is distinguishable from the sibling that produces the plan (pt_plan_topology, named as the source of plan_json), though it doesn't explicitly differentiate validation from estimate/fix.

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: plan_json comes from pt_plan_topology and plan_path is an alternative 'instead of plan_json', which conveys mutual exclusivity. There is no explicit statement of when to validate (e.g., before estimating or applying) or when pt_fix_plan would be the better call.

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