Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

delete_qos_rule

Destructive

Deletes a named QoS rule from a firewall's PAN-OS candidate configuration; commit the change to activate it.

Instructions

[MODIFIES CONFIG] Deletes a QoS 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>"
    },
    "name": "delete_qos_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRule name to delete
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/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is covered. The description earns credit by adding non-obvious behavior beyond that: the deletion is staged rather than immediate and requires a separate commit to activate. It omits error behavior when the named rule does not exist.

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 the mutation tag and staging caveat front-loaded; every clause carries information an agent needs before invoking a delete.

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 two-parameter delete with no output schema, the description covers purpose and the staged-commit lifecycle, which is the main trap. Only failure modes (missing rule, wrong firewall) are left 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%, and the schema itself documents both 'name' and the conditional multi-firewall requirement for 'firewall'. The description adds no parameter-level meaning, so the 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?

"Deletes a QoS rule" gives a specific verb plus resource, and the verb alone separates it from add_qos_rule, move_qos_rule, set_qos_rule_disabled, and get_qos_rules. It stops short of naming a sibling as the alternative, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies the crucial workflow context: the delete is staged in candidate config and only takes effect after a commit. That implicitly routes the agent to the commit tool, though it never names it or states what happens if commit is skipped.

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