Skip to main content
Glama

Save a Device's Configuration

save_device_configuration
Idempotent

Persist a Cisco Packet Tracer device's running-config to startup-config so changes survive reloads or power cycles; returns true when IOS confirms [OK].

Instructions

Save a Cisco device's running-config to startup-config ("write memory" / "copy run start") so it survives a reload or power cycle. Returns true when IOS reports [OK].

Examples:

  • "Save R1's config"

  • "Make sure all my changes on SW1 survive a reload"

Input Schema

NameRequiredDescriptionDefault
nameYesDevice display name as shown in Packet Tracer (e.g. 'Router0', 'PC1')

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds real value beyond that: it explains the persistence semantics (survives reload/power cycle) and the return contract (true when IOS reports [OK]). It stops short of failure modes — e.g. whether it errors on non-Cisco devices, powered-off devices, or unsupported models.

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?

Two front-loaded sentences carry the purpose, the persistence rationale, and the return value; the examples are short and each earns its place by mapping to plausible user phrasing. No filler.

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 and the description still summarizes the true/[OK] return, and the single parameter is fully documented. The remaining gap is environmental preconditions (device must be a Cisco device and presumably reachable/powered on) that an agent would need to avoid failed calls.

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 100% and the single 'name' parameter is documented in-schema as the Packet Tracer display name with examples. The description adds nothing about the parameter, so the baseline 3 applies — the schema does all the work.

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 (save), the exact resource pair (running-config to startup-config), and grounds it in the real IOS commands ("write memory" / "copy run start"). This clearly separates it from siblings like get_device_configuration, configure_device, and erase_device_configuration.

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 two examples ("Save R1's config", "Make sure all my changes on SW1 survive a reload") give concrete when-to-use context that maps well to agent intent matching. However, it never names alternatives or exclusions — notably the sibling save_network_file (saving the .pkt file) and configure_device (which makes the changes this tool persists) are not disambiguated.

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