Skip to main content
Glama
PanOS MCP Server

PanOS MCP Server

by apius-tech

delete_security_rule

Destructive

Deletes a security policy rule and stages the change in the candidate configuration; commit the configuration to activate the deletion.

Instructions

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

A3.8/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 description's value lies in the added disclosure that the deletion is staged in candidate config and needs a commit to take effect. That is real behavior beyond the annotations. It does not mention whether the staged change can be discarded or what permissions are required, keeping it at 4.

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 [MODIFIES CONFIG] marker and the core action front-loaded before the commit caveat. Nothing is wasted and the staging constraint follows immediately where it is needed.

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 destructive single-object delete with a fully documented two-parameter schema and no output schema, the description covers the essential lifecycle detail (candidate config + commit). Only reversibility of the staged change is left implicit, which is a minor gap.

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 both 'name' and 'firewall' documented in the schema itself, including the conditional-requirement nuance for 'firewall'. The description adds no parameter meaning beyond that, 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?

States a specific verb and resource ('Deletes a security policy rule'), which is unambiguous and distinguishes it from sibling deletions of NAT, PBF, QoS, or decryption rules by resource type. It does not explicitly name a sibling alternative or contrast scope, so it stops short of a 5.

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?

The 'Staged in candidate config — requires commit to activate' note gives meaningful operational context for when the effect lands. However, there is no explicit guidance on when to choose this versus delete_config or the other rule-deletion siblings, so usage is only implied.

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