Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

add_favorite

Save a food and its nutrition details to favorites so you can reuse it in future meal logging.

Instructions

Add a food to favorites

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": {
      "name": "<name>",
      "calories": "<calories>",
      "protein_grams": "<protein_grams>",
      "carbs_grams": "<carbs_grams>",
      "fat_grams": "<fat_grams>"
    },
    "name": "add_favorite"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFood name
brandNoBrand (optional)
barcodeNo
caloriesYes
fat_gramsYes
carbs_gramsYes
fiber_gramsNo
serving_sizeNoServing size
protein_gramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

Score is being calculated.

Deploy Server

Other Tools