Skip to main content
Glama

Free Tool Directory

tdee-macro-calculator

TDEE & Macro Calculator — Free TDEE and macro calculator: Mifflin-St Jeor BMR, daily calorie needs by activity level, and protein, carbs and fat in grams for losing, maintaining or gaining weight.

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": {
      "sex": "<sex>",
      "weight_kg": "<weight_kg>",
      "height_cm": "<height_cm>",
      "age": "<age>",
      "activity": "<activity>"
    },
    "name": "tdee-macro-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years. Range 10-120.
sexYesBiological sex (Mifflin-St Jeor equation).
goalNoCalorie goal: maintain, lose (80% of TDEE) or gain (110% of TDEE).maintain
activityYesActivity factor: 1.2 sedentary, 1.375 light, 1.55 moderate, 1.725 active, 1.9 very active. Range 1.0-2.5.
height_cmYesHeight in centimetres. Range 100-300.
weight_kgYesWeight in kilograms. Range 20-500.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description does the heavy lifting by disclosing the deterministic formula (Mifflin-St Jeor), the activity-level scaling, and the output units (grams of protein/carbs/fat, daily calories). It implies a stateless, side-effect-free computation, but never states that explicitly nor mentions precision or rounding behavior.

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?

A single front-loaded sentence that packs method, inputs, and outputs efficiently. The leading 'TDEE & Macro Calculator — Free TDEE and macro calculator' slightly repeats itself before the substantive content.

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

Completeness3/5

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

There is no output schema, so the description must carry the return-value burden; it names the outputs at a high level (BMR, daily calories, macro grams) but not their shape, labels, or whether BMR itself is returned. For a six-parameter required-heavy tool this is adequate but leaves the agent guessing at response structure.

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%, so every parameter including the goal multipliers (80%/110% of TDEE) and the activity-factor ladder is already documented in the schema. The description adds no parameter-level meaning beyond restating the goal options, 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?

Names a specific resource (TDEE and macronutrient breakdown) and states the underlying method (Mifflin-St Jeor BMR) plus the three goal modes, so an agent knows exactly what is computed. It stops short of distinguishing itself explicitly from near-neighbours like bmi-calculator or age-calculator, though the calorie/macro framing is naturally distinct.

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?

The phrase 'for losing, maintaining or gaining weight' implies the goal-driven use case, but there is no explicit when-to-use guidance, no statement of when another calculator (e.g. bmi-calculator) is the better choice, and no note about prerequisites or units expectations beyond the schema.

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