Skip to main content
Glama

vyos_list_firewall_rules

List firewall filter rules for a specific IPv4 or IPv6 hook (forward, input, or output) to inspect active VyOS firewall configuration and verify which traffic is permitted or blocked.

Instructions

List the rules of a firewall filter hook.

Args: family: "ipv4" or "ipv6". hook: "forward", "input" or "output".

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

Input Schema

NameRequiredDescriptionDefault
hookNoforward
familyNoipv4

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/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 and discloses very little. It does not say whether rules are returned from running config or operational state, whether rule ordering/numbers are included, whether config mode is required, or how results are formatted. Only the read nature of the call is conveyed.

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 single purpose sentence, then a compact enumeration of valid parameter values with no filler. The 'Args:' block is slightly documentation-style rather than description-style but costs almost nothing in length.

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 simple two-parameter read tool with no output schema, the definition is adequate: the agent knows what it lists and what values to pass. It is incomplete on the meaning of hook direction and on the shape of the returned rule listing, which the agent would need to interpret results correctly.

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% and the schema does not carry enums, so the description is the only source of allowed values for both family ('ipv4'/'ipv6') and hook ('forward'/'input'/'output'). That is meaningful compensation for the coverage gap, though it does not explain what each hook direction means or how the defaults interact.

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: it lists rules belonging to a firewall filter hook, with the hook being the filter point. An agent can distinguish its function from vyos_add_firewall_rule or vyos_delete_firewall_rule. It stops short of naming a sibling for contrast, so it is clear but not fully differentiated.

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 explicit when-to-use guidance and no mention of alternatives such as vyos_show_firewall or vyos_add_firewall_rule. Read-only intent is only implied by the verb 'List', which leaves the agent to infer that this is the inspection path for filter rules.

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