Skip to main content
Glama

pt_backup_config

Back up a Packet Tracer device's startup configuration and capture serial number, config-register, boot images, and uptime to 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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.5/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 does well: it enumerates the returned data (startup-config, serial number, config-register, boot images, uptime) and warns that include_xml produces tens of thousands of characters and is heavy to read. It does not explicitly state that the operation is read-only and leaves device state untouched, which is the remaining gap for a mutation-adjacent tool.

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?

Front-loaded with the core action, then return values, then usage, then parameters and an example. Every sentence carries information an agent needs, and the size warning for include_xml is the kind of detail that earns its place.

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?

An output schema exists, so return values need not be fully specified, yet the description still summarizes them usefully. Given only two parameters, no nested objects and a read-only intent, the definition is nearly complete; only the explicit non-destructive guarantee is missing.

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: device is defined as the router or switch name in PT, and include_xml is explained both in content (full XML dump of topology, config and modules) and in consequence (huge payload, useful for archiving, heavy to read). A concrete example call is included.

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 opens with a specific verb and resource: backs up a PT device's startup configuration. It then sharpens the meaning by clarifying that this is the real startup-config the device rereads on restart, not a running-config, which disambiguates what would otherwise be an ambiguous 'config' resource.

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?

It gives concrete usage contexts: save a known state before touching something, or compare two devices. That is clear when-to-use guidance. It stops short of a 5 because there are no explicit exclusions or named alternatives for when a different tool (for example a running-config read) would be more appropriate.

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