Skip to main content
Glama
omichelbraga

PNETLab MCP Server

by omichelbraga

delete_lab

Stop a running lab session, wipe its nodes, and unbind it. Optionally delete the lab file permanently.

Instructions

Tear down a lab's running session — stops and wipes its nodes and unbinds it (PNETLab factory/destroy). By default the .unl file is KEPT on disk. Pass delete_file=true to ALSO permanently delete the .unl file from disk (irreversible). Works for labs at the workspace root or in a subfolder, and is not blocked by other running labs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lab_pathYes
delete_fileNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that nodes are stopped and wiped, the lab is unbound, and the .unl file is kept unless delete_file=true (irreversible). It also mentions it can work on running labs and is not blocked by others, providing useful behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences long, free of fluff, and front-loads the core purpose. Every sentence adds value: purpose, default behavior, parameter condition, and usage constraints.

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 the tool's simplicity (2 params, 1 required, no annotations, output schema exists), the description adequately covers the behavior, parameter effects, and usage context. It is complete for an agent to decide when and how to invoke it.

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 must compensate. It explains the lab_path parameter (works in root or subfolder) and the delete_file parameter default behavior and irreversibility. While it does not detail lab_path format, it provides sufficient meaning for both parameters.

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 description clearly states the tool tears down a lab's running session, stops, wipes nodes, and unbinds, which is a specific verb and resource. It distinguishes from sibling tools like delete_folder or delete_node by specifying it targets labs and their sessions.

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?

The description explains that the .unl file is kept by default and that passing delete_file=true permanently deletes it, guiding parameter usage. It also notes the tool works in root or subfolders and is not blocked by other labs. However, it does not explicitly state when to use this tool over alternatives like stop_lab.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omichelbraga/pnetlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server