Skip to main content
Glama
Antxine

PanOS MCP Server

by Antxine

panorama_get_device_group_nat_rules

Read-only

Retrieves NAT rules from a specified device group's pre or post rulebase, enabling inspection of network address translation policies.

Instructions

[READ-ONLY] Retrieves NAT rules from a device group (pre or post rulebase). Reads config at: /config/.../device-group/entry/{pre|post}-rulebase/nat/rules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.30

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=true and destructiveHint=false, and the description repeats 'READ-ONLY'. It adds the config path, which is a useful behavioral detail about where the data is read from, but does not disclose output format, pagination, permissions, or any other side effects. With annotations covering safety, the added value is modest.

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?

The description is two sentences with no filler. The read-only marker and primary action are front-loaded, and the config path provides concrete context without redundancy. Every phrase earns its place.

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 simple read-only retrieval tool with fully documented parameters and safety annotations, the description is largely complete. It clearly states what is retrieved and from where. It does not describe the return structure, but the absence of an output schema and the straightforward nature of a NAT-rule list make this a minor gap.

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 baseline is 3. The description does not add parameter-level detail beyond the schema; it mentions 'device group' and 'pre or post' in the main text but these are already in the schema parameter descriptions. No additional semantics are provided for the optional 'firewall' parameter.

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 ('Retrieves'), a specific resource ('NAT rules'), and a specific scope ('from a device group (pre or post rulebase)'). It also provides the config path, which reinforces the exact operation. This distinguishes it from firewall-level NAT rules and other Panorama rulebase tools.

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 purpose implies when to use the tool (when you need NAT rules from a Panorama device group), but it does not explicitly name alternatives or exclusion conditions. For example, it does not say 'for firewall-level NAT rules, use get_nat_rules' or mention any prerequisites, so guidance is implied rather than explicit.

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