naftiko: 1.0.0-alpha2 info: label: Binance COIN-M Futures API — Account description: 'Binance COIN-M Futures API — Account. 4 operations. Lead operation: Account information. Self-contained Naftiko capability covering one Binance business surface.' tags: - Binance - Account created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BINANCE_API_KEY: BINANCE_API_KEY capability: consumes: - type: http namespace: coin-margined-futures-account baseUri: https://dapi.binance.com description: Binance COIN-M Futures API — Account business capability. Self-contained, no shared references. resources: - name: dapi-v1-account path: /dapi/v1/account operations: - name: getaccountinfo method: GET description: Account information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: dapi-v1-balance path: /dapi/v1/balance operations: - name: getbalance method: GET description: Account balance outputRawFormat: json outputParameters: - name: result type: object value: $. - name: dapi-v1-leverage path: /dapi/v1/leverage operations: - name: changeleverage method: POST description: Change initial leverage outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: leverage in: query type: integer required: true - name: dapi-v1-positionRisk path: /dapi/v1/positionRisk operations: - name: getpositionrisk method: GET description: Position information outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-MBX-APIKEY value: '{{env.BINANCE_API_KEY}}' placement: header exposes: - type: rest namespace: coin-margined-futures-account-rest port: 8080 description: REST adapter for Binance COIN-M Futures API — Account. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/dapi/v1/account name: dapi-v1-account description: REST surface for dapi-v1-account. operations: - method: GET name: getaccountinfo description: Account information call: coin-margined-futures-account.getaccountinfo outputParameters: - type: object mapping: $. - path: /v1/dapi/v1/balance name: dapi-v1-balance description: REST surface for dapi-v1-balance. operations: - method: GET name: getbalance description: Account balance call: coin-margined-futures-account.getbalance outputParameters: - type: object mapping: $. - path: /v1/dapi/v1/leverage name: dapi-v1-leverage description: REST surface for dapi-v1-leverage. operations: - method: POST name: changeleverage description: Change initial leverage call: coin-margined-futures-account.changeleverage with: leverage: rest.leverage outputParameters: - type: object mapping: $. - path: /v1/dapi/v1/positionrisk name: dapi-v1-positionrisk description: REST surface for dapi-v1-positionRisk. operations: - method: GET name: getpositionrisk description: Position information call: coin-margined-futures-account.getpositionrisk outputParameters: - type: object mapping: $. - type: mcp namespace: coin-margined-futures-account-mcp port: 9090 transport: http description: MCP adapter for Binance COIN-M Futures API — Account. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: account-information description: Account information hints: readOnly: true destructive: false idempotent: true call: coin-margined-futures-account.getaccountinfo outputParameters: - type: object mapping: $. - name: account-balance description: Account balance hints: readOnly: true destructive: false idempotent: true call: coin-margined-futures-account.getbalance outputParameters: - type: object mapping: $. - name: change-initial-leverage description: Change initial leverage hints: readOnly: false destructive: false idempotent: false call: coin-margined-futures-account.changeleverage with: leverage: tools.leverage outputParameters: - type: object mapping: $. - name: position-information description: Position information hints: readOnly: true destructive: false idempotent: true call: coin-margined-futures-account.getpositionrisk outputParameters: - type: object mapping: $.