naftiko: 1.0.0-alpha2 info: label: Adobe Experience Cloud Adobe Analytics 2.0 API — Calculated Metrics description: 'Adobe Experience Cloud Adobe Analytics 2.0 API — Calculated Metrics. 5 operations. Lead operation: Adobe Analytics Adobe Experience Cloud List Calculated Metrics. Self-contained Naftiko capability covering one Adobe Experience Cloud business surface.' tags: - Adobe Experience Cloud - Calculated Metrics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADOBE_EXPERIENCE_CLOUD_API_KEY: ADOBE_EXPERIENCE_CLOUD_API_KEY capability: consumes: - type: http namespace: adobe-analytics-calculated-metrics baseUri: https://analytics.adobe.io description: Adobe Experience Cloud Adobe Analytics 2.0 API — Calculated Metrics business capability. Self-contained, no shared references. resources: - name: api-companyId-calculatedmetrics path: /api/{companyId}/calculatedmetrics operations: - name: listcalculatedmetrics method: GET description: Adobe Analytics Adobe Experience Cloud List Calculated Metrics outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: companyId in: path type: string required: true - name: rsids in: query type: string description: Comma-separated report suite IDs to filter. - name: limit in: query type: integer - name: page in: query type: integer - name: createcalculatedmetric method: POST description: Adobe Analytics Adobe Experience Cloud Create a Calculated Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: companyId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-companyId-calculatedmetrics-calculatedMetricId path: /api/{companyId}/calculatedmetrics/{calculatedMetricId} operations: - name: getcalculatedmetric method: GET description: Adobe Analytics Adobe Experience Cloud Get a Calculated Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: companyId in: path type: string required: true - name: calculatedMetricId in: path type: string required: true - name: updatecalculatedmetric method: PUT description: Adobe Analytics Adobe Experience Cloud Update a Calculated Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: companyId in: path type: string required: true - name: calculatedMetricId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletecalculatedmetric method: DELETE description: Adobe Analytics Adobe Experience Cloud Delete a Calculated Metric outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: companyId in: path type: string required: true - name: calculatedMetricId in: path type: string required: true authentication: type: bearer token: '{{env.ADOBE_EXPERIENCE_CLOUD_API_KEY}}' exposes: - type: rest namespace: adobe-analytics-calculated-metrics-rest port: 8080 description: REST adapter for Adobe Experience Cloud Adobe Analytics 2.0 API — Calculated Metrics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/{companyid}/calculatedmetrics name: api-companyid-calculatedmetrics description: REST surface for api-companyId-calculatedmetrics. operations: - method: GET name: listcalculatedmetrics description: Adobe Analytics Adobe Experience Cloud List Calculated Metrics call: adobe-analytics-calculated-metrics.listcalculatedmetrics with: companyId: rest.companyId rsids: rest.rsids limit: rest.limit page: rest.page outputParameters: - type: object mapping: $. - method: POST name: createcalculatedmetric description: Adobe Analytics Adobe Experience Cloud Create a Calculated Metric call: adobe-analytics-calculated-metrics.createcalculatedmetric with: companyId: rest.companyId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/{companyid}/calculatedmetrics/{calculatedmetricid} name: api-companyid-calculatedmetrics-calculatedmetricid description: REST surface for api-companyId-calculatedmetrics-calculatedMetricId. operations: - method: GET name: getcalculatedmetric description: Adobe Analytics Adobe Experience Cloud Get a Calculated Metric call: adobe-analytics-calculated-metrics.getcalculatedmetric with: companyId: rest.companyId calculatedMetricId: rest.calculatedMetricId outputParameters: - type: object mapping: $. - method: PUT name: updatecalculatedmetric description: Adobe Analytics Adobe Experience Cloud Update a Calculated Metric call: adobe-analytics-calculated-metrics.updatecalculatedmetric with: companyId: rest.companyId calculatedMetricId: rest.calculatedMetricId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecalculatedmetric description: Adobe Analytics Adobe Experience Cloud Delete a Calculated Metric call: adobe-analytics-calculated-metrics.deletecalculatedmetric with: companyId: rest.companyId calculatedMetricId: rest.calculatedMetricId outputParameters: - type: object mapping: $. - type: mcp namespace: adobe-analytics-calculated-metrics-mcp port: 9090 transport: http description: MCP adapter for Adobe Experience Cloud Adobe Analytics 2.0 API — Calculated Metrics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: adobe-analytics-adobe-experience-cloud description: Adobe Analytics Adobe Experience Cloud List Calculated Metrics hints: readOnly: true destructive: false idempotent: true call: adobe-analytics-calculated-metrics.listcalculatedmetrics with: companyId: tools.companyId rsids: tools.rsids limit: tools.limit page: tools.page outputParameters: - type: object mapping: $. - name: adobe-analytics-adobe-experience-cloud-2 description: Adobe Analytics Adobe Experience Cloud Create a Calculated Metric hints: readOnly: false destructive: false idempotent: false call: adobe-analytics-calculated-metrics.createcalculatedmetric with: companyId: tools.companyId body: tools.body outputParameters: - type: object mapping: $. - name: adobe-analytics-adobe-experience-cloud-3 description: Adobe Analytics Adobe Experience Cloud Get a Calculated Metric hints: readOnly: true destructive: false idempotent: true call: adobe-analytics-calculated-metrics.getcalculatedmetric with: companyId: tools.companyId calculatedMetricId: tools.calculatedMetricId outputParameters: - type: object mapping: $. - name: adobe-analytics-adobe-experience-cloud-4 description: Adobe Analytics Adobe Experience Cloud Update a Calculated Metric hints: readOnly: false destructive: false idempotent: true call: adobe-analytics-calculated-metrics.updatecalculatedmetric with: companyId: tools.companyId calculatedMetricId: tools.calculatedMetricId body: tools.body outputParameters: - type: object mapping: $. - name: adobe-analytics-adobe-experience-cloud-5 description: Adobe Analytics Adobe Experience Cloud Delete a Calculated Metric hints: readOnly: false destructive: true idempotent: true call: adobe-analytics-calculated-metrics.deletecalculatedmetric with: companyId: tools.companyId calculatedMetricId: tools.calculatedMetricId outputParameters: - type: object mapping: $.