naftiko: 1.0.0-alpha2 info: label: Palo Alto Networks Autonomous DEM API — Metrics description: 'Palo Alto Networks Autonomous DEM API — Metrics. 1 operations. Lead operation: Palo Alto Networks Get Performance Metrics. Self-contained Naftiko capability covering one Palo Alto Networks business surface.' tags: - Palo Alto Networks - Metrics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PALO_ALTO_NETWORKS_API_KEY: PALO_ALTO_NETWORKS_API_KEY capability: consumes: - type: http namespace: palo-alto-autonomous-dem-metrics baseUri: https://api.sase.paloaltonetworks.com/adem/telemetry/v2 description: Palo Alto Networks Autonomous DEM API — Metrics business capability. Self-contained, no shared references. resources: - name: mt-monitor-adem-v1-metrics path: /mt/monitor/adem/v1/metrics operations: - name: getperformancemetrics method: GET description: Palo Alto Networks Get Performance Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: start_time in: query type: string description: Start of the time range in ISO 8601 format. - name: end_time in: query type: string description: End of the time range in ISO 8601 format. - name: time_range in: query type: string description: Relative time range shorthand. - name: user_id in: query type: string description: Filter metrics by user email or identifier. - name: site_name in: query type: string description: Filter metrics by site name. - name: app_id in: query type: string description: Filter metrics by application identifier. - name: metric_type in: query type: string description: Type of metrics to retrieve. - name: granularity in: query type: string description: Time granularity for metric aggregation. - name: offset in: query type: integer - name: limit in: query type: integer authentication: type: bearer token: '{{env.PALO_ALTO_NETWORKS_API_KEY}}' exposes: - type: rest namespace: palo-alto-autonomous-dem-metrics-rest port: 8080 description: REST adapter for Palo Alto Networks Autonomous DEM API — Metrics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/mt/monitor/adem/v1/metrics name: mt-monitor-adem-v1-metrics description: REST surface for mt-monitor-adem-v1-metrics. operations: - method: GET name: getperformancemetrics description: Palo Alto Networks Get Performance Metrics call: palo-alto-autonomous-dem-metrics.getperformancemetrics with: start_time: rest.start_time end_time: rest.end_time time_range: rest.time_range user_id: rest.user_id site_name: rest.site_name app_id: rest.app_id metric_type: rest.metric_type granularity: rest.granularity offset: rest.offset limit: rest.limit outputParameters: - type: object mapping: $. - type: mcp namespace: palo-alto-autonomous-dem-metrics-mcp port: 9090 transport: http description: MCP adapter for Palo Alto Networks Autonomous DEM API — Metrics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: palo-alto-networks-get-performance description: Palo Alto Networks Get Performance Metrics hints: readOnly: true destructive: false idempotent: true call: palo-alto-autonomous-dem-metrics.getperformancemetrics with: start_time: tools.start_time end_time: tools.end_time time_range: tools.time_range user_id: tools.user_id site_name: tools.site_name app_id: tools.app_id metric_type: tools.metric_type granularity: tools.granularity offset: tools.offset limit: tools.limit outputParameters: - type: object mapping: $.