{"name":"food-intel","description":"AI-ready food intelligence — nutrition, ingredients, recalls, commodity prices, supply chain traceability. Aggregates USDA, Open Food Facts, openFDA, BLS, and USDA AMS data with full origin provenance on every record.","version":"1.0.0","url":"https://food.rootz.global","tools":[{"name":"food_search","description":"Search for food products by name, brand, or UPC barcode. Returns nutrition, ingredients, allergens, REAL-TIME KROGER PRICING, aisle location, and data source origin. Aggregates USDA (3,500+ foods) + Open Food Facts (1,000+ products) + Kroger (6,300+ products with prices).","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Product name, brand, or UPC barcode to search for"},"brand":{"type":"string","description":"Filter by brand name"},"category":{"type":"string","description":"Filter by food category"},"source":{"type":"string","enum":["usda","openfoodfacts","kroger","all"],"default":"all","description":"Which data source to search"},"limit":{"type":"number","default":20,"description":"Max results (default 20)"}},"required":["query"]}},{"name":"food_nutrition","description":"Get detailed nutrition facts for a specific food product. Returns calories, protein, fat, carbs, vitamins, minerals, ingredients, allergens. If product exists in Kroger, also returns real-time price, aisle location, stock level, ratings, SNAP eligibility.","inputSchema":{"type":"object","properties":{"product_id":{"type":"number","description":"Product ID from food_search results (products table)"},"upc":{"type":"string","description":"UPC/barcode to look up directly"},"kroger_id":{"type":"string","description":"Kroger product ID for direct Kroger lookup"}}}},{"name":"food_compare","description":"Compare nutrition facts between 2-5 food products side by side. Great for \"which is healthier\" questions. Shows per-serving and per-100g when available.","inputSchema":{"type":"object","properties":{"product_ids":{"type":"array","items":{"type":"number"},"description":"Product IDs to compare (2-5)"},"nutrients":{"type":"array","items":{"type":"string"},"description":"Specific nutrients to compare (default: all major)"}},"required":["product_ids"]}},{"name":"food_recall_search","description":"Search FDA food recalls by product, company, reason, or date range. Covers all US food recalls from 2004-present. Source: openFDA (public domain).","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search product descriptions, company names, or recall reasons"},"classification":{"type":"string","enum":["Class I","Class II","Class III"],"description":"Class I = dangerous/death, Class II = temporary health problems, Class III = unlikely harm"},"state":{"type":"string","description":"2-letter state code to filter by recalling firm location"},"year":{"type":"number","description":"Filter by year"},"limit":{"type":"number","default":20}}}},{"name":"food_recall_check","description":"Check if a specific food product or brand has any active or recent recalls. Critical for food safety awareness.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"Product name or brand to check"},"months":{"type":"number","default":12,"description":"Look back period in months (default 12)"}},"required":["product"]}},{"name":"food_commodity_prices","description":"Get commodity prices for agricultural products — produce, meat, dairy, grains. Source: USDA AMS Market News (100 years of free data) + BLS retail prices.","inputSchema":{"type":"object","properties":{"commodity":{"type":"string","description":"Commodity name: lettuce, ground_beef, whole_milk, eggs, wheat, corn, etc."},"category":{"type":"string","enum":["produce","meat","dairy","grain","all"],"default":"all"},"market":{"type":"string","enum":["retail","farm_gate","terminal","national","all"],"default":"all"},"weeks":{"type":"number","default":12,"description":"Number of recent data points"}}}},{"name":"food_retail_prices","description":"Get average retail prices for common grocery items from BLS CPI data. ~70 food items tracked monthly. Shows price trends over time.","inputSchema":{"type":"object","properties":{"item":{"type":"string","description":"Food item to look up: eggs, milk, bread, ground beef, chicken, etc."},"months":{"type":"number","default":12,"description":"Number of recent months"}}}},{"name":"food_ingredients_lookup","description":"Look up ingredient lists and allergens for branded food products. Shows every ingredient with the data source origin. Essential for dietary restrictions, allergies, and MAHA transparency.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Product name or brand to look up ingredients for"},"allergen":{"type":"string","description":"Filter for specific allergen: gluten, dairy, nuts, soy, eggs, shellfish"},"limit":{"type":"number","default":10}},"required":["query"]}},{"name":"food_data_sources","description":"Show all data sources powering Food Intel, with record counts, last update times, origin URLs, and whether MCP tools exist. Full transparency on where every data point comes from.","inputSchema":{"type":"object","properties":{}}},{"name":"food_new_products","description":"Find recently added food products across all data sources. Answers the question: \"how does AI know about new products?\" Shows the discovery lag between product launch and data availability.","inputSchema":{"type":"object","properties":{"days":{"type":"number","default":30,"description":"Look back period in days"},"source":{"type":"string","enum":["usda","openfoodfacts","all"],"default":"all"},"limit":{"type":"number","default":25}}}},{"name":"food_supply_chain","description":"View supply chain / traceability data for a product (FSMA 204 style). Shows farm-to-shelf journey: grow, harvest, pack, ship, receive, retail. Currently populated for demo products — designed for real-time FSMA 204 data integration.","inputSchema":{"type":"object","properties":{"product_id":{"type":"number","description":"Product ID to trace"},"product_name":{"type":"string","description":"Or search by product name"}}}},{"name":"food_kroger_product","description":"Get Kroger-specific product details: real-time pricing, aisle/shelf location, stock level, fulfillment options (curbside/delivery/in-store), ratings, SNAP eligibility, organic/GMO claims, allergens, ingredients, nutrition, country of origin, and product images.","inputSchema":{"type":"object","properties":{"upc":{"type":"string","description":"UPC barcode to look up"},"kroger_id":{"type":"string","description":"Kroger product ID"},"query":{"type":"string","description":"Search Kroger products by name"},"limit":{"type":"number","default":10}}}},{"name":"food_price_compare","description":"Compare price levels for a food product across the supply chain: farm gate (USDA AMS), wholesale/terminal market, BLS national retail average, and Kroger real-time retail. Shows markup at each level. Great for understanding food economics.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"Product name: eggs, ground beef, lettuce, milk, chicken, bread, etc."}},"required":["product"]}},{"name":"food_diet_filter","description":"Find products matching dietary, nutritional, price, and availability criteria. THE query Google cannot answer: \"SNAP-eligible, gluten-free, sub-$4 protein source in stock sorted by protein-per-dollar.\" Combines Kroger real-time pricing + nutrition + allergens + stock.","inputSchema":{"type":"object","properties":{"max_price":{"type":"number","description":"Maximum price in dollars"},"min_protein":{"type":"number","description":"Minimum protein grams per serving"},"max_calories":{"type":"number","description":"Maximum calories per serving"},"max_fat":{"type":"number","description":"Maximum total fat grams (great for post-gallbladder)"},"max_carbs":{"type":"number","description":"Maximum carbs grams (great for keto/GLP-1)"},"max_sodium":{"type":"number","description":"Maximum sodium mg"},"allergen_free":{"type":"array","items":{"type":"string"},"description":"Allergens to exclude: gluten, dairy, nuts, soy, eggs, shellfish, wheat, peanuts"},"snap_only":{"type":"boolean","description":"Only SNAP-eligible products","default":false},"organic_only":{"type":"boolean","description":"Only certified organic products","default":false},"in_stock":{"type":"boolean","description":"Only products currently in stock","default":true},"category":{"type":"string","description":"Product category filter (Produce, Dairy, Meat & Seafood, etc.)"},"sort_by":{"type":"string","enum":["price","protein","calories","protein_per_dollar","rating"],"default":"price"},"limit":{"type":"number","default":20}}}},{"name":"food_household_meal","description":"Find food products that work for ALL members of a household with different dietary needs. Example: person A needs low-fat (post-gallbladder), person B needs high-protein (GLP-1). Finds products satisfying ALL constraints simultaneously.","inputSchema":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Person name"},"max_fat":{"type":"number"},"min_protein":{"type":"number"},"max_calories":{"type":"number"},"max_carbs":{"type":"number"},"max_sodium":{"type":"number"},"allergen_free":{"type":"array","items":{"type":"string"}}}},"description":"Household members with individual dietary constraints"},"max_price":{"type":"number","description":"Maximum price per item"},"category":{"type":"string","description":"Product category filter"},"limit":{"type":"number","default":15}},"required":["members"]}},{"name":"food_receipt_lookup","description":"Given a list of UPC barcodes (from a receipt or shopping list), return full nutrition breakdown, ingredient analysis, allergen warnings, recall checks, and total meal nutrition for everything purchased. The receipt-to-nutrition bridge nobody else has built.","inputSchema":{"type":"object","properties":{"upcs":{"type":"array","items":{"type":"string"},"description":"List of UPC barcodes from a receipt"}},"required":["upcs"]}}],"data_sources":["USDA FoodData Central (380K+ foods, nutrition, ingredients)","Open Food Facts (4M+ products, UPC/barcode, crowdsourced)","openFDA (food recalls 2004-present)","USDA AMS Market News (commodity prices)","BLS CPI (retail food prices, ~70 items)","FRED (food CPI indices, economic data)"],"origin_policy":"Every API response includes data_origin with source, license, and attribution.","license":"Data aggregated from public domain (CC0) and open (ODbL) sources.","contact":"contact@rootz.global"}