Skip to main content
Glama
rwestergren

io.github.rwestergren/cronometer-api-mcp

by rwestergren

add_custom_food

Create a custom food entry in Cronometer with specified macros and micronutrients per serving. Use the returned food ID to log the food in your diary.

Instructions

Create a custom food in Cronometer with specified nutrition.

Nutrient amounts should be for the full serving size specified. After creation, use the returned food_id with add_food_entry to log it.

Args: name: Food name. calories: Calories per serving (kcal). protein_g: Protein per serving (g). fat_g: Fat per serving (g). carbs_g: Carbs per serving (g). fiber_g: Fiber per serving (g, default 0). sugar_g: Sugar per serving (g, default 0). sodium_mg: Sodium per serving (mg, default 0). saturated_fat_g: Saturated fat per serving (g, default 0). serving_name: Name for the serving size (default "1 serving"). serving_grams: Weight of one serving in grams (default 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
fat_gYes
carbs_gYes
fiber_gNo
sugar_gNo
caloriesYes
protein_gYes
sodium_mgNo
serving_nameNo1 serving
serving_gramsNo
saturated_fat_gNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rwestergren/cronometer-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server