naftiko: 1.0.0-alpha2 info: label: FactSet Benchmarks API — Factset description: 'FactSet Benchmarks API — Factset. 12 operations. Lead operation: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value.. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: benchmarks-factset baseUri: https://api.factset.com/content description: FactSet Benchmarks API — Factset business capability. Self-contained, no shared references. resources: - name: factset-benchmarks-v1-constituents path: /factset-benchmarks/v1/constituents operations: - name: getbenchmarkconstituents method: GET description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getbenchmarkconstituentsforlist method: POST description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: factset-benchmarks-v1-fixed-income-constituents path: /factset-benchmarks/v1/fixed-income-constituents operations: - name: getfibenchmarkconstituents method: GET description: Factset Returns the Requested Fixed Income Benchmark Constituents and Respective Weights, Price and Market Value. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getfibenchmarkconstituentsforlist method: POST description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: factset-benchmarks-v1-id-list path: /factset-benchmarks/v1/id-list operations: - name: getbenchmarkids method: GET description: Factset Returns a Sample List of Benchmark Identifiers and the Benchmark Categorization to Use in Other Benchmark Api Endpoints. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getbenchmarkidsforlist method: POST description: Factset Returns a Sample List of Benchmark Identifiers and the Benchmark Categorization to Use in Other Benchmark Api Endpoints. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: factset-benchmarks-v1-index-history path: /factset-benchmarks/v1/index-history operations: - name: getindexhistory method: GET description: Factset Retrieves Index Level Prices and Returns Information for a List of Identifiers and Historical Date Range. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getindexhistoryforlist method: POST description: Factset Retrieves Index Level Prices and Returns Information for a List of Identifiers and Historical Date Range. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: factset-benchmarks-v1-index-snapshot path: /factset-benchmarks/v1/index-snapshot operations: - name: getindexsnapshot method: GET description: Factset Index Level Prices, Returns, and Related Information as of a Single Date. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getindexsnapshotforlist method: POST description: Factset Retrieves the Index Level Snapshot of Prices and Returns Information for a Given Identifier and Single Date. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: factset-benchmarks-v1-ratios path: /factset-benchmarks/v1/ratios operations: - name: getbenchmarkratios method: GET description: Factset Returns the Aggregated Ratios of a Requested Benchmark outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getbenchmarkratiosforlist method: POST description: Factset Returns the Aggregated Ratios of a Requested Benchmark outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.FACTSET_USER}}' password: '{{env.FACTSET_PASS}}' exposes: - type: rest namespace: benchmarks-factset-rest port: 8080 description: REST adapter for FactSet Benchmarks API — Factset. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/factset-benchmarks/v1/constituents name: factset-benchmarks-v1-constituents description: REST surface for factset-benchmarks-v1-constituents. operations: - method: GET name: getbenchmarkconstituents description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. call: benchmarks-factset.getbenchmarkconstituents outputParameters: - type: object mapping: $. - method: POST name: getbenchmarkconstituentsforlist description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. call: benchmarks-factset.getbenchmarkconstituentsforlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/factset-benchmarks/v1/fixed-income-constituents name: factset-benchmarks-v1-fixed-income-constituents description: REST surface for factset-benchmarks-v1-fixed-income-constituents. operations: - method: GET name: getfibenchmarkconstituents description: Factset Returns the Requested Fixed Income Benchmark Constituents and Respective Weights, Price and Market Value. call: benchmarks-factset.getfibenchmarkconstituents outputParameters: - type: object mapping: $. - method: POST name: getfibenchmarkconstituentsforlist description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. call: benchmarks-factset.getfibenchmarkconstituentsforlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/factset-benchmarks/v1/id-list name: factset-benchmarks-v1-id-list description: REST surface for factset-benchmarks-v1-id-list. operations: - method: GET name: getbenchmarkids description: Factset Returns a Sample List of Benchmark Identifiers and the Benchmark Categorization to Use in Other Benchmark Api Endpoints. call: benchmarks-factset.getbenchmarkids outputParameters: - type: object mapping: $. - method: POST name: getbenchmarkidsforlist description: Factset Returns a Sample List of Benchmark Identifiers and the Benchmark Categorization to Use in Other Benchmark Api Endpoints. call: benchmarks-factset.getbenchmarkidsforlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/factset-benchmarks/v1/index-history name: factset-benchmarks-v1-index-history description: REST surface for factset-benchmarks-v1-index-history. operations: - method: GET name: getindexhistory description: Factset Retrieves Index Level Prices and Returns Information for a List of Identifiers and Historical Date Range. call: benchmarks-factset.getindexhistory outputParameters: - type: object mapping: $. - method: POST name: getindexhistoryforlist description: Factset Retrieves Index Level Prices and Returns Information for a List of Identifiers and Historical Date Range. call: benchmarks-factset.getindexhistoryforlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/factset-benchmarks/v1/index-snapshot name: factset-benchmarks-v1-index-snapshot description: REST surface for factset-benchmarks-v1-index-snapshot. operations: - method: GET name: getindexsnapshot description: Factset Index Level Prices, Returns, and Related Information as of a Single Date. call: benchmarks-factset.getindexsnapshot outputParameters: - type: object mapping: $. - method: POST name: getindexsnapshotforlist description: Factset Retrieves the Index Level Snapshot of Prices and Returns Information for a Given Identifier and Single Date. call: benchmarks-factset.getindexsnapshotforlist with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/factset-benchmarks/v1/ratios name: factset-benchmarks-v1-ratios description: REST surface for factset-benchmarks-v1-ratios. operations: - method: GET name: getbenchmarkratios description: Factset Returns the Aggregated Ratios of a Requested Benchmark call: benchmarks-factset.getbenchmarkratios outputParameters: - type: object mapping: $. - method: POST name: getbenchmarkratiosforlist description: Factset Returns the Aggregated Ratios of a Requested Benchmark call: benchmarks-factset.getbenchmarkratiosforlist with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: benchmarks-factset-mcp port: 9090 transport: http description: MCP adapter for FactSet Benchmarks API — Factset. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-returns-requested-benchmark-constituents description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. hints: readOnly: true destructive: false idempotent: true call: benchmarks-factset.getbenchmarkconstituents outputParameters: - type: object mapping: $. - name: factset-returns-requested-benchmark-constituents-2 description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. hints: readOnly: false destructive: false idempotent: false call: benchmarks-factset.getbenchmarkconstituentsforlist with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-returns-requested-fixed-income description: Factset Returns the Requested Fixed Income Benchmark Constituents and Respective Weights, Price and Market Value. hints: readOnly: true destructive: false idempotent: true call: benchmarks-factset.getfibenchmarkconstituents outputParameters: - type: object mapping: $. - name: factset-returns-requested-benchmark-constituents-3 description: Factset Returns the Requested Benchmark Constituents and Respective Weights, Price and Market Value. hints: readOnly: false destructive: false idempotent: false call: benchmarks-factset.getfibenchmarkconstituentsforlist with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-returns-sample-list-benchmark description: Factset Returns a Sample List of Benchmark Identifiers and the Benchmark Categorization to Use in Other Benchmark Api Endpoints. hints: readOnly: true destructive: false idempotent: true call: benchmarks-factset.getbenchmarkids outputParameters: - type: object mapping: $. - name: factset-returns-sample-list-benchmark-2 description: Factset Returns a Sample List of Benchmark Identifiers and the Benchmark Categorization to Use in Other Benchmark Api Endpoints. hints: readOnly: true destructive: false idempotent: false call: benchmarks-factset.getbenchmarkidsforlist with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-retrieves-index-level-prices description: Factset Retrieves Index Level Prices and Returns Information for a List of Identifiers and Historical Date Range. hints: readOnly: true destructive: false idempotent: true call: benchmarks-factset.getindexhistory outputParameters: - type: object mapping: $. - name: factset-retrieves-index-level-prices-2 description: Factset Retrieves Index Level Prices and Returns Information for a List of Identifiers and Historical Date Range. hints: readOnly: true destructive: false idempotent: false call: benchmarks-factset.getindexhistoryforlist with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-index-level-prices-returns description: Factset Index Level Prices, Returns, and Related Information as of a Single Date. hints: readOnly: true destructive: false idempotent: true call: benchmarks-factset.getindexsnapshot outputParameters: - type: object mapping: $. - name: factset-retrieves-index-level-snapshot description: Factset Retrieves the Index Level Snapshot of Prices and Returns Information for a Given Identifier and Single Date. hints: readOnly: true destructive: false idempotent: false call: benchmarks-factset.getindexsnapshotforlist with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-returns-aggregated-ratios-requested description: Factset Returns the Aggregated Ratios of a Requested Benchmark hints: readOnly: true destructive: false idempotent: true call: benchmarks-factset.getbenchmarkratios outputParameters: - type: object mapping: $. - name: factset-returns-aggregated-ratios-requested-2 description: Factset Returns the Aggregated Ratios of a Requested Benchmark hints: readOnly: false destructive: false idempotent: false call: benchmarks-factset.getbenchmarkratiosforlist with: body: tools.body outputParameters: - type: object mapping: $.