naftiko: 1.0.0-alpha2 info: label: Micronaut Management Endpoints API — Metrics description: 'Micronaut Management Endpoints API — Metrics. 2 operations. Lead operation: Micronaut List available metrics. Self-contained Naftiko capability covering one Micronaut business surface.' tags: - Micronaut - Metrics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICRONAUT_API_KEY: MICRONAUT_API_KEY capability: consumes: - type: http namespace: management-metrics baseUri: http://localhost:8080 description: Micronaut Management Endpoints API — Metrics business capability. Self-contained, no shared references. resources: - name: metrics path: /metrics operations: - name: listmetrics method: GET description: Micronaut List available metrics outputRawFormat: json outputParameters: - name: result type: object value: $. - name: metrics-name path: /metrics/{name} operations: - name: getmetric method: GET description: Micronaut Get metric details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: tag in: query type: array exposes: - type: rest namespace: management-metrics-rest port: 8080 description: REST adapter for Micronaut Management Endpoints API — Metrics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/metrics name: metrics description: REST surface for metrics. operations: - method: GET name: listmetrics description: Micronaut List available metrics call: management-metrics.listmetrics outputParameters: - type: object mapping: $. - path: /v1/metrics/{name} name: metrics-name description: REST surface for metrics-name. operations: - method: GET name: getmetric description: Micronaut Get metric details call: management-metrics.getmetric with: name: rest.name tag: rest.tag outputParameters: - type: object mapping: $. - type: mcp namespace: management-metrics-mcp port: 9090 transport: http description: MCP adapter for Micronaut Management Endpoints API — Metrics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: micronaut-list-available-metrics description: Micronaut List available metrics hints: readOnly: true destructive: false idempotent: true call: management-metrics.listmetrics outputParameters: - type: object mapping: $. - name: micronaut-get-metric-details description: Micronaut Get metric details hints: readOnly: true destructive: false idempotent: true call: management-metrics.getmetric with: name: tools.name tag: tools.tag outputParameters: - type: object mapping: $.