Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
RATE_LIMIT_FACETS | No | Rate limit for facet requests per minute | 2 |
RATE_LIMIT_SEARCH | No | Rate limit for search requests per minute | 10 |
RATE_LIMIT_PRODUCTS | No | Rate limit for product requests per minute | 100 |
OPEN_FOOD_FACTS_BASE_URL | No | The base URL for the Open Food Facts API | https://world.openfoodfacts.net |
OPEN_FOOD_FACTS_USER_AGENT | No | User agent string for API requests | YourApp/1.0 (contact@example.com) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_product | Retrieve detailed information about a food product by its barcode |
search_products | Search for food products with various filters and criteria |
analyze_product | Get nutritional analysis and scores for a product by barcode |
compare_products | Compare nutritional information between multiple products |
get_product_suggestions | Get product suggestions based on dietary preferences or restrictions |