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

Packet Tracer MCP — Node.js port

pt_remove_module

Removes a module from a device slot in Packet Tracer, powering the device off and back on and saving router/switch config first, so the slot is freed for another module.

Instructions

Removes the module installed in a slot (Physical tab). Powers the device off, removes it and powers it back on, like pt_add_module (routers/switches are saved first with write memory); skipped when PT reports the module as hot-swappable. The reply says whether it restarted and was saved.

  • slot: STRING, same format as pt_add_module ("0/0", "1", "0"...).

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": "<device>",
      "slot": "<slot>"
    },
    "name": "pt_remove_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes
deviceYes
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely does so: it discloses the power-off/remove/power-on cycle, that router/switch configs are saved first with 'write memory', that hot-swappable modules are skipped, and that the reply reports restart and save status. The dry_run flag's behavioral effect is not disclosed.

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 the core action, then the side-effect sequence, then parameter detail. The parenthetical and nested clauses are slightly dense but each sentence carries information.

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 an unannotated mutation tool with no output schema, the description goes further than most by explaining the restart/save cycle and what the reply contains. It falls short on the dry_run parameter, which matters for an operation that power-cycles a device.

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 coverage is 0%, so the description must compensate; it does partially by giving the slot string format and examples ('0/0', '1', '0') and cross-referencing pt_add_module. However, 'device' receives no explanation and 'dry_run' is never mentioned, leaving a mutation-affecting parameter undocumented anywhere.

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?

Names a specific verb and resource: 'Removes the module installed in a slot (Physical tab)', and explicitly ties itself to the sibling pt_add_module. It is clear what is being removed and from where, though it doesn't contrast itself against a device-level delete tool.

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 through the counterpart reference 'like pt_add_module' and the note that the operation is skipped for hot-swappable modules, but there is no explicit statement of when an agent should prefer this over alternatives such as deleting or replacing the device.

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