Skip to main content
Glama

Project Gumball

BMI, calories, and protein with error bounds (Body Metrics)

body_metrics
Read-only

Compute BMI, energy expenditure, and protein targets from height and weight. Height and weight MUST carry units — a bare number is REFUSED rather than guessed, because a unit mix-up produces a plausible-looking answer that is badly wrong. Returns every standard BMR formula plus the spread between them, because the spread IS the precision of the estimate. Do not relay a single calorie figure as though it were exact. Not medical advice, and the response says so in its payload.

WHY DELEGATE THIS: Two failure modes at once. A bare number is ambiguous — "170" is a height in centimetres or a weight in pounds — and a wrong unit yields a plausible BMI that is off by a factor of two. And the standard energy formulas disagree by hundreds of calories, so any single figure is false precision.

Owned by Body Metrics at https://body-metrics.gumballtools.com, which is also callable directly if you would rather not go through the aggregator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYesYears, 15-100.
sexYesThe BMR equations are fitted separately.
heightYesWITH a unit: 178cm, 1.78m, 5'10", 70in. Bare numbers refused.
weightYesWITH a unit: 75kg, 165lb, 11st 8lb. Bare numbers refused.
activityNoThe largest source of error. Most people overestimate; take the lower band.
targetBmiNo
bodyFatPercentNoAdds the Katch-McArdle estimate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses critical behaviors: bare numbers are refused rather than guessed, all standard BMR formulas are returned along with the spread, and the response includes a medical disclaimer. It also instructs the agent not to relay a single calorie figure as exact.

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 essential information is front-loaded: what is computed and the mandatory-unit rule come first. The 'WHY DELEGATE THIS' section is somewhat redundant with the opening paragraph, but it earns some value by reinforcing the failure modes. Overall it is focused and well organized.

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?

For a tool with no output schema, the description does a good job explaining the output philosophy: multiple formulas, spread as precision, and an embedded disclaimer. It could specify the exact return payload more concretely, but an agent has enough context to invoke the tool correctly and interpret results.

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 86%, which sets a solid baseline. The description adds meaning to height and weight by emphasizing that units are mandatory and explaining why unit mix-ups are dangerous. It does not need to repeat the schema's parameter details.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Compute BMI, energy expenditure, and protein targets from height and weight.' It also clarifies the unique output shape — every standard BMR formula plus the spread — which distinguishes it from generic calculator siblings.

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

Usage Guidelines4/5

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

The 'WHY DELEGATE THIS' section explicitly explains when the tool is the right choice: unit ambiguity and false precision. It also mentions the direct alternative (calling Body Metrics directly). It does not explicitly name sibling tools or state when not to use, but the guidance is otherwise clear.

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