Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

panorama_delete_device_group_nat_rule

Destructive

Deletes a NAT rule from a Panorama device group and stages the change in the candidate config. Run commit, then push to devices, to activate the removal.

Instructions

[MODIFIES CONFIG] Deletes a NAT rule from a Panorama device group. 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>"
    },
    "name": "panorama_delete_device_group_nat_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNAT rule name to delete
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
rulebaseYesRulebase type: 'pre' or 'post'
device_groupYesName of the device group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.39

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely new behavior: the deletion is staged in candidate config and inert until a commit and push. That staging model is the key thing an agent needs to know and is not in the annotations. It does not say whether the change is reversible or how a missing rule is handled.

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 the modification tag and the resource front-loaded and the activation workflow immediately after. 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 four-parameter destructive tool with a fully documented schema and no output schema, the definition covers what the tool does and the commit/push lifecycle. Remaining gaps are minor: error behavior for a nonexistent rule and whether the firewall parameter changes targeting semantics.

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%, with all four parameters documented including the conditional firewall requirement and the pre/post enum, so the schema carries the parameter burden. The description adds no additional parameter meaning, which is the expected baseline here.

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?

States a specific verb and resource ('Deletes a NAT rule from a Panorama device group') plus a scope marker '[MODIFIES CONFIG]'. The delete verb alone distinguishes it from the add/move/get siblings without needing to name them.

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?

Gives clear operational context: the change is staged in candidate config and requires 'panorama_commit' then 'panorama_push_to_devices' to take effect, naming the two follow-up siblings explicitly. It stops short of stating when-not to use it or prerequisites such as the rule needing to exist.

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