Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

set_pbf_rule_disabled

Destructive

Enables or disables a Policy-Based Forwarding (PBF) rule in the staged candidate configuration; commit the change to apply it to the firewall.

Instructions

[MODIFIES CONFIG] Enables or disables a PBF rule. 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>",
      "disabled": "<disabled>"
    },
    "name": "set_pbf_rule_disabled"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRule name
disabledYestrue to disable the rule, false to enable it
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.

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 flag destructiveHint=true, and the description adds the critical nuance that the toggle only lands in candidate config and is inert until 'commit', which softens and clarifies the destructive framing. It does not mention whether the toggle is reversible by flipping 'disabled' back or whether commit publishes other staged edits.

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, front-loaded with the '[MODIFIES CONFIG]' tag and the staging caveat, with no filler or repetition.

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 three-parameter toggle with no output schema and clear annotations, the description covers what the tool does and the commit workflow. It leaves minor gaps around behavior when the named rule does not exist and what is returned after staging.

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?

With 100% schema description coverage, each of the three parameters (name, disabled, firewall) is already documented with meaning and conditional-requirement notes. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 precise verb pair ('Enables or disables') plus the exact resource ('a PBF rule'), which cleanly separates it from add_pbf_rule, delete_pbf_rule, move_pbf_rule, and the parallel set_*_rule_disabled tools for other rule types.

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 the key context that the change is staged and needs a separate 'commit' call, which directly shapes how an agent sequences calls. It stops short of stating exclusions, e.g. that deletion should go through delete_pbf_rule rather than disabling.

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