naftiko: 1.0.0-alpha2 info: label: Marqeta DiVA API — Loads description: 'Marqeta DiVA API — Loads. 1 operations. Lead operation: Retrieve funding load data. Self-contained Naftiko capability covering one Marqeta business surface.' tags: - Marqeta - Loads created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MARQETA_API_KEY: MARQETA_API_KEY capability: consumes: - type: http namespace: diva-loads baseUri: https://diva-api.marqeta.com/data/v2 description: Marqeta DiVA API — Loads business capability. Self-contained, no shared references. resources: - name: views-loads-time_agg path: /views/loads/{time_agg} operations: - name: getloads method: GET description: Retrieve funding load data outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.MARQETA_USER}}' password: '{{env.MARQETA_PASS}}' exposes: - type: rest namespace: diva-loads-rest port: 8080 description: REST adapter for Marqeta DiVA API — Loads. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/views/loads/{time-agg} name: views-loads-time-agg description: REST surface for views-loads-time_agg. operations: - method: GET name: getloads description: Retrieve funding load data call: diva-loads.getloads outputParameters: - type: object mapping: $. - type: mcp namespace: diva-loads-mcp port: 9090 transport: http description: MCP adapter for Marqeta DiVA API — Loads. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-funding-load-data description: Retrieve funding load data hints: readOnly: true destructive: false idempotent: true call: diva-loads.getloads outputParameters: - type: object mapping: $.