naftiko: 1.0.0-alpha2 info: label: Citizens Bank Accounts API — Accounts description: 'Citizens Bank Accounts API — Accounts. 2 operations. Lead operation: Get customer accounts. Self-contained Naftiko capability covering one Citizens Financial business surface.' tags: - Citizens Financial - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CITIZENS_FINANCIAL_API_KEY: CITIZENS_FINANCIAL_API_KEY capability: consumes: - type: http namespace: citizens-bank-accounts-accounts baseUri: https://api.citizensbank.com description: Citizens Bank Accounts API — Accounts business capability. Self-contained, no shared references. resources: - name: accounts path: /accounts operations: - name: getaccounts method: GET description: Get customer accounts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: accounts-accountId path: /accounts/{accountId} operations: - name: getaccountbyid method: GET description: Get account details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string description: The unique account identifier required: true authentication: type: bearer token: '{{env.CITIZENS_FINANCIAL_API_KEY}}' exposes: - type: rest namespace: citizens-bank-accounts-accounts-rest port: 8080 description: REST adapter for Citizens Bank Accounts API — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts name: accounts description: REST surface for accounts. operations: - method: GET name: getaccounts description: Get customer accounts call: citizens-bank-accounts-accounts.getaccounts outputParameters: - type: object mapping: $. - path: /v1/accounts/{accountid} name: accounts-accountid description: REST surface for accounts-accountId. operations: - method: GET name: getaccountbyid description: Get account details call: citizens-bank-accounts-accounts.getaccountbyid with: accountId: rest.accountId outputParameters: - type: object mapping: $. - type: mcp namespace: citizens-bank-accounts-accounts-mcp port: 9090 transport: http description: MCP adapter for Citizens Bank Accounts API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-customer-accounts description: Get customer accounts hints: readOnly: true destructive: false idempotent: true call: citizens-bank-accounts-accounts.getaccounts outputParameters: - type: object mapping: $. - name: get-account-details description: Get account details hints: readOnly: true destructive: false idempotent: true call: citizens-bank-accounts-accounts.getaccountbyid with: accountId: tools.accountId outputParameters: - type: object mapping: $.