naftiko: 1.0.0-alpha2 info: label: FactSet Fundamentals API — Financial Statements description: 'FactSet Fundamentals API — Financial Statements. 4 operations. Lead operation: Factset Returns Financial Statement Line Items.. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Financial Statements created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: fundamentals-financial-statements baseUri: https://api.factset.com/content/factset-fundamentals/v2 description: FactSet Fundamentals API — Financial Statements business capability. Self-contained, no shared references. resources: - name: financial-statements path: /financial-statements operations: - name: getfinancialstatements method: GET description: Factset Returns Financial Statement Line Items. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postfinancialstatements method: POST description: Factset Returns Financial Statement Line Items for a List of Identifiers. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: fundamentals path: /fundamentals operations: - name: getfundamentals method: GET description: Factset Returns Company Fundamental Data. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postfundamentals method: POST description: Factset Returns Company Fundamental Data for a List of Identifiers. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.FACTSET_API_KEY}}' exposes: - type: rest namespace: fundamentals-financial-statements-rest port: 8080 description: REST adapter for FactSet Fundamentals API — Financial Statements. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/financial-statements name: financial-statements description: REST surface for financial-statements. operations: - method: GET name: getfinancialstatements description: Factset Returns Financial Statement Line Items. call: fundamentals-financial-statements.getfinancialstatements outputParameters: - type: object mapping: $. - method: POST name: postfinancialstatements description: Factset Returns Financial Statement Line Items for a List of Identifiers. call: fundamentals-financial-statements.postfinancialstatements with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/fundamentals name: fundamentals description: REST surface for fundamentals. operations: - method: GET name: getfundamentals description: Factset Returns Company Fundamental Data. call: fundamentals-financial-statements.getfundamentals outputParameters: - type: object mapping: $. - method: POST name: postfundamentals description: Factset Returns Company Fundamental Data for a List of Identifiers. call: fundamentals-financial-statements.postfundamentals with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: fundamentals-financial-statements-mcp port: 9090 transport: http description: MCP adapter for FactSet Fundamentals API — Financial Statements. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-returns-financial-statement-line description: Factset Returns Financial Statement Line Items. hints: readOnly: true destructive: false idempotent: true call: fundamentals-financial-statements.getfinancialstatements outputParameters: - type: object mapping: $. - name: factset-returns-financial-statement-line-2 description: Factset Returns Financial Statement Line Items for a List of Identifiers. hints: readOnly: true destructive: false idempotent: false call: fundamentals-financial-statements.postfinancialstatements with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-returns-company-fundamental-data description: Factset Returns Company Fundamental Data. hints: readOnly: true destructive: false idempotent: true call: fundamentals-financial-statements.getfundamentals outputParameters: - type: object mapping: $. - name: factset-returns-company-fundamental-data-2 description: Factset Returns Company Fundamental Data for a List of Identifiers. hints: readOnly: true destructive: false idempotent: false call: fundamentals-financial-statements.postfundamentals with: body: tools.body outputParameters: - type: object mapping: $.