Docs/Sources/BMI & Fitness Metrics for AI Agents

BMI & Fitness Metrics for AI Agents

Calculate BMI, BMR, TDEE and nutrition targets

OperationalCredits 2 per callp50 467msHealth/Wellness

Overview

BMI Calculator uses the Mifflin-St Jeor equation for accurate BMR calculations and evidence-based activity multipliers for TDEE. It provides actionable data for fitness apps, health trackers, and nutrition planning tools.

Live Test BMI & Fitness Metrics for AI Agents Source →

The tool

Once your client is connected to the VerveContext server, this appears in its tool list as BMIFitnessMetricsforAIAgents. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "BMIFitnessMetricsforAIAgents",
  "arguments": {
    "weight": "180",
    "height": "70",
    "unit": "imperial"
  }
}

You do not name the tool yourself; the model picks it. Asking about 180 in the terms this source covers is enough for it to reach for BMIFitnessMetricsforAIAgents on its own — naming it explicitly also works, and is the way to force the call.

Connecting

One server URL covers every source in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervecontext": {
      "url": "https://api.vervecontext.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
weightRequirednumberWeight in kg (metric) or lbs (imperial)
range 1–∞
heightRequirednumberHeight in cm (metric) or inches (imperial)
range 1–∞
unitRequiredstringUnit system for weight and height
metricimperial
ageOptionalnumberAge in years (required for BMR/TDEE calculations)
range 1–120
genderOptionalstringGender (required for BMR/TDEE calculations)
malefemale
activityLevelOptionalstringActivity level (required for TDEE/calorie calculations)
sedentarylightmoderateactiveveryactive

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "height": "70 inches",
    "weight": "180 lbs",
    "bmi": 25.83,
    "bmiPrime": 1.033,
    "category": "Overweight",
    "risk": "Increased risk",
    "summary": "BMI is above the healthy range. Lifestyle changes may be beneficial.",
    "idealWeightRange": {
      "min": 129,
      "max": 173.5,
      "unit": "lbs"
    },
    "weightToChange": {
      "direction": "lose",
      "amount": 6.5,
      "unit": "lbs"
    },
    "bmr": 1783,
    "tdee": 2763,
    "calorieTargets": {
      "extremeDeficit": 1763,
      "moderateDeficit": 2263,
      "maintain": 2763,
      "moderateSurplus": 3063,
      "bulkSurplus": 3263
    },
    "macros": {
      "lose": {
        "protein": 198,
        "carbs": 198,
        "fat": 75
      },
      "maintain": {
        "protein": 207,
        "carbs": 276,
        "fat": 92
      },
      "gain": {
        "protein": 230,
        "carbs": 345,
        "fat": 85
      }
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
heightstring70 inchesFormatted height with unit
weightstring180 lbsFormatted weight with unit
bminumber25.83Calculated Body Mass Index
bmiPrimePremiumnumber1.033Ratio of BMI to upper normal limit (25). Values <1 are normal weight.
categorystringOverweightBMI category (Underweight, Normal, Overweight, Obese Class I/II/III)
riskPremiumstringIncreased riskHealth risk level based on BMI category
summaryPremiumstringBMI is above the healthy range. Lifestyle changes may be beneficial.Brief interpretation of BMI results
idealWeightRangeobject{…}Healthy weight range for this height (min, max, unit)
idealWeightRange.minnumber129Lowest weight in the healthy BMI range
idealWeightRange.maxnumber173.5Highest weight in the healthy BMI range
idealWeightRange.unitstringlbsUnit the ideal weight range is expressed in (lbs or kg)
weightToChangePremiumobject{…}Weight to lose or gain to reach normal BMI (direction, amount, unit)
weightToChange.directionPremiumstringloseWhether weight needs to be lost, gained, or maintained
weightToChange.amountPremiumnumber6.5How much weight to lose or gain to reach the healthy range
weightToChange.unitPremiumstringlbsUnit the weight change is expressed in (lbs or kg)
bmrPremiumnumber1783Basal Metabolic Rate - calories burned at rest (requires age, gender)
tdeePremiumnumber2763Total Daily Energy Expenditure - calories burned per day (requires age, gender, activityLevel)
calorieTargetsPremiumobject{…}Daily calorie targets for different goals (extremeDeficit, moderateDeficit, maintain, moderateSurplus, bulkSurplus)
calorieTargets.extremeDeficitPremiumnumber1763Daily calories for aggressive weight loss, roughly 1000 below maintenance
calorieTargets.moderateDeficitPremiumnumber2263Daily calories for steady weight loss, roughly 500 below maintenance
calorieTargets.maintainPremiumnumber2763Daily calories to hold current weight, equal to total daily energy expenditure
calorieTargets.moderateSurplusPremiumnumber3063Daily calories for lean weight gain, roughly 300 above maintenance
calorieTargets.bulkSurplusPremiumnumber3263Daily calories for faster weight gain, roughly 500 above maintenance
macrosPremiumobject{…}Macronutrient targets in grams (protein, carbs, fat) for lose/maintain/gain goals
macros.losePremiumobject{…}Daily macronutrient grams for the weight loss calorie target
macros.lose.proteinPremiumnumber198Grams of protein per day while losing weight
macros.lose.carbsPremiumnumber198Grams of carbohydrate per day while losing weight
macros.lose.fatPremiumnumber75Grams of fat per day while losing weight
macros.maintainPremiumobject{…}Daily macronutrient grams for the maintenance calorie target
macros.maintain.proteinPremiumnumber207Grams of protein per day at maintenance
macros.maintain.carbsPremiumnumber276Grams of carbohydrate per day at maintenance
macros.maintain.fatPremiumnumber92Grams of fat per day at maintenance
macros.gainPremiumobject{…}Daily macronutrient grams for the weight gain calorie target
macros.gain.proteinPremiumnumber230Grams of protein per day while gaining weight
macros.gain.carbsPremiumnumber345Grams of carbohydrate per day while gaining weight
macros.gain.fatPremiumnumber85Grams of fat per day while gaining weight

Why ground on it

A model can produce something that looks like this answer from its training data, and be confidently out of date or simply wrong. This source returns the current value in a shape you can check, which is the difference between an answer you can cite and one you have to hedge.

Point an evaluation at bmi: it is the field most worth pinning a claim to, and it is either present and current or absent — never plausibly invented.

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This source is not part of VerveContext. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 2 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Fitness Apps
Calculate BMI, BMR, TDEE and macro targets for users tracking their fitness journey.
Health Tracking
Provide users with their ideal weight range and how much to gain or lose to reach a healthy BMI.
Nutrition Planning
Generate personalized calorie and macronutrient targets for meal planning applications.
Weight Loss Programs
Calculate calorie deficits and protein targets for weight loss applications.

Other ways to use BMI & Fitness Metrics for AI Agents

Set up BMI & Fitness Metrics for AI Agents on VerveContext, or reach the same source a different way. Your VerveContext account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →

More in Health/Wellness:

Was this page helpful?