naftiko: 1.0.0-alpha2 info: label: FactSet Quant Engine API — Unit description: 'FactSet Quant Engine API — Unit. 2 operations. Lead operation: Factset Get Quant Engine Calculation Metadata Information by Id. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Unit created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: quant-engine-unit baseUri: https://api.factset.com/analytics/engines/quant/v3 description: FactSet Quant Engine API — Unit business capability. Self-contained, no shared references. resources: - name: calculations-id-units-unitId-info path: /calculations/{id}/units/{unitId}/info operations: - name: getcalculationunitinfobyid method: GET description: Factset Get Quant Engine Calculation Metadata Information by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Get Quant calculation status by id endpoint required: true - name: unitId in: path type: string description: from url, provided from the location header in the Get Quant calculation status by id endpoint required: true - name: calculations-id-units-unitId-result path: /calculations/{id}/units/{unitId}/result operations: - name: getcalculationunitresultbyid method: GET description: Factset Get Quant Engine Calculation Result by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Get Quant Engine calculation status by id endpoint required: true - name: unitId in: path type: string description: from url, provided from the location header in the Get Quant Engine calculation status by id endpoint required: true authentication: type: bearer token: '{{env.FACTSET_API_KEY}}' exposes: - type: rest namespace: quant-engine-unit-rest port: 8080 description: REST adapter for FactSet Quant Engine API — Unit. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/calculations/{id}/units/{unitid}/info name: calculations-id-units-unitid-info description: REST surface for calculations-id-units-unitId-info. operations: - method: GET name: getcalculationunitinfobyid description: Factset Get Quant Engine Calculation Metadata Information by Id call: quant-engine-unit.getcalculationunitinfobyid with: id: rest.id unitId: rest.unitId outputParameters: - type: object mapping: $. - path: /v1/calculations/{id}/units/{unitid}/result name: calculations-id-units-unitid-result description: REST surface for calculations-id-units-unitId-result. operations: - method: GET name: getcalculationunitresultbyid description: Factset Get Quant Engine Calculation Result by Id call: quant-engine-unit.getcalculationunitresultbyid with: id: rest.id unitId: rest.unitId outputParameters: - type: object mapping: $. - type: mcp namespace: quant-engine-unit-mcp port: 9090 transport: http description: MCP adapter for FactSet Quant Engine API — Unit. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-get-quant-engine-calculation description: Factset Get Quant Engine Calculation Metadata Information by Id hints: readOnly: true destructive: false idempotent: true call: quant-engine-unit.getcalculationunitinfobyid with: id: tools.id unitId: tools.unitId outputParameters: - type: object mapping: $. - name: factset-get-quant-engine-calculation-2 description: Factset Get Quant Engine Calculation Result by Id hints: readOnly: true destructive: false idempotent: true call: quant-engine-unit.getcalculationunitresultbyid with: id: tools.id unitId: tools.unitId outputParameters: - type: object mapping: $.