naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Metrics Advisor — AnomalyDetection description: 'Microsoft Azure Metrics Advisor — AnomalyDetection. 11 operations. Lead operation: Microsoft Azure Create Anomaly Detection Configuration. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - AnomalyDetection 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-anomalydetection baseUri: '' description: Microsoft Azure Metrics Advisor — AnomalyDetection business capability. Self-contained, no shared references. resources: - name: enrichment-anomalyDetection-configurations path: /enrichment/anomalyDetection/configurations operations: - name: microsoftazurecreateanomalydetectionconfiguration method: POST description: Microsoft Azure Create Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: string description: anomaly detection configuration required: true - name: enrichment-anomalyDetection-configurations-configurationId path: /enrichment/anomalyDetection/configurations/{configurationId} operations: - name: microsoftazuregetanomalydetectionconfiguration method: GET description: Microsoft Azure Query A Single Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: microsoftazureupdateanomalydetectionconfiguration method: PATCH description: Microsoft Azure Update Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: body in: body type: string description: anomaly detection configuration required: true - name: microsoftazuredeleteanomalydetectionconfiguration method: DELETE description: Microsoft Azure Delete Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: enrichment-anomalyDetection-configurations-configurationId-alert-anomaly-configu path: /enrichment/anomalyDetection/configurations/{configurationId}/alert/anomaly/configurations operations: - name: microsoftazuregetanomalyalertingconfigurationsbyanomalydetectionconfiguration method: GET description: Microsoft Azure List All Anomaly Alerting Configurations For Specific Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection 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: enrichment-anomalyDetection-configurations-configurationId-anomalies-dimension-q path: /enrichment/anomalyDetection/configurations/{configurationId}/anomalies/dimension/query operations: - name: microsoftazuregetdimensionofanomaliesbyanomalydetectionconfiguration method: POST description: Microsoft Azure Query Dimension Values Of Anomalies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection 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 dimension values request required: true - name: enrichment-anomalyDetection-configurations-configurationId-anomalies-query path: /enrichment/anomalyDetection/configurations/{configurationId}/anomalies/query operations: - name: microsoftazuregetanomaliesbyanomalydetectionconfiguration method: POST description: Microsoft Azure Query Anomalies Under Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection 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 detection anomaly result request required: true - name: enrichment-anomalyDetection-configurations-configurationId-incidents-query path: /enrichment/anomalyDetection/configurations/{configurationId}/incidents/query operations: - name: microsoftazuregetincidentsbyanomalydetectionconfiguration method: POST description: Microsoft Azure Query Incidents Under Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: $maxpagesize in: query type: integer description: the maximum number of items in one page - name: body in: body type: string description: query detection incident result request required: true - name: microsoftazuregetincidentsbyanomalydetectionconfigurationnextpages method: GET description: Microsoft Azure Query Incidents Under Anomaly Detection Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: $maxpagesize in: query type: integer description: the maximum number of items in one page - name: $token in: query type: string description: the token for getting the next page - name: enrichment-anomalyDetection-configurations-configurationId-incidents-incidentId- path: /enrichment/anomalyDetection/configurations/{configurationId}/incidents/{incidentId}/rootCause operations: - name: microsoftazuregetrootcauseofincidentbyanomalydetectionconfiguration method: GET description: Microsoft Azure Query Root Cause For Incident outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: incidentId in: path type: string description: incident id required: true - name: enrichment-anomalyDetection-configurations-configurationId-series-query path: /enrichment/anomalyDetection/configurations/{configurationId}/series/query operations: - name: microsoftazuregetseriesbyanomalydetectionconfiguration method: POST description: Microsoft Azure Query Series Enriched By Anomaly Detection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: configurationId in: path type: string description: anomaly detection configuration unique id required: true - name: body in: body type: string description: query series detection result request required: true exposes: - type: rest namespace: metrics-advisor-anomalydetection-rest port: 8080 description: REST adapter for Microsoft Azure Metrics Advisor — AnomalyDetection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/enrichment/anomalydetection/configurations name: enrichment-anomalydetection-configurations description: REST surface for enrichment-anomalyDetection-configurations. operations: - method: POST name: microsoftazurecreateanomalydetectionconfiguration description: Microsoft Azure Create Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazurecreateanomalydetectionconfiguration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid} name: enrichment-anomalydetection-configurations-configurationid description: REST surface for enrichment-anomalyDetection-configurations-configurationId. operations: - method: GET name: microsoftazuregetanomalydetectionconfiguration description: Microsoft Azure Query A Single Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazuregetanomalydetectionconfiguration with: configurationId: rest.configurationId outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazureupdateanomalydetectionconfiguration description: Microsoft Azure Update Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazureupdateanomalydetectionconfiguration with: configurationId: rest.configurationId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazuredeleteanomalydetectionconfiguration description: Microsoft Azure Delete Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazuredeleteanomalydetectionconfiguration with: configurationId: rest.configurationId outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid}/alert/anomaly/configurations name: enrichment-anomalydetection-configurations-configurationid-alert-anomaly-configu description: REST surface for enrichment-anomalyDetection-configurations-configurationId-alert-anomaly-configu. operations: - method: GET name: microsoftazuregetanomalyalertingconfigurationsbyanomalydetectionconfiguration description: Microsoft Azure List All Anomaly Alerting Configurations For Specific Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazuregetanomalyalertingconfigurationsbyanomalydetectionconfiguration with: configurationId: rest.configurationId $skip: rest.$skip $maxpagesize: rest.$maxpagesize outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid}/anomalies/dimension/query name: enrichment-anomalydetection-configurations-configurationid-anomalies-dimension-q description: REST surface for enrichment-anomalyDetection-configurations-configurationId-anomalies-dimension-q. operations: - method: POST name: microsoftazuregetdimensionofanomaliesbyanomalydetectionconfiguration description: Microsoft Azure Query Dimension Values Of Anomalies call: metrics-advisor-anomalydetection.microsoftazuregetdimensionofanomaliesbyanomalydetectionconfiguration with: configurationId: rest.configurationId $skip: rest.$skip $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid}/anomalies/query name: enrichment-anomalydetection-configurations-configurationid-anomalies-query description: REST surface for enrichment-anomalyDetection-configurations-configurationId-anomalies-query. operations: - method: POST name: microsoftazuregetanomaliesbyanomalydetectionconfiguration description: Microsoft Azure Query Anomalies Under Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazuregetanomaliesbyanomalydetectionconfiguration with: configurationId: rest.configurationId $skip: rest.$skip $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid}/incidents/query name: enrichment-anomalydetection-configurations-configurationid-incidents-query description: REST surface for enrichment-anomalyDetection-configurations-configurationId-incidents-query. operations: - method: POST name: microsoftazuregetincidentsbyanomalydetectionconfiguration description: Microsoft Azure Query Incidents Under Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazuregetincidentsbyanomalydetectionconfiguration with: configurationId: rest.configurationId $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - method: GET name: microsoftazuregetincidentsbyanomalydetectionconfigurationnextpages description: Microsoft Azure Query Incidents Under Anomaly Detection Configuration call: metrics-advisor-anomalydetection.microsoftazuregetincidentsbyanomalydetectionconfigurationnextpages with: configurationId: rest.configurationId $maxpagesize: rest.$maxpagesize $token: rest.$token outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid}/incidents/{incidentid}/rootcause name: enrichment-anomalydetection-configurations-configurationid-incidents-incidentid description: REST surface for enrichment-anomalyDetection-configurations-configurationId-incidents-incidentId-. operations: - method: GET name: microsoftazuregetrootcauseofincidentbyanomalydetectionconfiguration description: Microsoft Azure Query Root Cause For Incident call: metrics-advisor-anomalydetection.microsoftazuregetrootcauseofincidentbyanomalydetectionconfiguration with: configurationId: rest.configurationId incidentId: rest.incidentId outputParameters: - type: object mapping: $. - path: /v1/enrichment/anomalydetection/configurations/{configurationid}/series/query name: enrichment-anomalydetection-configurations-configurationid-series-query description: REST surface for enrichment-anomalyDetection-configurations-configurationId-series-query. operations: - method: POST name: microsoftazuregetseriesbyanomalydetectionconfiguration description: Microsoft Azure Query Series Enriched By Anomaly Detection call: metrics-advisor-anomalydetection.microsoftazuregetseriesbyanomalydetectionconfiguration with: configurationId: rest.configurationId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: metrics-advisor-anomalydetection-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Metrics Advisor — AnomalyDetection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-create-anomaly-detection description: Microsoft Azure Create Anomaly Detection Configuration hints: readOnly: false destructive: false idempotent: false call: metrics-advisor-anomalydetection.microsoftazurecreateanomalydetectionconfiguration with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-query-single-anomaly description: Microsoft Azure Query A Single Anomaly Detection Configuration hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalydetection.microsoftazuregetanomalydetectionconfiguration with: configurationId: tools.configurationId outputParameters: - type: object mapping: $. - name: microsoft-azure-update-anomaly-detection description: Microsoft Azure Update Anomaly Detection Configuration hints: readOnly: false destructive: false idempotent: true call: metrics-advisor-anomalydetection.microsoftazureupdateanomalydetectionconfiguration with: configurationId: tools.configurationId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-anomaly-detection description: Microsoft Azure Delete Anomaly Detection Configuration hints: readOnly: false destructive: true idempotent: true call: metrics-advisor-anomalydetection.microsoftazuredeleteanomalydetectionconfiguration with: configurationId: tools.configurationId outputParameters: - type: object mapping: $. - name: microsoft-azure-list-all-anomaly description: Microsoft Azure List All Anomaly Alerting Configurations For Specific Anomaly Detection Configuration hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalydetection.microsoftazuregetanomalyalertingconfigurationsbyanomalydetectionconfiguration with: configurationId: tools.configurationId $skip: tools.$skip $maxpagesize: tools.$maxpagesize outputParameters: - type: object mapping: $. - name: microsoft-azure-query-dimension-values description: Microsoft Azure Query Dimension Values Of Anomalies hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-anomalydetection.microsoftazuregetdimensionofanomaliesbyanomalydetectionconfiguration 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 Anomaly Detection Configuration hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-anomalydetection.microsoftazuregetanomaliesbyanomalydetectionconfiguration with: configurationId: tools.configurationId $skip: tools.$skip $maxpagesize: tools.$maxpagesize body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-query-incidents-under description: Microsoft Azure Query Incidents Under Anomaly Detection Configuration hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-anomalydetection.microsoftazuregetincidentsbyanomalydetectionconfiguration with: configurationId: tools.configurationId $maxpagesize: tools.$maxpagesize body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-query-incidents-under-2 description: Microsoft Azure Query Incidents Under Anomaly Detection Configuration hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalydetection.microsoftazuregetincidentsbyanomalydetectionconfigurationnextpages with: configurationId: tools.configurationId $maxpagesize: tools.$maxpagesize $token: tools.$token outputParameters: - type: object mapping: $. - name: microsoft-azure-query-root-cause description: Microsoft Azure Query Root Cause For Incident hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-anomalydetection.microsoftazuregetrootcauseofincidentbyanomalydetectionconfiguration with: configurationId: tools.configurationId incidentId: tools.incidentId outputParameters: - type: object mapping: $. - name: microsoft-azure-query-series-enriched description: Microsoft Azure Query Series Enriched By Anomaly Detection hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-anomalydetection.microsoftazuregetseriesbyanomalydetectionconfiguration with: configurationId: tools.configurationId body: tools.body outputParameters: - type: object mapping: $.