Skip to main content
Glama

pt_save_configs

Writes running configurations to memory on specified or all routers and switches, preserving device settings before shutdown or reload.

Instructions

'write memory' on the given (default: all) routers/switches.

Input Schema

NameRequiredDescriptionDefault
devicesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

C2.9/5.0
Behavior2/5

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

With only openWorldHint=false in annotations, the description carries the behavioral burden. 'Write memory' implies a persistent write/save operation, but it does not explicitly say that running config is saved to startup config, whether the change is persistent across reloads, how failures are reported, or what confirmation is returned.

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 description is a single front-loaded sentence with no wasted words. Its brevity is appropriate, though the use of 'write memory' as shorthand trades clarity for concision.

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

Completeness2/5

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

For a mutation tool with sparse annotations and no output schema, the definition is under-specified. It covers the optional devices parameter and default scope, but it does not explain what save semantics mean, what happens on failure, or what the tool returns to confirm success.

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 description coverage is 0%, so the description must compensate. It does add meaning by stating the parameter is 'given (default: all) routers/switches,' which clarifies the default and target type, but it does not specify device identifier format, how null differs from an empty array, or whether names versus addresses are accepted.

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 states a specific action ('write memory') and target ('routers/switches'), and the tool name clarifies the resource is configs. It is clear enough to distinguish saving configs from sibling tools like pt_running_config or pkt_export_configs, though the CLI jargon 'write memory' is less explicit than 'save running configuration to startup configuration'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It says the action applies to the given devices or all devices by default, which gives useful scope. However, it provides no guidance on when to use this instead of alternatives such as pt_running_config, pkt_export_configs, or pt_file, and gives no prerequisites or exclusions.

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