Skip to main content
Glama

Human Body Calculator MCP

Daily Calorie Needs & Goal Calculator

calculate_calorie_needs
Read-onlyIdempotent

Calculate daily calorie target in kcal/day from TDEE adjusted for weight loss (-500 kcal), maintenance, or gain (+300 kcal). 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_calorie_needs"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years.
feetNoFeet component when heightUnit="ft".
goalNoCalorie/weight objective ("lose", "maintain", or "gain").
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.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral content: the specific deficit/surplus applied per goal (-500 / +300 kcal) and the scope disclaimer that this is an informational estimate, not medical advice. It stops short of 5 by not noting defaults or unit-handling behavior.

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

Conciseness5/5

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

Three short sentences with the operation and its formula front-loaded, followed by the disclaimer. Every sentence carries distinct information; there is no restatement of the name or title.

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 an output schema present and 100% parameter description coverage, the description needn't explain returns or field formats, and it correctly spends its budget on the goal-adjustment behavior and the medical disclaimer. A brief note on which inputs drive the calculation (e.g. that height/weight units are flexible) would complete it.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not carry: the magnitude of the calorie adjustment attached to each goal value. It adds nothing about the 10 individual parameters' formats, which is acceptable given the rich schema.

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?

States a specific verb and resource ("Calculate daily calorie target in kcal/day from TDEE") plus the exact goal adjustments, so an agent can tell this tool produces a goal-adjusted calorie target rather than a raw BMR or macronutrient split. It does not name a sibling explicitly, which keeps it short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by the output (a goal-based calorie target), but there is no explicit when-to-use/when-not guidance and no routing to alternatives such as calculate_bmr or calculate_macronutrient for related needs. An agent must infer the selection criteria from the resource name alone.

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