Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

panorama_move_device_group_nat_rule

Destructive

Repositions a NAT rule within a Panorama device group rulebase by moving it to the top, bottom, before, or after another rule. Changes are staged in the candidate config for later commit and push.

Instructions

[MODIFIES CONFIG] Moves a NAT rule to a new position in a Panorama device group rulebase. Staged in candidate config — requires 'panorama_commit' then 'panorama_push_to_devices' to activate.

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": {
      "device_group": "<device_group>",
      "rulebase": "<rulebase>",
      "name": "<name>",
      "where": "<where>"
    },
    "name": "panorama_move_device_group_nat_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the NAT rule to move
whereYesPosition to move the rule to
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
rulebaseYesRulebase type: 'pre' or 'post'
destinationNoReference rule name (required when 'where' is 'before' or 'after')
device_groupYesName of the device group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.39

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write semantics are known. The description adds real value beyond that: it explains the change is staged in candidate config and is not active until a commit and push are run, which an agent cannot infer from the annotations. It stops short of warning that reordering rules can change traffic behavior, which is the main destructive risk.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with a front-loaded [MODIFIES CONFIG] tag. The purpose comes first and the activation dependency second, with no filler.

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

Completeness4/5

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

For a mutating, multi-step tool with no output schema, the description covers the essential lifecycle (staged change requiring commit and push) and the scope of the operation. It omits why the tool is flagged destructive — that rule ordering affects live traffic — and offers no differentiation among the several move siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all six parameters — including the 'where' enum and the destination rule reference — are already documented in the schema. The description adds no further parameter meaning such as format examples or interactive effects of 'before'/'after' placement, so the baseline of 3 is appropriate.

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 states a specific verb and resource: 'Moves a NAT rule to a new position in a Panorama device group rulebase.' That is far more precise than the title alone. However, it never distinguishes this from sibling tools such as panorama_move_pre_rule, panorama_move_post_rule, or the non-Panorama move_nat_rule, so the agent must infer the scoping boundary.

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 description gives a post-call workflow hint (candidate config, then panorama_commit, then panorama_push_to_devices), which is genuinely useful for correct sequencing. It does not say when this tool should be chosen over the pre/post-specific move siblings, so selection guidance is only implied.

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

Deploy Server

Other Tools