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

Packet Tracer MCP — Node.js port

pt_delete_device

Deletes a device from the active Packet Tracer topology by name and confirms its removal, keeping your network diagram accurate after reconfiguration or cleanup.

Instructions

Delete a device from the active topology in Packet Tracer. Uses getLogicalWorkspace().removeDevice() and verifies the device is gone.

Parameters:

  • device_name: exact device name (e.g. "R1", "PC3", "Laptop-WAN")

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": {
      "device_name": "<device_name>"
    },
    "name": "pt_delete_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the mechanism (getLogicalWorkspace().removeDevice()) and that deletion is verified afterward, which is real behavioral context. However, it omits critical traits for a destructive operation: whether attached links/config are removed with the device, whether it is reversible, and what happens if the name is unknown.

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 intent is front-loaded in the first sentence, with parameter notes isolated below. The implementation detail about removeDevice() is borderline filler but earns its place by signaling post-deletion verification. No redundant restatement of the tool name.

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?

For a destructive single-parameter tool with no annotations and no output schema, the definition covers purpose, mechanism, and the parameter but leaves side effects (link cascade, config loss, irreversibility) and failure behavior unexplained. An agent could invoke it, but not with full confidence about consequences.

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, and it does: it specifies that device_name must be the exact device name and gives concrete examples ("R1", "PC3", "Laptop-WAN"). This materially reduces ambiguity about naming/case expectations, though it doesn't state behavior on a near-miss name.

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 description opens with a specific verb and resource: 'Delete a device from the active topology in Packet Tracer.' This clearly separates it from siblings like pt_add_device and pt_delete_link. It stops short of naming a sibling, but the resource-level distinction is enough for an agent to pick correctly.

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 implied by 'from the active topology' and the requirement for an exact device name, but there is no explicit when-to-use guidance, no prerequisites (e.g. device must exist, effect on attached links), and no contrast with alternatives such as pt_delete_link.

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