Skip to main content
Glama

vyos_show_config

Retrieve a VyOS configuration tree or subtree as structured JSON for desired-state comparisons, with optional unredacted secrets. Valid-but-empty paths return configured false.

Instructions

Retrieve the VyOS configuration tree (or a subtree) as structured JSON.

Args: path: Configuration path to read (list or space-separated string). Omit or pass an empty list to return the entire configuration. include_secrets: Return credential values unredacted (default False).

A valid path that holds no configuration returns {"configured": false} rather than raising, so desired-state comparisons work on a fresh system.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vyos_show_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
include_secretsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two useful traits beyond the schema: secrets are redacted by default (include_secrets=False) and an empty but valid path returns {"configured": false} rather than raising, which matters for desired-state comparisons. It does not state permissions, whether reads are side-effect free, or the general shape/size of the returned tree.

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 one-line purpose, then compact per-argument notes, then a behavioral caveat that earns its place by preventing a spurious error on fresh systems. Minor redundancy in restating the default values already visible in the schema, but nothing bloated.

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?

No output schema exists, and the description supplies the one non-obvious return case ({"configured": false}) plus the output format (structured JSON). For a two-parameter read tool this is nearly complete; only the general structure of the config tree and any output-size considerations are left unstated.

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 description coverage is 0% and the description fully compensates: path is documented as accepting a list or space-separated string with omit/empty meaning the whole config, and include_secrets is documented with its default and the consequence of setting it (unredacted credentials). Both parameters gain meaning beyond the bare type definitions.

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?

States a specific verb and resource: 'Retrieve the VyOS configuration tree (or a subtree) as structured JSON.' The parenthetical '(or a subtree)' plus the path parameter makes the scope clear. It does not explicitly distinguish itself from sibling viewers like vyos_show_system_config or vyos_show_vpn_config, so an agent must infer that this one returns the whole tree rather than a narrowed view.

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

Usage Guidelines3/5

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

Usage is implied through the path parameter: 'Omit or pass an empty list to return the entire configuration' tells the agent how to get everything. However, there is no explicit routing advice versus the specialized siblings (vyos_show_system_config, vyos_show_vpn_config, vyos_config_exists), and no when-not-to-use guidance.

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