Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

config_backup

Read-only

Retrieve a network device's running configuration for backup, with passwords and secrets redacted by default to reduce exposure.

Instructions

[READ] Return the device running config, credential values masked by default.

Password/secret hashes, SNMP communities, SNMPv3 auth+priv keys, IKE pre-shared keys and RADIUS/TACACS/keychain keys are replaced with ""; every other line comes back untouched, so interface, routing and policy config reads exactly as the device wrote it.

The result always carries a "redaction" block saying how many lines were changed. Redaction is pattern-based across five vendor syntaxes, so it REDUCES exposure rather than guaranteeing none remains — in particular it cannot see multi-line PKI key blocks.

Prefer the CLI's '-o ' flag over include_secrets when a human needs the real config: it writes the raw text to a file instead of into this transcript.

Args: include_secrets: True to return the verbatim config, credentials and all. Every secret in it then lives wherever this result is stored. target: Device name from config; omit to use the default device.

Input Schema

NameRequiredDescriptionDefault
targetNo
include_secretsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.7/5.0
Behavior5/5

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

Carries the full disclosure burden despite only readOnlyHint being annotated: it names exactly what is redacted, notes the 'redaction' block, and candidly flags the limits ('pattern-based across five vendor syntaxes ... cannot see multi-line PKI key blocks'). It also warns that include_secrets leaks secrets into the transcript. This is unusually rich behavioral context.

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-loaded with the [READ] tag and core purpose, then structured into behavior, caveats, and args. It is longer than strictly necessary and repeats the redaction point somewhat, but every sentence carries substantive information.

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

Completeness5/5

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

With no output schema, the description still explains the return shape (raw config plus a 'redaction' block with line counts) and covers both parameters and the safety caveats. Nothing an agent needs to invoke it correctly 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 coverage is 0%, so the description must compensate, and it does: include_secrets is defined as returning the verbatim config with an explicit data-persistence warning, and target is described as the device name with a stated default-when-omitted behavior. Both parameters are fully explained beyond the bare schema types.

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 ('Return the device running config') and adds the key modifier ('credential values masked by default'). This separates it cleanly from siblings like config_diff, config_merge, and config_replace, which manipulate rather than read the config.

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 explicit direction on the include_secrets-vs-CLI decision ('Prefer the CLI's -o <path> flag ... when a human needs the real config'), which is real guidance, not inference. It does not, however, state when to pick this over the sibling read tools (e.g., device_facts) or any exclusions, so it stops short of a full 5.

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