Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

log_food

Creates a nutrition log entry for a meal or snack by recording foods and their calories, protein, carbs, and fat; requires serving sizes estimated in grams.

Instructions

Log a food item or meal. Creates a nutrition log entry with the specified foods. IMPORTANT: Always estimate serving_size in grams (e.g., '150g') - never use abstract units like cups, servings, or pieces.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "meal_type": "<meal_type>",
      "items": "<items>"
    },
    "name": "log_food"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesArray of food items to log
logged_atNoOptional ISO timestamp for when the food was eaten (default: now)
meal_typeYesType of meal

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

Score is being calculated.

Deploy Server

Other Tools