naftiko: 1.0.0-alpha2 info: label: Plaid accounts/ — Plaid description: 'Plaid accounts/ — Plaid. 2 operations. Lead operation: Plaid Retrieve real-time balance data. Self-contained Naftiko capability covering one Plaid business surface.' tags: - Plaid created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PLAID_API_KEY: PLAID_API_KEY capability: consumes: - type: http namespace: accounts--plaid baseUri: https://production.plaid.com description: Plaid accounts/ — Plaid business capability. Self-contained, no shared references. resources: - name: accounts-balance-get path: /accounts/balance/get operations: - name: accountsbalanceget method: POST description: Plaid Retrieve real-time balance data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: accounts-get path: /accounts/get operations: - name: accountsget method: POST description: Plaid Retrieve accounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: accounts--plaid-rest port: 8080 description: REST adapter for Plaid accounts/ — Plaid. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/accounts/balance/get name: accounts-balance-get description: REST surface for accounts-balance-get. operations: - method: POST name: accountsbalanceget description: Plaid Retrieve real-time balance data call: accounts--plaid.accountsbalanceget with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/accounts/get name: accounts-get description: REST surface for accounts-get. operations: - method: POST name: accountsget description: Plaid Retrieve accounts call: accounts--plaid.accountsget with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: accounts--plaid-mcp port: 9090 transport: http description: MCP adapter for Plaid accounts/ — Plaid. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: plaid-retrieve-real-time-balance description: Plaid Retrieve real-time balance data hints: readOnly: true destructive: false idempotent: false call: accounts--plaid.accountsbalanceget with: body: tools.body outputParameters: - type: object mapping: $. - name: plaid-retrieve-accounts description: Plaid Retrieve accounts hints: readOnly: true destructive: false idempotent: false call: accounts--plaid.accountsget with: body: tools.body outputParameters: - type: object mapping: $.