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

Packet Tracer MCP — Node.js port

pt_backup_config

Backs up a Packet Tracer device's real startup configuration and returns serial, config-register, boot images, and uptime, so you can save a known state before changes or compare devices.

Instructions

Backs up a PT device's startup configuration.

Returns the real startup-config (the one the device rereads on restart), plus its serial number, config-register, boot images and uptime. Use it to save a known state before touching something, or to compare two devices.

Parameters:

  • device: name of the router or switch in PT.

  • include_xml: if True, adds the device's full XML dump (topology + config + modules). It is tens of thousands of characters: useful for archiving, heavy to read.

Example: pt_backup_config(device="R1")

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>"
    },
    "name": "pt_backup_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYes
include_xmlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses what is returned, clarifies that include_xml adds a very large full XML dump useful for archiving but heavy to read, and implies a read-only backup operation. It stops short of explicitly stating that nothing on the device is modified or listing any permission requirements.

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-loads the core purpose and return contents, then documents parameters and gives an example. The structure is clear and useful, though the parenthetical explanation and example add some length beyond the minimum required.

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

Completeness4/5

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

For a two-parameter backup tool with no annotations and no output schema, the description covers the return payload well and fully documents both parameters. It could be more complete by explicitly confirming that the operation is read-only and does not alter device state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 explains that device is the router or switch name in PT and that include_xml optionally adds a full XML dump of tens of thousands of characters, including the tradeoff between archiving value and readability.

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?

States a specific verb and resource: backing up a PT device's startup configuration. The added detail that it returns the device's real startup-config with serial, config-register, boot images, and uptime makes the purpose precise enough to distinguish it from general device-inspection siblings.

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?

Gives clear when-to-use guidance: save a known state before making changes, or compare two devices. It does not state when not to use it or name an alternative, so it falls short of a 5, but the context is specific and actionable.

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