naftiko: 1.0.0-alpha2 info: label: Upvest Investment API — Instruments description: 'Upvest Investment API — Instruments. 2 operations. Lead operation: Upvest List instruments. Self-contained Naftiko capability covering one Upvest business surface.' tags: - Upvest - Instruments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UPVEST_API_KEY: UPVEST_API_KEY capability: consumes: - type: http namespace: investment-instruments baseUri: https://api.upvest.co description: Upvest Investment API — Instruments business capability. Self-contained, no shared references. resources: - name: instruments path: /instruments operations: - name: listinstruments method: GET description: Upvest List instruments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: isin in: query type: string description: Filter instruments by ISIN code. - name: type in: query type: string description: Filter instruments by type. - name: instruments-instrument_id path: /instruments/{instrument_id} operations: - name: retrieveinstrument method: GET description: Upvest Retrieve an instrument outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.UPVEST_API_KEY}}' exposes: - type: rest namespace: investment-instruments-rest port: 8080 description: REST adapter for Upvest Investment API — Instruments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/instruments name: instruments description: REST surface for instruments. operations: - method: GET name: listinstruments description: Upvest List instruments call: investment-instruments.listinstruments with: isin: rest.isin type: rest.type outputParameters: - type: object mapping: $. - path: /v1/instruments/{instrument-id} name: instruments-instrument-id description: REST surface for instruments-instrument_id. operations: - method: GET name: retrieveinstrument description: Upvest Retrieve an instrument call: investment-instruments.retrieveinstrument outputParameters: - type: object mapping: $. - type: mcp namespace: investment-instruments-mcp port: 9090 transport: http description: MCP adapter for Upvest Investment API — Instruments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: upvest-list-instruments description: Upvest List instruments hints: readOnly: true destructive: false idempotent: true call: investment-instruments.listinstruments with: isin: tools.isin type: tools.type outputParameters: - type: object mapping: $. - name: upvest-retrieve-instrument description: Upvest Retrieve an instrument hints: readOnly: true destructive: false idempotent: true call: investment-instruments.retrieveinstrument outputParameters: - type: object mapping: $.