Skip to main content
Glama

vyos_configure_firewall_group

Creates or extends VyOS firewall groups for addresses, networks, ports, interfaces, MACs, or domains, adding members and optional descriptions to organize rules.

Instructions

Create or extend a firewall group (address/network/port/interface/...).

Args: group_type: One of address-group, network-group, port-group, interface-group, mac-group, domain-group, ipv6-address-group, ipv6-network-group. name: Group name. members: List of members (addresses, networks, ports or interface names) added to the group. description: Optional group description. 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": {
      "group_type": "<group_type>",
      "name": "<name>",
      "members": "<members>"
    },
    "name": "vyos_configure_firewall_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
saveNo
membersYes
group_typeYes
descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

With no annotations, the description carries the full burden. It discloses that the operation creates or extends a group, that members are added, and that save persists after commit with a default of False. However, it lacks details on permissions, commit semantics, duplicate handling, and whether extending a group replaces or merges members.

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 definition is front-loaded with purpose and then uses a clear Args block. It is slightly verbose and the parenthetical 'address/network/port/interface/...' is a bit loose, but every sentence contributes useful information.

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?

The output schema covers return values, and the description adequately documents the parameters for a five-parameter mutation tool. Still, with no annotations, it should provide more behavioral context around commit behavior and usage relative to sibling configuration tools.

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: it explains all five parameters, lists allowed group_type values, describes members as addresses/networks/ports/interfaces, and specifies the save default. It could still clarify member formatting per group type, but overall it adds substantial meaning.

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 states a specific verb and resource: 'Create or extend a firewall group.' It enumerates group types, which clearly distinguishes this from sibling tools dealing with firewall rules or other configuration objects.

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?

The 'Create or extend' phrasing implies when the tool is useful, but the description provides no explicit guidance about alternatives such as vyos_add_firewall_rule or vyos_configure_batch. It also omits any 'when not to use' conditions.

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