Skip to main content
Glama

vyos_show_firewall

Display the firewall configuration tree or a selected subsection—such as IPv4, IPv6 forward filter, or groups—to inspect current rules.

Instructions

Show the firewall configuration tree (optionally a subsection).

Args: section: Optional subsection, e.g. "ipv4", "group", "ipv6 forward filter".

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_firewall"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden; the verb 'Show' and the phrase 'configuration tree' do establish this as a read-only inspection of configuration rather than operational state, which is real behavioral signal. It omits what actually comes back (tree depth, size, formatting), whether any privileges are needed, and whether the whole tree can be very large — gaps that matter for an unannotated tool.

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 purpose is front-loaded in the first clause, and the args block is short and scannable. There is minor redundancy between 'optionally a subsection' in the body and the Args entry repeating that section is optional.

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

Completeness3/5

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

For a single-parameter read tool with no output schema and no annotations, the definition covers purpose and the one argument but says nothing about the returned tree's shape or size, nor how it differs from related listing/configuration tools. Adequate to invoke, thin for interpreting results.

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?

Schema description coverage is 0%, so the description must compensate, and it does: 'section' is marked optional and illustrated with concrete VyOS hierarchical paths ('ipv4', 'group', 'ipv6 forward filter'), which tells an agent how to shape the value. It still doesn't state whether paths are case-sensitive, whether partial/prefix paths are accepted, or what happens on an invalid section.

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 uses a specific verb and resource ('Show the firewall configuration tree') that is clearly distinguishable from write siblings like vyos_add_firewall_rule or vyos_delete_firewall_rule. It does not, however, explicitly contrast itself with near-neighbours such as vyos_list_firewall_rules or the generic vyos_show_config, leaving the agent to infer the difference.

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: it reads the firewall configuration and accepts an optional subsection to narrow scope. There is no statement of when a different tool (e.g. the rules lister or generic show) would be preferable, and no prerequisites are mentioned, so an agent gets only a weak routing cue.

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