naftiko: 1.0.0-alpha2 info: label: Subex Revenue Assurance & Fraud Management API — Analytics description: 'Subex Revenue Assurance & Fraud Management API — Analytics. 2 operations. Lead operation: Get revenue assurance analytics summary. Self-contained Naftiko capability covering one Subex business surface.' tags: - Subex - Analytics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUBEX_API_KEY: SUBEX_API_KEY capability: consumes: - type: http namespace: revenue-assurance-analytics baseUri: https://api.subex.example.com/roc/v1 description: Subex Revenue Assurance & Fraud Management API — Analytics business capability. Self-contained, no shared references. resources: - name: analytics-summary path: /analytics/summary operations: - name: getanalyticssummary method: GET description: Get revenue assurance analytics summary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: period in: query type: string required: true - name: date in: query type: string description: Period reference date required: true - name: fraud-subscribers-msisdn-risk-score path: /fraud/subscribers/{msisdn}/risk-score operations: - name: getsubscriberriskscore method: GET description: Get subscriber risk score outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: msisdn in: path type: string description: Subscriber MSISDN (international format without +) required: true authentication: type: bearer token: '{{env.SUBEX_API_KEY}}' exposes: - type: rest namespace: revenue-assurance-analytics-rest port: 8080 description: REST adapter for Subex Revenue Assurance & Fraud Management API — Analytics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/analytics/summary name: analytics-summary description: REST surface for analytics-summary. operations: - method: GET name: getanalyticssummary description: Get revenue assurance analytics summary call: revenue-assurance-analytics.getanalyticssummary with: period: rest.period date: rest.date outputParameters: - type: object mapping: $. - path: /v1/fraud/subscribers/{msisdn}/risk-score name: fraud-subscribers-msisdn-risk-score description: REST surface for fraud-subscribers-msisdn-risk-score. operations: - method: GET name: getsubscriberriskscore description: Get subscriber risk score call: revenue-assurance-analytics.getsubscriberriskscore with: msisdn: rest.msisdn outputParameters: - type: object mapping: $. - type: mcp namespace: revenue-assurance-analytics-mcp port: 9090 transport: http description: MCP adapter for Subex Revenue Assurance & Fraud Management API — Analytics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-revenue-assurance-analytics-summary description: Get revenue assurance analytics summary hints: readOnly: true destructive: false idempotent: true call: revenue-assurance-analytics.getanalyticssummary with: period: tools.period date: tools.date outputParameters: - type: object mapping: $. - name: get-subscriber-risk-score description: Get subscriber risk score hints: readOnly: true destructive: false idempotent: true call: revenue-assurance-analytics.getsubscriberriskscore with: msisdn: tools.msisdn outputParameters: - type: object mapping: $.