Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DO_NOT_TRACKNoSet to 1 to opt out of anonymous usage telemetry (e.g. export DO_NOT_TRACK=1).
FOOD_MCP_TELEMETRYNoSet to false to opt out of anonymous usage telemetry (e.g. export FOOD_MCP_TELEMETRY=false).
MCP_TELEMETRY_OPT_OUTNoSet to 1 to opt out of anonymous usage telemetry (e.g. export MCP_TELEMETRY_OPT_OUT=1).

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
lookup_foodB

Searches food chemistry databases across ICMR-NIN IFCT, USDA, and Open Food Facts.

Returns matched foods with food IDs and per-100g macro previews.

get_food_chemistryB

Returns the full molecular profile for a food ID or packaged barcode:

macros, micros, amino acids, fatty acids, NOVA group (1 to 4), Nutri-Score, allergens, and additives.

formulate_recipeC

Formulates a multi-ingredient recipe and returns aggregate and per-serving macros,

caloric distribution, amino acid completeness (WHO/FAO 2007 pattern + 2.5g Leucine MPS threshold), micronutrient synergies (Na:K ratio, Ca:Mg ratio, Iron bioavailability), glycemic impact (GI and Glycemic Load), and cleanliness score (weighted NOVA).

optimize_recipe_macrosB

Analyzes a recipe and suggests precise gram adjustments or nutrient-dense swaps

(e.g., swapping flour for lupin/almond flour, adding hemp seeds, paneer, nutritional yeast) to hit target macros and clear the 2.5g Leucine MPS threshold.

lookup_barcodeB

Instant lookup of any global packaged food barcode via Open Food Facts API.

doctorB

Tests connectivity to Open Food Facts, USDA, and local IFCT dataset.

skills_listA

List available food chemistry and recipe optimization skills.

skill_readC

Read a specific food chemistry skill/playbook by name.

check_for_updatesC

Check PyPI for the latest version of food-mcp.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have distinct resource/action pairings, but lookup_barcode and get_food_chemistry both handle packaged barcodes, creating potential overlap. formulate_recipe and optimize_recipe_macros are also adjacent, though their descriptions differentiate creation from analysis/optimization.

Naming Consistency3/5

All names use snake_case, but the patterns are mixed: verb_noun (lookup_food, get_food_chemistry), noun_verb (skills_list, skill_read), a bare noun (doctor), and a longer verb phrase (check_for_updates). The convention is readable but not predictable.

Tool Count5/5

Nine tools is well-scoped for a food chemistry and recipe optimization server. The set balances core domain operations with useful meta tools without becoming bloated.

Completeness4/5

The surface covers lookup, detailed chemistry, barcode resolution, recipe formulation, optimization, and supporting utilities. Minor gaps exist, such as direct nutrient-based search or multi-food comparison, but core workflows are covered.