naftiko: 1.0.0-alpha2 info: label: CMS Blue Button 2.0 API — Coverage description: 'CMS Blue Button 2.0 API — Coverage. 2 operations. Lead operation: Search Coverage. Self-contained Naftiko capability covering one Centers For Medicare And Medicaid Services business surface.' tags: - Centers For Medicare And Medicaid Services - Coverage created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CENTERS_FOR_MEDICARE_AND_MEDICAID_SERVICES_API_KEY: CENTERS_FOR_MEDICARE_AND_MEDICAID_SERVICES_API_KEY capability: consumes: - type: http namespace: cms-blue-button-2-coverage baseUri: https://api.bluebutton.cms.gov/v2/fhir description: CMS Blue Button 2.0 API — Coverage business capability. Self-contained, no shared references. resources: - name: Coverage path: /Coverage operations: - name: searchcoverage method: GET description: Search Coverage outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: beneficiary in: query type: string description: Beneficiary patient reference. - name: Coverage-id path: /Coverage/{id} operations: - name: readcoverage method: GET description: Read Coverage outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: FHIR Coverage resource ID. required: true authentication: type: bearer token: '{{env.CENTERS_FOR_MEDICARE_AND_MEDICAID_SERVICES_API_KEY}}' exposes: - type: rest namespace: cms-blue-button-2-coverage-rest port: 8080 description: REST adapter for CMS Blue Button 2.0 API — Coverage. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/coverage name: coverage description: REST surface for Coverage. operations: - method: GET name: searchcoverage description: Search Coverage call: cms-blue-button-2-coverage.searchcoverage with: beneficiary: rest.beneficiary outputParameters: - type: object mapping: $. - path: /v1/coverage/{id} name: coverage-id description: REST surface for Coverage-id. operations: - method: GET name: readcoverage description: Read Coverage call: cms-blue-button-2-coverage.readcoverage with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: cms-blue-button-2-coverage-mcp port: 9090 transport: http description: MCP adapter for CMS Blue Button 2.0 API — Coverage. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-coverage description: Search Coverage hints: readOnly: true destructive: false idempotent: true call: cms-blue-button-2-coverage.searchcoverage with: beneficiary: tools.beneficiary outputParameters: - type: object mapping: $. - name: read-coverage description: Read Coverage hints: readOnly: true destructive: false idempotent: true call: cms-blue-button-2-coverage.readcoverage with: id: tools.id outputParameters: - type: object mapping: $.