naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Metrics Advisor — Metric description: 'Microsoft Azure Metrics Advisor — Metric. 5 operations. Lead operation: Microsoft Azure Get Time Series Data From Metric. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Metric 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-metric baseUri: '' description: Microsoft Azure Metrics Advisor — Metric business capability. Self-contained, no shared references. resources: - name: metrics-metricId-data-query path: /metrics/{metricId}/data/query operations: - name: microsoftazuregetmetricdata method: POST description: Microsoft Azure Get Time Series Data From Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: metricId in: path type: string description: metric unique id required: true - name: body in: body type: string description: query time series data condition required: true - name: metrics-metricId-dimension-query path: /metrics/{metricId}/dimension/query operations: - name: microsoftazuregetmetricdimension method: POST description: Microsoft Azure List Dimension From Certain Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: metricId in: path type: string description: metric 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 option required: true - name: metrics-metricId-enrichment-anomalyDetection-configurations path: /metrics/{metricId}/enrichment/anomalyDetection/configurations operations: - name: microsoftazuregetanomalydetectionconfigurationsbymetric method: GET description: Microsoft Azure List All Anomaly Detection Configurations For Specific Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: metricId in: path type: string description: metric 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: metrics-metricId-series-query path: /metrics/{metricId}/series/query operations: - name: microsoftazuregetmetricseries method: POST description: Microsoft Azure List Series Dimension Combinations From Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: metricId in: path type: string description: metric 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: filter to query series required: true - name: metrics-metricId-status-enrichment-anomalyDetection-query path: /metrics/{metricId}/status/enrichment/anomalyDetection/query operations: - name: microsoftazuregetenrichmentstatusbymetric method: POST description: Microsoft Azure Query Anomaly Detection Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: metricId in: path type: string description: metric 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 options required: true exposes: - type: rest namespace: metrics-advisor-metric-rest port: 8080 description: REST adapter for Microsoft Azure Metrics Advisor — Metric. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/metrics/{metricid}/data/query name: metrics-metricid-data-query description: REST surface for metrics-metricId-data-query. operations: - method: POST name: microsoftazuregetmetricdata description: Microsoft Azure Get Time Series Data From Metric call: metrics-advisor-metric.microsoftazuregetmetricdata with: metricId: rest.metricId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metrics/{metricid}/dimension/query name: metrics-metricid-dimension-query description: REST surface for metrics-metricId-dimension-query. operations: - method: POST name: microsoftazuregetmetricdimension description: Microsoft Azure List Dimension From Certain Metric call: metrics-advisor-metric.microsoftazuregetmetricdimension with: metricId: rest.metricId $skip: rest.$skip $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metrics/{metricid}/enrichment/anomalydetection/configurations name: metrics-metricid-enrichment-anomalydetection-configurations description: REST surface for metrics-metricId-enrichment-anomalyDetection-configurations. operations: - method: GET name: microsoftazuregetanomalydetectionconfigurationsbymetric description: Microsoft Azure List All Anomaly Detection Configurations For Specific Metric call: metrics-advisor-metric.microsoftazuregetanomalydetectionconfigurationsbymetric with: metricId: rest.metricId $skip: rest.$skip $maxpagesize: rest.$maxpagesize outputParameters: - type: object mapping: $. - path: /v1/metrics/{metricid}/series/query name: metrics-metricid-series-query description: REST surface for metrics-metricId-series-query. operations: - method: POST name: microsoftazuregetmetricseries description: Microsoft Azure List Series Dimension Combinations From Metric call: metrics-advisor-metric.microsoftazuregetmetricseries with: metricId: rest.metricId $skip: rest.$skip $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - path: /v1/metrics/{metricid}/status/enrichment/anomalydetection/query name: metrics-metricid-status-enrichment-anomalydetection-query description: REST surface for metrics-metricId-status-enrichment-anomalyDetection-query. operations: - method: POST name: microsoftazuregetenrichmentstatusbymetric description: Microsoft Azure Query Anomaly Detection Status call: metrics-advisor-metric.microsoftazuregetenrichmentstatusbymetric with: metricId: rest.metricId $skip: rest.$skip $maxpagesize: rest.$maxpagesize body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: metrics-advisor-metric-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Metrics Advisor — Metric. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-time-series description: Microsoft Azure Get Time Series Data From Metric hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-metric.microsoftazuregetmetricdata with: metricId: tools.metricId body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-list-dimension-certain description: Microsoft Azure List Dimension From Certain Metric hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-metric.microsoftazuregetmetricdimension with: metricId: tools.metricId $skip: tools.$skip $maxpagesize: tools.$maxpagesize body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-list-all-anomaly description: Microsoft Azure List All Anomaly Detection Configurations For Specific Metric hints: readOnly: true destructive: false idempotent: true call: metrics-advisor-metric.microsoftazuregetanomalydetectionconfigurationsbymetric with: metricId: tools.metricId $skip: tools.$skip $maxpagesize: tools.$maxpagesize outputParameters: - type: object mapping: $. - name: microsoft-azure-list-series-dimension description: Microsoft Azure List Series Dimension Combinations From Metric hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-metric.microsoftazuregetmetricseries with: metricId: tools.metricId $skip: tools.$skip $maxpagesize: tools.$maxpagesize body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-query-anomaly-detection description: Microsoft Azure Query Anomaly Detection Status hints: readOnly: true destructive: false idempotent: false call: metrics-advisor-metric.microsoftazuregetenrichmentstatusbymetric with: metricId: tools.metricId $skip: tools.$skip $maxpagesize: tools.$maxpagesize body: tools.body outputParameters: - type: object mapping: $.