Skip to main content
Glama

vyos_delete_nat_rule

Delete a VyOS NAT rule by specifying source or destination direction and rule number, with optional save after commit.

Instructions

Delete a NAT rule.

Args: direction: "source" or "destination". rule: Rule number to delete. 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": {
      "direction": "<direction>",
      "rule": "<rule>"
    },
    "name": "vyos_delete_nat_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYes
saveNo
directionYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 full behavioral burden. It does disclose the commit model indirectly via "save: Persist after commit (default False)", which tells the agent changes are ephemeral unless saved, but it says nothing about irreversibility, error behavior for a nonexistent rule, or whether a commit is still needed afterward.

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 action is front-loaded in one short sentence and the args list is compact with no filler. The raw docstring-style formatting is functional rather than polished, but nothing is wasted.

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 do not need explaining, and all three params are covered. For a destructive, unannotated mutation tool the description is still thin on prerequisites and side effects, leaving meaningful gaps an agent would want filled.

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%, yet the description documents all three parameters: direction with its allowed values ("source" or "destination"), rule as a rule number, and save's meaning and default. This genuinely compensates for the bare schema, which offers no titles beyond the bare names and no enum for direction.

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 first sentence gives a specific verb and resource ("Delete a NAT rule"), which separates it from the add/configure siblings. It is clear, but it does not explicitly point at a sibling to use for discovery (e.g. show NAT) or note the firewall-rule counterpart.

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 when-to-use or when-not-to-use guidance, no prerequisites (must the rule exist? must it be committed?), and no reference to alternatives such as listing rules first. The agent must infer the workflow entirely from the name.

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