naftiko: 1.0.0-alpha2 info: label: Harness Cloud Cost Management API — Recommendations description: 'Harness Cloud Cost Management API — Recommendations. 2 operations. Lead operation: List cost recommendations. Self-contained Naftiko capability covering one Harness Cloud Cost business surface.' tags: - Harness Cloud Cost - Recommendations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HARNESS_CLOUD_COST_API_KEY: HARNESS_CLOUD_COST_API_KEY capability: consumes: - type: http namespace: harness-cloud-cost-recommendations baseUri: https://app.harness.io description: Harness Cloud Cost Management API — Recommendations business capability. Self-contained, no shared references. resources: - name: ccm-api-recommendation-overview-list path: /ccm/api/recommendation/overview/list operations: - name: listrecommendations method: GET description: List cost recommendations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ccm-api-recommendation-recommendationId path: /ccm/api/recommendation/{recommendationId} operations: - name: getrecommendation method: GET description: Get a recommendation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: recommendationId in: path type: string required: true authentication: type: apikey key: x-api-key value: '{{env.HARNESS_CLOUD_COST_API_KEY}}' placement: header exposes: - type: rest namespace: harness-cloud-cost-recommendations-rest port: 8080 description: REST adapter for Harness Cloud Cost Management API — Recommendations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ccm/api/recommendation/overview/list name: ccm-api-recommendation-overview-list description: REST surface for ccm-api-recommendation-overview-list. operations: - method: GET name: listrecommendations description: List cost recommendations call: harness-cloud-cost-recommendations.listrecommendations outputParameters: - type: object mapping: $. - path: /v1/ccm/api/recommendation/{recommendationid} name: ccm-api-recommendation-recommendationid description: REST surface for ccm-api-recommendation-recommendationId. operations: - method: GET name: getrecommendation description: Get a recommendation call: harness-cloud-cost-recommendations.getrecommendation with: recommendationId: rest.recommendationId outputParameters: - type: object mapping: $. - type: mcp namespace: harness-cloud-cost-recommendations-mcp port: 9090 transport: http description: MCP adapter for Harness Cloud Cost Management API — Recommendations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-cost-recommendations description: List cost recommendations hints: readOnly: true destructive: false idempotent: true call: harness-cloud-cost-recommendations.listrecommendations outputParameters: - type: object mapping: $. - name: get-recommendation description: Get a recommendation hints: readOnly: true destructive: false idempotent: true call: harness-cloud-cost-recommendations.getrecommendation with: recommendationId: tools.recommendationId outputParameters: - type: object mapping: $.