naftiko: 1.0.0-alpha2 info: label: FactSet Portfolio Metadata API — Holdings description: 'FactSet Portfolio Metadata API — Holdings. 2 operations. Lead operation: Holdings. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Holdings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: portfolio-metadata-holdings baseUri: https://api.factset.com/analytics/portfolio-metadata/v1 description: FactSet Portfolio Metadata API — Holdings business capability. Self-contained, no shared references. resources: - name: holdings-composite-id path: /holdings-composite/{id} operations: - name: readholdingscomposite method: GET description: Read a holdings composite outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier of the holdings composite to be read required: true - name: holdings-id path: /holdings/{id} operations: - name: readholdings method: GET description: Read a holdings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier of the holdings to be read required: true authentication: type: bearer token: '{{env.FACTSET_API_KEY}}' exposes: - type: rest namespace: portfolio-metadata-holdings-rest port: 8080 description: REST adapter for FactSet Portfolio Metadata API — Holdings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/holdings-composite/{id} name: holdings-composite-id description: REST surface for holdings-composite-id. operations: - method: GET name: readholdingscomposite description: Read a holdings composite call: portfolio-metadata-holdings.readholdingscomposite with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/holdings/{id} name: holdings-id description: REST surface for holdings-id. operations: - method: GET name: readholdings description: Read a holdings call: portfolio-metadata-holdings.readholdings with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: portfolio-metadata-holdings-mcp port: 9090 transport: http description: MCP adapter for FactSet Portfolio Metadata API — Holdings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: read-holdings-composite description: Read a holdings composite hints: readOnly: true destructive: false idempotent: true call: portfolio-metadata-holdings.readholdingscomposite with: id: tools.id outputParameters: - type: object mapping: $. - name: read-holdings description: Read a holdings hints: readOnly: true destructive: false idempotent: true call: portfolio-metadata-holdings.readholdings with: id: tools.id outputParameters: - type: object mapping: $.