Skip to main content
Glama
Antxine

PanOS MCP Server

by Antxine

show_sessions

Read-only

Retrieve active firewall sessions filtered by IP, port, application, or device group to diagnose issues during reproduction.

Instructions

[READ-ONLY] Active sessions on a managed firewall matching a filter (show session all filter). Useful while the user reproduces the issue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoSpecific firewall (hostname or serial). Usually omit it: the firewall is chosen from device_group, or from the user's/IP's recent traffic.
sourceNoIP address
firewallNoPanorama entry from firewalls.json. Optional when a single Panorama is configured.
applicationNo
destinationNoIP address
max_resultsNoMaximum entries returned (default: 50)
device_groupNoDevice group name (includes what it inherits from shared and parent groups), or 'shared'. When omitted, every location is searched.
destination_portNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.30

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the [READ-ONLY] prefix is somewhat redundant. The description adds context about managed-firewall scope and filter matching, but does not disclose behavior such as result limits, defaults, or what session details are returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no wasted words. The CLI reference 'show session all filter' adds a little jargon but is still informative and compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with 8 optional parameters and no output schema, the description covers the basic purpose and a typical use case. It is missing guidance on how it relates to get_active_sessions and does not describe what the returned sessions look like or how filtering interacts with device selection.

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 75%, so most parameters are already documented. The description only says 'matching a filter' without explaining which fields form the filter; undocumented parameters application and destination_port rely on their names and types for meaning.

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 clearly identifies the resource (active sessions on a managed firewall) and the operation (showing sessions matching a filter). It does not explicitly distinguish itself from the similarly named sibling get_active_sessions, but the core purpose is stated without ambiguity.

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 phrase 'Useful while the user reproduces the issue' provides some diagnostic context for when to use it. However, it does not mention alternatives, exclusions, or when to prefer the sibling get_active_sessions instead, leaving usage guidance mostly 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