Skip to main content
Glama

vyos_delete_firewall_rule

Delete a firewall filter rule by number, family, and hook to remove unwanted traffic filtering from a VyOS router; optionally save the change after commit.

Instructions

Delete a firewall filter rule.

Args: rule: Rule number to delete. family: "ipv4" or "ipv6". hook: "forward", "input" or "output". save: Persist after commit (default False).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rule": "<rule>"
    },
    "name": "vyos_delete_firewall_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
hookNoforward
ruleYes
saveNo
familyNoipv4

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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. It hints at the VyOS workflow with "Persist after commit", which is genuinely useful, but it never states that deletion is irreversible, whether a commit is required afterward, or what happens if the rule number does not exist. For a destructive tool with zero annotation coverage this is a significant gap.

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 a one-line purpose followed by a compact argument list; no filler. The per-parameter lines are necessary because the schema provides only titles, so the length is earned.

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?

An output schema exists, so return values needn't be explained. However, for a destructive config mutation with no annotations, the definition should say more about the commit/save semantics and irreversibility; it only gestures at them via the save parameter.

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 coverage is 0%, so the description must compensate, and it largely does: it documents all four parameters and supplies the enum values the schema omits ("ipv4"/"ipv6", "forward"/"input"/"output", default False for save). It does not clarify whether rule numbers are scoped per family/hook pair, which is the main remaining ambiguity.

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: "Delete a firewall filter rule." An agent can immediately tell this is a destructive removal of one filter rule. It does not distinguish itself from siblings such as vyos_list_firewall_rules or vyos_delete_nat_rule, but the purpose itself is unambiguous.

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 by the name and the required rule parameter, but there is no explicit when-to-use guidance, no statement of prerequisites (does a matching rule need to exist?), and no pointer to add/list siblings for verification or rollback.

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