naftiko: 1.0.0-alpha2 info: label: KEDA Metrics API — Metrics description: 'KEDA Metrics API — Metrics. 1 operations. Lead operation: KEDA Get metric value. Self-contained Naftiko capability covering one Keda business surface.' tags: - Keda - Metrics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: KEDA_API_KEY: KEDA_API_KEY capability: consumes: - type: http namespace: metrics-metrics baseUri: http://{host}:{port} description: KEDA Metrics API — Metrics business capability. Self-contained, no shared references. resources: - name: metricPath path: /{metricPath} operations: - name: getmetricvalue method: GET description: KEDA Get metric value outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.KEDA_API_KEY}}' exposes: - type: rest namespace: metrics-metrics-rest port: 8080 description: REST adapter for KEDA Metrics API — Metrics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{metricpath} name: metricpath description: REST surface for metricPath. operations: - method: GET name: getmetricvalue description: KEDA Get metric value call: metrics-metrics.getmetricvalue outputParameters: - type: object mapping: $. - type: mcp namespace: metrics-metrics-mcp port: 9090 transport: http description: MCP adapter for KEDA Metrics API — Metrics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: keda-get-metric-value description: KEDA Get metric value hints: readOnly: true destructive: false idempotent: true call: metrics-metrics.getmetricvalue outputParameters: - type: object mapping: $.