naftiko: 1.0.0-alpha2 info: label: Azure Monitor Metric Definitions API — Metric Definitions description: 'Azure Monitor Metric Definitions API — Metric Definitions. 2 operations. Lead operation: Azure Monitor List metric definitions at subscription scope. Self-contained Naftiko capability covering one Microsoft Azure Monitor business surface.' tags: - Microsoft Azure Monitor - Metric Definitions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_MONITOR_API_KEY: MICROSOFT_AZURE_MONITOR_API_KEY capability: consumes: - type: http namespace: azure-monitor-metric-definitions-metric-definitions baseUri: https://management.azure.com description: Azure Monitor Metric Definitions API — Metric Definitions business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.Insights-metricDefinitions path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricDefinitions operations: - name: metricdefinitionslistatsubscriptionscope method: GET description: Azure Monitor List metric definitions at subscription scope outputRawFormat: json outputParameters: - name: result type: object value: $. - name: resourceUri-providers-Microsoft.Insights-metricDefinitions path: /{resourceUri}/providers/Microsoft.Insights/metricDefinitions operations: - name: metricdefinitionslist method: GET description: Azure Monitor List metric definitions for a resource outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_MONITOR_API_KEY}}' exposes: - type: rest namespace: azure-monitor-metric-definitions-metric-definitions-rest port: 8080 description: REST adapter for Azure Monitor Metric Definitions API — Metric Definitions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-insights/metricdefinitions name: subscriptions-subscriptionid-providers-microsoft-insights-metricdefinitions description: REST surface for subscriptions-subscriptionId-providers-Microsoft.Insights-metricDefinitions. operations: - method: GET name: metricdefinitionslistatsubscriptionscope description: Azure Monitor List metric definitions at subscription scope call: azure-monitor-metric-definitions-metric-definitions.metricdefinitionslistatsubscriptionscope outputParameters: - type: object mapping: $. - path: /v1/{resourceuri}/providers/microsoft-insights/metricdefinitions name: resourceuri-providers-microsoft-insights-metricdefinitions description: REST surface for resourceUri-providers-Microsoft.Insights-metricDefinitions. operations: - method: GET name: metricdefinitionslist description: Azure Monitor List metric definitions for a resource call: azure-monitor-metric-definitions-metric-definitions.metricdefinitionslist outputParameters: - type: object mapping: $. - type: mcp namespace: azure-monitor-metric-definitions-metric-definitions-mcp port: 9090 transport: http description: MCP adapter for Azure Monitor Metric Definitions API — Metric Definitions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-monitor-list-metric-definitions description: Azure Monitor List metric definitions at subscription scope hints: readOnly: true destructive: false idempotent: true call: azure-monitor-metric-definitions-metric-definitions.metricdefinitionslistatsubscriptionscope outputParameters: - type: object mapping: $. - name: azure-monitor-list-metric-definitions-2 description: Azure Monitor List metric definitions for a resource hints: readOnly: true destructive: false idempotent: true call: azure-monitor-metric-definitions-metric-definitions.metricdefinitionslist outputParameters: - type: object mapping: $.