Skip to main content
Glama

pkt_export_configs

Extracts every device's running-config from a Cisco Packet Tracer .pkt file and writes each configuration to a separate text file in the specified output directory.

Instructions

Write every device's running-config from a .pkt file to <out_dir>/.txt.

Input Schema

NameRequiredDescriptionDefault
pathYes
out_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

B3.2/5.0
Behavior3/5

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

The single openWorldHint annotation only says the tool stays local, so the description must carry the rest. It usefully discloses the side effect (files written to disk) and the exact output naming scheme <out_dir>/<device>.txt, but says nothing about overwriting existing files, whether out_dir is created, error handling, or permissions.

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?

A single front-loaded sentence with zero filler; every clause earns its place by naming the source, the operation, and the output pattern.

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 file-writing operation with no output schema, no descriptive parameter docs, and only a weak annotation, the description is too thin. It doesn't cover overwrite behavior, directory creation, or failure modes, which an agent needs before invoking a disk-mutating export.

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% – both 'path' and 'out_dir' have bare titles and no descriptions. The sentence partially compensates by implying path is the .pkt source file and out_dir is the destination directory, but it omits path format, relative-vs-absolute handling, and whether out_dir must pre-exist.

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 names a specific verb and resource: writes every device's running-config out of a .pkt file to per-device text files. An agent can tell this is an export operation distinct from pkt_inspect or pkt_convert, though no sibling is named.

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?

There is no guidance on when to use this versus pkt_inspect, pkt_convert, or pt_save_configs, and no prerequisites or exclusions are stated. The only context is implied by the verb 'Write'.

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