Skip to main content
Glama
AIops-tools

io.github.AIops-tools/network-aiops

config_backup

Retrieve device running configuration with credential redaction for safe backup. Optionally include secrets when full config is required.

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

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
include_secretsNo
Behavior4/5

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

Exhaustively documents redaction scope (password hashes, SNMP keys, etc.), pattern-based detection, and the 'redaction' block in output. Discloses that it reduces rather than eliminates exposure, meeting transparency needs without annotations.

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?

Starts with a summary tag and structured explanation. Some redundancy exists (repeats redaction details), but remains readable and well-organized.

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?

Covers output content (redaction block, untouched lines), edge cases (PKI keys), and trade-offs of include_secrets. Lacks mention of error states or rate limits, but sufficient for a simple read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description fully explains both parameters: include_secrets warns about storing secrets, and target specifies the device. Adds clear usage context beyond the schema.

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 '[READ] Return the device running config' and details the redaction behavior. It clearly distinguishes from siblings like config_diff and config_replace by focusing on retrieval.

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?

Provides explicit guidance to use the CLI's '-o' flag instead of include_secrets for human readability. Also notes the redaction limitation regarding multi-line PKI keys, implying when not to rely on it fully.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIops-tools/Network-AIops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server