Skip to main content
Glama

Nutricity calculators

calculate_bmr_mifflin

Read-onlyIdempotent

Calculate the basal metabolic rate (kcal/day) via the Mifflin-St Jeor equation from gender, age, weight, and height.

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

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years
genderYesBiological sex: M (male) or F (female)
heightYesHeight in centimeters
weightYesWeight in kilograms

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds the output unit (kcal/day) and the exact equation used, which is useful beyond the annotations, but says nothing about applicability limits such as adult-only use or what happens at edge inputs.

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?

A single front-loaded sentence with the resource, unit, method and required inputs, and no filler. Nothing could be removed without losing information.

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 full schema coverage, the description carries only what structured fields cannot: the equation identity and result unit. The one gap is the absence of guidance versus the other BMR formula tools, which matters given how many siblings compute similar values.

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% — gender enum, age in years, height in cm and weight in kg are all documented in the schema with units. The description restates the four inputs without adding format or unit nuance beyond them, so the baseline of 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 verb (calculate) and resource (basal metabolic rate in kcal/day) and pins the method to the Mifflin-St Jeor equation, which implicitly separates it from the Harris-Benedict and FAO/WHO siblings. It stops short of explicitly contrasting itself with those siblings, so the differentiation is only implicit in the equation name.

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 statement of when to pick this equation over the sibling BMR/RMR calculators (calculate_bmr_harris_benedict, calculate_bmr_fao_who, calculate_resting_metabolic_rate), nor any note about population suitability. The agent must infer the choice from the equation 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