Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

panorama_move_post_rule

Destructive

Moves a security post-rule to a new position in a Panorama device group rulebase, staging the change in candidate configuration for later commit and push.

Instructions

[MODIFIES CONFIG] Moves a security post-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>",
      "name": "<name>",
      "where": "<where>"
    },
    "name": "panorama_move_post_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the post-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')
device_groupYesName of the device group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.39

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false and destructiveHint=true; the description adds substantive context beyond that — the config-modifying nature is flagged up front and, importantly, the mutation is staged and inactive until an explicit commit/push sequence. It stops short of covering failure modes or whether the move is reversible before commit.

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 tightly written sentences with the modification warning front-loaded in brackets and the activation requirement trailing. No redundant restatement of the name or schema.

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

Completeness2/5

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

For a destructive mutation with no output schema, the definition covers the staging/activation lifecycle but omits what an agent most needs to know before acting: that the referenced rule and device_group must already exist, how multi-firewall targeting behaves when 'firewall' is omitted, and whether a failed move leaves candidate config unchanged. The annotations cover the safety profile, but these prerequisite details remain unaddressed.

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%, including the enum for 'where' and the conditional dependency of 'destination' on before/after, so the schema already carries the parameter burden. The description adds only the notion of a "new position" and does not restate or enrich the conditional logic between 'where' and 'destination'.

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 names a specific verb ("Moves") and a precisely scoped resource ("a security post-rule", "in a Panorama device group rulebase"), which cleanly separates it from siblings like panorama_move_pre_rule, panorama_move_device_group_nat_rule, and the add/delete variants. An agent can identify the operation without opening the schema.

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?

It clearly states the operational context: the change is staged in candidate config and requires panorama_commit followed by panorama_push_to_devices to take effect, which is real when/how guidance including named follow-up tools. It does not, however, state when to prefer this over other move tools or what preconditions (e.g. rule must already exist) apply.

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