Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

move_nat_rule

Destructive

Moves a NAT policy rule to a specified position in the rulebase to control evaluation priority; changes are staged in candidate configuration and require a commit.

Instructions

[MODIFIES CONFIG] Moves a NAT policy rule to a new position in the rulebase. Rule order determines evaluation priority. Staged in candidate config — requires 'commit' 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": {
      "name": "<name>",
      "where": "<where>"
    },
    "name": "move_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.
destinationNoReference rule name (required when 'where' is 'before' or 'after')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.39

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false and destructiveHint=true, and the description reinforces this with '[MODIFIES CONFIG]', the candidate-config staging model, and the commit prerequisite — genuinely useful context not present in structured fields. However, it does not explain the side effects that justify destructiveHint=true, such as how the moved rule's displacement shifts the positions and therefore the shadowing behavior of the intervening rules.

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?

Three short sentences with zero filler: the mutation flag and action come first, the consequence second, the activation requirement last. Every sentence carries information an agent needs before invoking.

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 four-parameter staged-config mutation, the definition covers the action, the ordering semantics, and the commit requirement, and the schema fills in parameter details. The only gap is that it never says what the call returns or what happens to the rule's neighbours when it is relocated.

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 the schema already documents all four parameters including the conditional dependency between 'destination' and 'where'. The description adds no additional meaning about these parameters, so the baseline 3 applies.

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 policy rule to a new position in the rulebase' — which clearly separates it from add_nat_rule, delete_nat_rule, and the move_*_rule family for other rule types. It stops short of naming any sibling or scope alternative (e.g. panorama_move_device_group_nat_rule), so differentiation relies on the agent reading the resource name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Rule order determines evaluation priority' explains the context in which moving is the right operation, and 'requires commit to activate' gives the follow-up step. There is no explicit when-not guidance or pointer to an alternative tool, which keeps it below a 5.

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