naftiko: 1.0.0-alpha2 info: label: Harness Cloud Cost Management API — Anomalies description: 'Harness Cloud Cost Management API — Anomalies. 2 operations. Lead operation: List anomalies. Self-contained Naftiko capability covering one Harness Cloud Cost business surface.' tags: - Harness Cloud Cost - Anomalies 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-anomalies baseUri: https://app.harness.io description: Harness Cloud Cost Management API — Anomalies business capability. Self-contained, no shared references. resources: - name: ccm-api-anomaly path: /ccm/api/anomaly operations: - name: listanomalies method: GET description: List anomalies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ccm-api-anomaly-anomalyId path: /ccm/api/anomaly/{anomalyId} operations: - name: getanomaly method: GET description: Get an anomaly outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: anomalyId 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-anomalies-rest port: 8080 description: REST adapter for Harness Cloud Cost Management API — Anomalies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ccm/api/anomaly name: ccm-api-anomaly description: REST surface for ccm-api-anomaly. operations: - method: GET name: listanomalies description: List anomalies call: harness-cloud-cost-anomalies.listanomalies outputParameters: - type: object mapping: $. - path: /v1/ccm/api/anomaly/{anomalyid} name: ccm-api-anomaly-anomalyid description: REST surface for ccm-api-anomaly-anomalyId. operations: - method: GET name: getanomaly description: Get an anomaly call: harness-cloud-cost-anomalies.getanomaly with: anomalyId: rest.anomalyId outputParameters: - type: object mapping: $. - type: mcp namespace: harness-cloud-cost-anomalies-mcp port: 9090 transport: http description: MCP adapter for Harness Cloud Cost Management API — Anomalies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-anomalies description: List anomalies hints: readOnly: true destructive: false idempotent: true call: harness-cloud-cost-anomalies.listanomalies outputParameters: - type: object mapping: $. - name: get-anomaly description: Get an anomaly hints: readOnly: true destructive: false idempotent: true call: harness-cloud-cost-anomalies.getanomaly with: anomalyId: tools.anomalyId outputParameters: - type: object mapping: $.