Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

set_security_rule_disabled

Destructive

Enable or disable a security policy rule; changes are staged in the candidate configuration and require a commit to take effect.

Instructions

[MODIFIES CONFIG] Enables or disables a security policy 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_security_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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write/destructive profile is known. The description adds genuinely new behavioral context beyond that: changes are staged in candidate config and are inert until a commit is issued, which materially affects how an agent sequences calls.

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 a bracketed mutation marker and then the operation plus its commit dependency. Nothing is wasted and the most decision-relevant fact (staged, needs commit) follows immediately.

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?

No output schema exists, but the description covers what the tool does, its mutation class, and the commit requirement, while the schema fully documents the parameters. Minor gaps remain around permissions or error behavior, but nothing an agent needs to invoke it correctly is missing.

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 three parameters documented including the conditional firewall requirement, so the schema carries the burden. The description adds no parameter-level meaning beyond what the schema states; 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 gives a specific verb pair (enables/disables) and resource (security policy rule), and the resource noun itself distinguishes it from the decryption/nat/pbf/qos rule variants in the sibling list. It stops short of explicitly naming a sibling or stating the boundary, so it is clear but not maximally differentiated.

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?

There is no explicit when-to-use vs when-not guidance, but the sentence 'Staged in candidate config — requires commit to activate' implicitly routes the agent to the commit tool as a required follow-up step. That is useful workflow context, though the agent must infer it.

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