nutrition_db
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_NINJAS_KEY | No | API key for API Ninjas to get real macro numbers | |
| OPENAI_API_KEY | No | API key for OpenAI to enable LLM-generated meals | |
| OPENWEATHER_API_KEY | No | API key for OpenWeather to enable weather-based adjustment |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_food_nutrientsA | Look up macros (calories/protein/carbs/fat/fiber/sugar) for a food query via API Ninjas (cached). |
| get_current_conditionsA | Fetch current temperature and humidity for a city via OpenWeather. |
| compute_targetsB | Compute daily calorie + macro targets from a profile (Mifflin-St Jeor BMR -> TDEE -> goal). |
| generate_weekly_meal_planB | Generate a 7-day meal plan of concrete foods (LLM-proposed, API-Ninjas-grounded, reconciled to targets). |
| log_daily_intakeC | Record foods eaten on a date (default today) and return running totals. |
| adjust_daily_caloriesB | Compare a day's logged intake to target; if under, suggest catch-up foods / roll shortfall into tomorrow. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose, from computing targets to logging intake and generating meal plans. The weather tool is unrelated but still unique.
All tool names follow a consistent verb_noun pattern in snake_case, making them predictable and easy to understand.
With 6 tools, the server is well-scoped for nutrition tracking without being overwhelming or underwhelming.
Core workflows are covered (targets, food lookup, logging, planning), but missing update/delete for logs and the weather tool is extraneous.