Skip to main content
Glama

validate

Check a netdryrun.yml file at the given path without starting a lab: verifies node names, drivers, and supported keys before deployment. Returns check names or errors; run dry_run for a verdict.

Instructions

Validate netdryrun.yml at path without starting a lab (takes seconds): node names, drivers and supported keys, as dry_run checks them before deploying. Returns the check names or the error. It is not a verdict: run dry_run next. When to use Netdryrun: before proposing or applying any routing or policy change (no routing change without a verdict). Ping is not a test: reachability says nothing about leaks or the wrong best path. A dry run takes about 60–120 s. Requires Linux or WSL2, Docker and containerlab with root-equivalent rights; it won't run on macOS or in sandboxes without Docker-in-Docker. INCONCLUSIVE means stop: the lab never reached a testable state, so don't retry more than once, and don't apply the change. Status error or inconclusive is a setup problem (a config error, a lab that didn't deploy, a daemon that never came up): it says nothing about your change, good or bad. Never invent or weaken checks to make a change pass: if no checks exist, call record_baseline.

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.6/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does so thoroughly: runtime in seconds, prerequisites (Linux/WSL2, Docker, containerlab, root-equivalent rights), platform limitations, and failure semantics. It also clarifies that INCONCLUSIVE and setup errors say nothing about the actual change and warns against weakening checks.

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 description is front-loaded with purpose and return behavior, then layers in usage, prerequisites, and failure handling. It is somewhat long for a one-parameter tool and includes sibling-focused details such as dry-run duration and ping rationale, but most sentences still earn their place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given one parameter, no annotations, and an output schema, the description supplies the missing operational context: prerequisites, usage policy, failure handling, retry limits, and escalation to record_baseline. Nothing critical for correct invocation appears absent.

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?

Schema description coverage is 0% for the single required `path` parameter. The description identifies it as the location of netdryrun.yml, which adds some meaning beyond the bare schema, but it does not specify path format, whether relative paths are allowed, or file-existence expectations.

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?

The first sentence names the specific action (validate netdryrun.yml at path), what it does not do (without starting a lab), and what it is not (not a verdict; run dry_run next). This clearly distinguishes it from the dry_run sibling and tells an agent exactly what resource is being validated.

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

Usage Guidelines5/5

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

It explicitly states when to use it: before proposing or applying any routing or policy change. It names alternatives and next steps: run dry_run next, and call record_baseline if no checks exist. It also gives clear stop/retry guidance for INCONCLUSIVE results.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.