Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

add_qos_rule

Destructive

Creates a new QoS policy rule to classify traffic by zones, addresses, applications, and services into a QoS class. The rule is staged in the candidate configuration and requires a commit to activate.

Instructions

[MODIFIES CONFIG] Creates a new QoS 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>",
      "from_zones": "<from_zones>",
      "to_zones": "<to_zones>",
      "source": "<source>",
      "destination": "<destination>",
      "application": "<application>",
      "service": "<service>",
      "action_class": "<action_class>"
    },
    "name": "add_qos_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRule name
sourceYesSource addresses or 'any'
serviceYesServices or 'any'
disabledNoCreate rule in disabled state
firewallNoTarget firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise.
to_zonesYesDestination zones
from_zonesYesSource zones
applicationYesApplications or 'any'
descriptionNoOptional description
destinationYesDestination addresses or 'any'
action_classYesQoS class number (1-8)

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 flag this as a non-read-only, destructive config mutation, so the bar is lower; the description still adds real value by disclosing the candidate-config staging model and the dependency on 'commit' to activate. It does not say whether an uncommitted staged rule can be discarded or what happens on commit failure, but the key operational trait is surfaced.

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 a front-loaded modification tag and zero wasted wording. The most consequential fact, the staged/commit requirement, is stated 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?

For an 11-parameter mutation tool with no output schema, the description covers the crucial lifecycle behavior (candidate config + commit) that an agent needs before calling. Remaining gaps, such as multi-firewall targeting behavior, are already handled by the schema's own parameter descriptions.

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% across all 11 parameters, so field meanings are already fully documented in the schema. The description adds no additional parameter meaning such as value formats for zones/addresses or QoS class ranges, so the baseline of 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 states a specific verb and resource ('Creates a new QoS policy rule'), which is unambiguous and distinguishes it from the delete/move/set_disabled QoS siblings. It does not explicitly name alternatives, but the create action is clear on its own.

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?

Usage is implied by 'Creates a new QoS policy rule' for callers wanting to add rather than modify existing rules. The mention that the rule is staged and requires 'commit' implicitly points at the commit sibling, but no explicit when-to-use/when-not or alternative routing is provided.

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