Skip to main content
Glama

Human Body Calculator MCP

Total Daily Energy Expenditure (TDEE) Calculator

calculate_tdee
Read-onlyIdempotent

Estimate total daily calorie burn in kcal/day (Mifflin-St Jeor BMR * FAO/WHO/UNU physical activity multiplier). Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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": {
      "age": "<age>",
      "gender": "<gender>",
      "weight": "<weight>",
      "activityLevel": "<activityLevel>"
    },
    "name": "calculate_tdee"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years.
feetNoFeet component when heightUnit="ft".
genderYesBiological sex / gender category used by formula ("male", "female", or "other").
heightNoBody height in heightUnit (50-300 cm equivalent). Omit when heightUnit="ft" and supply feet/inches instead.
inchesNoInches component when heightUnit="ft" (0-11.99).
weightYesBody weight in weightUnit (1-500 kg equivalent).
heightUnitNoHeight unit: "cm" (default), "m", or "ft".
weightUnitNoWeight unit: "kg" (default) or "lbs".
activityLevelYesDaily physical activity tier ("sedentary", "light", "moderate", "active", or "very_active").

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare this a read-only, idempotent, non-destructive, closed-world calculation, so the safety profile is covered. The description adds genuine value beyond that by disclosing the exact computational method and an explicit informational-use disclaimer. It does not discuss rounding, assumptions for the 'other' gender category, or unit defaults, but the output schema covers return shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and method are front-loaded in the opening sentence with zero preamble. The two disclaimer sentences are boilerplate but appropriate and short for a health-calculation tool; nothing is redundant or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With nine parameters, four enums, an output schema, and full annotation coverage, the definition supplies what an agent needs: what is computed, how, and the non-clinical caveat. The remaining gap is selection guidance against the many adjacent calorie/BMR siblings, which the definition leaves unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with every parameter including age, gender, height/feet/inches split, weight units, and the five activity tiers documented in the schema itself. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Estimate total daily calorie burn in kcal/day') and even names the underlying method (Mifflin-St Jeor BMR × FAO/WHO/UNU activity multiplier), which implicitly separates it from a plain BMR or calorie-needs calculator. It stops short of naming a sibling tool to route against, so an agent must infer the distinction from the formula alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of calculate_bmr, calculate_calorie_needs, or calculate_macronutrient as alternatives. The only scoping statement is the 'informational estimate only — not medical advice' disclaimer, which constrains interpretation rather than tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources