Skip to main content
Glama

check_install_content_updates

Check for and install content updates on Palo Alto firewalls to maintain current threat protection and security policies.

Instructions

Automatically Check for and Install Content Updates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'check_install_content_updates' tool. It performs a POST request to the Palo Alto API endpoint `/Device/ContentUpdates` to automatically check for and install content updates, returning the JSON response or throwing an error.
    case 'check_install_content_updates': { try { const response = await axios.post( `${API_BASE_URL}/Device/ContentUpdates`, {}, { 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:58-65 (registration)
    Registration of the 'check_install_content_updates' tool in the listTools handler, including its name, description, and empty input schema.
    { name: 'check_install_content_updates', description: 'Automatically Check for and Install Content Updates', 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