Skip to main content
Glama

upgrade_firewall

Upgrade Palo Alto firewall PAN-OS version to maintain security compliance and access new features through automated system updates.

Instructions

Upgrade the Palo Alto firewall to the latest PAN-OS version

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'upgrade_firewall' tool that performs a POST request to /Device/Upgrade endpoint to upgrade the firewall.
    case 'upgrade_firewall': { try { const response = await axios.post( `${API_BASE_URL}/Device/Upgrade`, {}, { headers: { 'X-PAN-KEY': API_KEY, 'Accept': 'application/json' } } ); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; } catch (error) { const axiosError = error as AxiosError; throw new McpError( ErrorCode.InternalError, `Palo Alto API error: ${axiosError.message}` ); } }
  • src/index.ts:42-49 (registration)
    Registration of the 'upgrade_firewall' tool in the list of tools returned by ListToolsRequest, including its schema.
    { name: 'upgrade_firewall', description: 'Upgrade the Palo Alto firewall to the latest PAN-OS version', inputSchema: { type: 'object', properties: {}, }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/paloalto-device-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server