naftiko: 1.0.0-alpha2 info: label: openFDA API — Other description: 'openFDA API — Other. 3 operations. Lead operation: Historical FDA documents. Self-contained Naftiko capability covering one Food And Drug Administration business surface.' tags: - Food And Drug Administration - Other created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FOOD_AND_DRUG_ADMINISTRATION_API_KEY: FOOD_AND_DRUG_ADMINISTRATION_API_KEY capability: consumes: - type: http namespace: openfda-other baseUri: https://api.fda.gov description: openFDA API — Other business capability. Self-contained, no shared references. resources: - name: other-historicaldocument.json path: /other/historicaldocument.json operations: - name: searchhistoricaldocuments method: GET description: Historical FDA documents outputRawFormat: json outputParameters: - name: result type: object value: $. - name: other-nsde.json path: /other/nsde.json operations: - name: searchnsde method: GET description: National Drug Code SPL Data Elements (NSDE) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: other-substance.json path: /other/substance.json operations: - name: searchsubstance method: GET description: Substance data outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: api_key value: '{{env.FOOD_AND_DRUG_ADMINISTRATION_API_KEY}}' placement: query exposes: - type: rest namespace: openfda-other-rest port: 8080 description: REST adapter for openFDA API — Other. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/other/historicaldocument-json name: other-historicaldocument-json description: REST surface for other-historicaldocument.json. operations: - method: GET name: searchhistoricaldocuments description: Historical FDA documents call: openfda-other.searchhistoricaldocuments outputParameters: - type: object mapping: $. - path: /v1/other/nsde-json name: other-nsde-json description: REST surface for other-nsde.json. operations: - method: GET name: searchnsde description: National Drug Code SPL Data Elements (NSDE) call: openfda-other.searchnsde outputParameters: - type: object mapping: $. - path: /v1/other/substance-json name: other-substance-json description: REST surface for other-substance.json. operations: - method: GET name: searchsubstance description: Substance data call: openfda-other.searchsubstance outputParameters: - type: object mapping: $. - type: mcp namespace: openfda-other-mcp port: 9090 transport: http description: MCP adapter for openFDA API — Other. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: historical-fda-documents description: Historical FDA documents hints: readOnly: true destructive: false idempotent: true call: openfda-other.searchhistoricaldocuments outputParameters: - type: object mapping: $. - name: national-drug-code-spl-data description: National Drug Code SPL Data Elements (NSDE) hints: readOnly: true destructive: false idempotent: true call: openfda-other.searchnsde outputParameters: - type: object mapping: $. - name: substance-data description: Substance data hints: readOnly: true destructive: false idempotent: true call: openfda-other.searchsubstance outputParameters: - type: object mapping: $.