naftiko: 1.0.0-alpha2 info: label: Factset Tick History — Level2 description: 'Factset Tick History — Level2. 3 operations. Lead operation: Factset Returns the ID for the requested data.. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Level2 created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: tick-history-level2 baseUri: https://api.factset.com/tick-history/v2 description: Factset Tick History — Level2 business capability. Self-contained, no shared references. resources: - name: level2-files-create path: /level2/files/create operations: - name: requesttickhistoryleve2files method: POST description: Factset Returns the ID for the requested data. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: level2-files-get path: /level2/files/get operations: - name: gettickhistorylevel2files method: GET description: Factset Returns the tick history files requested in the /create endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. - name: level2-files-status path: /level2/files/status operations: - name: getlevel2filestatus method: GET description: Factset Returns the status of the ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.FACTSET_API_KEY}}' exposes: - type: rest namespace: tick-history-level2-rest port: 8080 description: REST adapter for Factset Tick History — Level2. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/level2/files/create name: level2-files-create description: REST surface for level2-files-create. operations: - method: POST name: requesttickhistoryleve2files description: Factset Returns the ID for the requested data. call: tick-history-level2.requesttickhistoryleve2files with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/level2/files/get name: level2-files-get description: REST surface for level2-files-get. operations: - method: GET name: gettickhistorylevel2files description: Factset Returns the tick history files requested in the /create endpoint call: tick-history-level2.gettickhistorylevel2files outputParameters: - type: object mapping: $. - path: /v1/level2/files/status name: level2-files-status description: REST surface for level2-files-status. operations: - method: GET name: getlevel2filestatus description: Factset Returns the status of the ID call: tick-history-level2.getlevel2filestatus outputParameters: - type: object mapping: $. - type: mcp namespace: tick-history-level2-mcp port: 9090 transport: http description: MCP adapter for Factset Tick History — Level2. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-returns-id-requested-data description: Factset Returns the ID for the requested data. hints: readOnly: false destructive: false idempotent: false call: tick-history-level2.requesttickhistoryleve2files with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-returns-tick-history-files description: Factset Returns the tick history files requested in the /create endpoint hints: readOnly: true destructive: false idempotent: true call: tick-history-level2.gettickhistorylevel2files outputParameters: - type: object mapping: $. - name: factset-returns-status-id description: Factset Returns the status of the ID hints: readOnly: true destructive: false idempotent: true call: tick-history-level2.getlevel2filestatus outputParameters: - type: object mapping: $.