naftiko: 1.0.0-alpha2 info: label: USDA FoodData Central API — Nutrients description: 'USDA FoodData Central API — Nutrients. 1 operations. Lead operation: Get All Nutrients. Self-contained Naftiko capability covering one United States Department Of Agriculture business surface.' tags: - United States Department Of Agriculture - Nutrients created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNITED_STATES_DEPARTMENT_OF_AGRICULTURE_API_KEY: UNITED_STATES_DEPARTMENT_OF_AGRICULTURE_API_KEY capability: consumes: - type: http namespace: usda-fooddata-central-nutrients baseUri: https://api.nal.usda.gov/fdc/v1 description: USDA FoodData Central API — Nutrients business capability. Self-contained, no shared references. resources: - name: nutrients path: /nutrients operations: - name: getnutrients method: GET description: Get All Nutrients outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: api_key in: query type: string description: API key from api.data.gov required: true authentication: type: apikey key: api_key value: '{{env.UNITED_STATES_DEPARTMENT_OF_AGRICULTURE_API_KEY}}' placement: query exposes: - type: rest namespace: usda-fooddata-central-nutrients-rest port: 8080 description: REST adapter for USDA FoodData Central API — Nutrients. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/nutrients name: nutrients description: REST surface for nutrients. operations: - method: GET name: getnutrients description: Get All Nutrients call: usda-fooddata-central-nutrients.getnutrients with: api_key: rest.api_key outputParameters: - type: object mapping: $. - type: mcp namespace: usda-fooddata-central-nutrients-mcp port: 9090 transport: http description: MCP adapter for USDA FoodData Central API — Nutrients. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-all-nutrients description: Get All Nutrients hints: readOnly: true destructive: false idempotent: true call: usda-fooddata-central-nutrients.getnutrients with: api_key: tools.api_key outputParameters: - type: object mapping: $.