naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Metrics Advisor — AnomalyAlerting description: 'Microsoft Azure Metrics Advisor — AnomalyAlerting. 7 operations. Lead operation: Microsoft Azure Create Anomaly Alerting Configuration. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - AnomalyAlerting created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: metrics-advisor-anomalyalerting baseUri: '' description: Microsoft Azure Metrics Advisor — AnomalyAlerting business capability. Self-contained, no shared references. resources: - name: alert-anomaly-configurations path: /alert/anomaly/configurations operations: - name: microsoftazurecreateanomalyalertingconfiguration method: POST description: Microsoft Azure Create Anomaly Alerting Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: anomaly alerting configuration required: true - name: alert-anomaly-configurations-configurationId path: /alert/anomaly/configurations/{configurationId} operations: - name: microsoftazuregetanomalyalertingconfiguration method: GET description: Microsoft Azure Query A Single Anomaly Alerting Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly alerting configuration unique id required: true - name: microsoftazureupdateanomalyalertingconfiguration method: PATCH description: Microsoft Azure Update Anomaly Alerting Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly alerting configuration unique id required: true - name: body in: body type: string description: anomaly alerting configuration required: true - name: microsoftazuredeleteanomalyalertingconfiguration method: DELETE description: Microsoft Azure Delete Anomaly Alerting Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly alerting configuration unique id required: true - name: alert-anomaly-configurations-configurationId-alerts-query path: /alert/anomaly/configurations/{configurationId}/alerts/query operations: - name: microsoftazuregetalertsbyanomalyalertingconfiguration method: POST description: Microsoft Azure Query Alerts Under Anomaly Alerting Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly alerting configuration unique id required: true - name: $skip in: query type: integer description: for paging, skipped number - name: $maxpagesize in: query type: integer description: the maximum number of items in one page - name: body in: body type: string description: query alerting result request required: true - name: alert-anomaly-configurations-configurationId-alerts-alertId-anomalies path: /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies operations: - name: microsoftazuregetanomaliesfromalertbyanomalyalertingconfiguration method: GET description: Microsoft Azure Query Anomalies Under A Specific Alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly alerting configuration unique id required: true - name: alertId in: path type: string description: alert id required: true - name: $skip in: query type: integer description: for paging, skipped number - name: $maxpagesize in: query type: integer description: the maximum number of items in one page - name: alert-anomaly-configurations-configurationId-alerts-alertId-incidents path: /alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents operations: - name: microsoftazuregetincidentsfromalertbyanomalyalertingconfiguration method: GET description: Microsoft Azure Query Incidents Under A Specific Alert outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly alerting configuration unique id required: true - name: alertId in: path type: string description: alert id required: true - name: $skip in: query type: integer description: for paging, skipped number - name: $maxpagesize in: query type: integer description: the maximum number of items in one page exposes: - type: rest namespace: metrics-advisor-anomalyalerting-rest port: 8080 description: REST adapter for Microsoft Azure Metrics Advisor — AnomalyAlerting. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/alert/anomaly/configurations name: alert-anomaly-configurations description: REST surface for alert-anomaly-configurations. operations: - method: POST name: microsoftazurecreateanomalyalertingconfiguration description: Microsoft Azure Create Anomaly Alerting Configuration call: metrics-advisor-anomalyalerting.microsoftazurecreateanomalyalertingconfiguration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/alert/anomaly/configurations/{configurationid} name: alert-anomaly-configurations-configurationid description: REST surface for alert-anomaly-configurations-configurationId. operations: - method: GET name: microsoftazuregetanomalyalertingconfiguration description: Microsoft Azure Query A Single Anomaly Alerting Configuration call: metrics-advisor-anomalyalerting.microsoftazuregetanomalyalertingconfiguration with: configurationId: rest.configurationId outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazureupdateanomalyalertingconfiguration description: Microsoft Azure Update Anomaly Alerting Configuration call: metrics-advisor-anomalyalerting.microsoftazureupdateanomalyalertingconfiguration with: configurationId: rest.configurationId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazuredeleteanomalyalertingconfiguration description: Microsoft Azure Delete Anomaly Alerting Configuration call: metrics-advisor-anomalyalerting.microsoftazuredeleteanomalyalertingconfiguration with: configurationId: rest.configurationId outputParameters: - type: object mapping: $. - path: /v1/alert/anomaly/configurations/{configurationid}/alerts/query name: alert-anomaly-configurations-configurationid-alerts-query description: REST surface for alert-anomaly-configurations-configurationId-alerts-query. operations: - method: POST name: microsoftazuregetalertsbyanomalyalertingconfiguration description: Microsoft Azure Query Alerts Under Anomaly Alerting Configuration call: metrics-advisor-anomalyalerting.microsoftazuregetalertsbyanomalyalertingconfiguration with: configurationId: rest.configurationId $skip: rest.$skip $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - path: /v1/alert/anomaly/configurations/{configurationid}/alerts/{alertid}/anomalies name: alert-anomaly-configurations-configurationid-alerts-alertid-anomalies description: REST surface for alert-anomaly-configurations-configurationId-alerts-alertId-anomalies. operations: - method: GET name: microsoftazuregetanomaliesfromalertbyanomalyalertingconfiguration description: Microsoft Azure Query Anomalies Under A Specific Alert call: metrics-advisor-anomalyalerting.microsoftazuregetanomaliesfromalertbyanomalyalertingconfiguration with: configurationId: rest.configurationId alertId: rest.alertId $skip: rest.$skip $maxpagesize: rest.$maxpagesize outputParameters: - type: object mapping: $. - path: /v1/alert/anomaly/configurations/{configurationid}/alerts/{alertid}/incidents name: alert-anomaly-configurations-configurationid-alerts-alertid-incidents description: REST surface for alert-anomaly-configurations-configurationId-alerts-alertId-incidents. operations: - method: GET name: microsoftazuregetincidentsfromalertbyanomalyalertingconfiguration description: Microsoft Azure Query Incidents Under A Specific Alert call: metrics-advisor-anomalyalerting.microsoftazuregetincidentsfromalertbyanomalyalertingconfiguration with: configurationId: rest.configurationId alertId: rest.alertId $skip: rest.$skip $maxpagesize: rest.$maxpagesize outputParameters: - type: object mapping: $. - type: mcp namespace: metrics-advisor-anomalyalerting-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Metrics Advisor — AnomalyAlerting. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-create-anomaly-alerting description: Microsoft Azure Create Anomaly Alerting Configuration hints: readOnly: false destructive: false idempotent: false call: metrics-advisor-anomalyalerting.microsoftazurecreateanomalyalertingconfiguration with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-query-single-anomaly description: Microsoft Azure Query A Single Anomaly Alerting Configuration hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalyalerting.microsoftazuregetanomalyalertingconfiguration with: configurationId: tools.configurationId outputParameters: - type: object mapping: $. - name: microsoft-azure-update-anomaly-alerting description: Microsoft Azure Update Anomaly Alerting Configuration hints: readOnly: false destructive: false idempotent: true call: metrics-advisor-anomalyalerting.microsoftazureupdateanomalyalertingconfiguration with: configurationId: tools.configurationId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-anomaly-alerting description: Microsoft Azure Delete Anomaly Alerting Configuration hints: readOnly: false destructive: true idempotent: true call: metrics-advisor-anomalyalerting.microsoftazuredeleteanomalyalertingconfiguration with: configurationId: tools.configurationId outputParameters: - type: object mapping: $. - name: microsoft-azure-query-alerts-under description: Microsoft Azure Query Alerts Under Anomaly Alerting Configuration hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-anomalyalerting.microsoftazuregetalertsbyanomalyalertingconfiguration with: configurationId: tools.configurationId $skip: tools.$skip $maxpagesize: tools.$maxpagesize body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-query-anomalies-under description: Microsoft Azure Query Anomalies Under A Specific Alert hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalyalerting.microsoftazuregetanomaliesfromalertbyanomalyalertingconfiguration with: configurationId: tools.configurationId alertId: tools.alertId $skip: tools.$skip $maxpagesize: tools.$maxpagesize outputParameters: - type: object mapping: $. - name: microsoft-azure-query-incidents-under description: Microsoft Azure Query Incidents Under A Specific Alert hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalyalerting.microsoftazuregetincidentsfromalertbyanomalyalertingconfiguration with: configurationId: tools.configurationId alertId: tools.alertId $skip: tools.$skip $maxpagesize: tools.$maxpagesize outputParameters: - type: object mapping: $.