Skip to main content
Glama

Nutricity calculators

calculate_bmr_fao_who

Read-onlyIdempotent

Calculate the basal metabolic rate (kcal/day) via the FAO/WHO tables, returning a low-high range based on the physical activity level (LAF) for the age bracket. Below age 10 there is no LAF table: only the BMR is returned (low/high null).

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>",
      "activity": "<activity>"
    },
    "name": "calculate_bmr_fao_who"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years
genderYesBiological sex: M (male) or F (female)
weightYesWeight in kilograms
activityYesPhysical activity level: L (light), M (medium), H (heavy)

Output Schema

NameRequiredDescriptionDefault
lowResultYesTotal kcal/day at the lower LAF bound; null below age 10 (no LAF table)
baseResultYesBMR in kcal/day without the activity factor applied
highResultYesTotal kcal/day at the upper LAF bound; null below age 10 (no LAF table)
activityRangeAvailableYesFalse below age 10: only the BMR is available

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and idempotentHint, so the description's disclosure that below age 10 no LAF table exists and low/high come back null is genuinely additive behavioral context an agent could not infer from structured fields. It also states the units (kcal/day) and that the result is a range keyed to activity level.

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?

Two sentences with no waste: the primary behavior and output shape come first, and the edge case follows. Every clause carries information an agent needs.

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, return values need not be explained, and the description still covers the key edge case and units. It stops short of noting any sex-specific table behavior, but nothing needed to invoke the tool correctly is missing.

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% and the enum values for gender (M/F) and activity (L/M/H) are already documented in-schema. The description only echoes 'physical activity level (LAF)' and 'age bracket' without adding format or syntax detail beyond that baseline.

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 along with the exact standard used ('basal metabolic rate (kcal/day) via the FAO/WHO tables') and the output shape (low-high range from LAF). This implicitly separates it from the Harris-Benedict and Mifflin siblings by naming a different formula set, though it never explicitly contrasts with them.

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 only implied: naming the FAO/WHO standard tells the agent which equation family this is, and the age-10 cutoff is a concrete constraint. There is no explicit statement of when to prefer this over calculate_bmr_harris_benedict or calculate_bmr_mifflin, so selection still relies on outside knowledge.

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