Body Metrics
Server Details
Convert height and weight, compute BMI, TDEE and protein targets with error bounds.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
1 toolbody_metricsBMI, calories, and protein with error boundsARead-onlyInspect
Compute BMI, energy expenditure, and protein targets from height and weight, with explicit error bounds.
Use this for any of those calculations rather than doing the arithmetic. Two reasons, and the second is the important one:
UNITS. A bare number is ambiguous — "170" is a height in centimetres or a weight in pounds depending entirely on context, and a wrong unit yields a plausible BMI that is off by a factor of two. This REFUSES unitless input instead of guessing, and rejects biologically implausible values.
FALSE PRECISION. The standard equations disagree. Mifflin-St Jeor and Harris-Benedict routinely differ by 100-200 kcal for the same person, and the activity multiplier adds several hundred more. Every calculator on the internet reports one formula to the calorie. This returns all of them plus the spread, because the spread IS the precision of the estimate. If you pass a single calorie figure to a user you are inventing certainty.
Input: height and weight MUST carry units (178cm, 5'10", 75kg, 165lb, 11st 8lb). sex and age are required by the equations. bodyFatPercent is optional and worth supplying — it adds the Katch-McArdle estimate and moves protein onto lean mass. activity, proteinGoal, targetBmi, and dailyDeficitKcal are optional.
Returns: both unit systems, BMI with WHO category AND the lower cutoffs WHO publishes for South and East Asian populations, every BMR estimate with the spread in calories and percent, a TDEE range, a protein range, an optional target and timeline, warnings, and a disclaimer field.
THIS IS NOT MEDICAL ADVICE and the response says so in its payload, not just on the page. Report the range and the disclaimer to the user. Do not present these figures as clinical guidance, and do not strip the caveats — they are the honest part of the answer.
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Years, 15-100. Outside that the equations do not apply. | |
| sex | Yes | Required by the BMR equations, which are fitted separately. | |
| height | Yes | Height WITH a unit. Accepts 178cm, 1.78m, 5'10", 5 ft 10 in, 70in. A bare number is REFUSED because it is ambiguous. | |
| weight | Yes | Weight WITH a unit. Accepts 75kg, 165lb, 11st 8lb. A bare number is REFUSED. | |
| activity | No | Activity band, default sedentary. This is the LARGEST source of error in the estimate — most people overestimate. If between two bands, take the lower. | |
| targetBmi | No | Target BMI, 15-40, to compute a goal weight. | |
| proteinGoal | No | Which protein guidance range to report. Default maintenance. | |
| bodyFatPercent | No | Optional but worth supplying: adds the Katch-McArdle estimate, which uses lean mass, and moves the protein target onto lean mass. | |
| dailyDeficitKcal | No | Daily deficit, to estimate a timeline. The timeline is a lower bound. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Discloses far more than the readOnlyHint=true annotation: it reveals refusal behavior ('REFUSES unitless input instead of guessing'), input validation ('rejects biologically implausible values'), multi-formula returns with the spread as the measure of precision, and a disclaimer embedded in the payload. It also instructs the agent how to relay results ('Report the range and the disclaimer... do not strip the caveats'). No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Roughly 300 words, but deliberately structured: a one-line front-loaded purpose, two bolded rationale sections, then Input/Returns/safety sections. Given 9 parameters and no output schema — meaning return shape must be described in prose — the length is earned. Every section carries distinct information, and the closing safety directive is non-redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is complex: 9 params, 3 enums, 4 required, and no output schema. The description covers required inputs, unit policy, optional-parameter effects, and the full return payload — both unit systems, WHO categories including Asian cutoffs, BMR spread, TDEE range, protein range, timeline, warnings, and disclaimer. Nothing an agent needs to invoke or relay this tool correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds cross-parameter meaning beyond the schema: it flags bodyFatPercent as changing the estimation method (Katch-McArdle, protein moved onto lean mass), groups required versus optional inputs, and restates the unit-carrier requirement with concrete examples. That is genuine value-add, but each parameter is already well documented in the schema, so not a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb and resource: 'Compute BMI, energy expenditure, and protein targets from height and weight, with explicit error bounds.' The error-bounds qualifier pins down the tool's distinctive output style. No siblings exist, so nothing to differentiate against, but the purpose is unambiguous and complete.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly directs the agent: 'Use this for any of those calculations rather than doing the arithmetic,' then justifies the directive with two concrete failure modes — unit ambiguity producing factor-of-two errors, and false precision from single-formula calculators. This is stronger than implied usage; it tells the agent when and why to delegate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
- First observed
body_metrics
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user, then choose Claim with GitHub. An organization namespace such asio.github.acme/serveralso needs that organization to have installed the Glama AI GitHub App and approved its permissions, because GitHub discloses organization membership only to apps it has installed. Use HTTP or DNS when it has not.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Deterministic fitness calculators — TDEE, adaptive TDEE, body fat, 1RM, macros — with consensus.
Body composition for AI: BMI, body fat, FFMI, waist-to-height, plus saved measurement trends.
Food logging, nutrition summaries, and meal photo calorie and macro estimates.
Log meals, check calories and macros, set up a nutrition plan, and search foods.
Related MCP Servers
- FlicenseAqualityCmaintenanceCalculate TDEE & macro targets, look up food nutrition data, generate meal plans, fix nutrient deficiencies, and score a day's eating from 0–100. Free nutrition tools for AI assistants.5-
- FlicenseNot gradedqualityDmaintenanceCalculates Body Mass Index (BMI) based on weight and height, returning the value and classification.-
- FlicenseAqualityBmaintenanceEnables pediatric CKD nutrition assessment by calculating PRNT energy/protein targets, evaluating dietary intake against those targets, and screening for PEW risk, with support for dialysis, vegetarian diets, and edema corrections.5-
- FlicenseNot gradedqualityFmaintenanceTracks daily calorie intake with accurate BMR/TDEE calculations, food logging, and profile management via Cloudflare Workers and D1 database.4-
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
There is only one tool, so there is no possibility of confusing it with another endpoint. Its purpose is clearly described and distinct by default.
The single name 'body_metrics' is clear and uses consistent snake_case, but it is a descriptive noun phrase rather than the verb_noun convention common in MCP servers. With only one tool there are no conflicting naming styles to penalize heavily.
One tool is a borderline count; it feels thin for a server named Body Metrics even though the single tool is dense and well-designed. It works because all related calculations are bundled, but the surface lacks the modularity expected of a typical 3-15 tool MCP server.
For its declared scope, the tool covers BMI, BMR formulas, TDEE, protein targets, optional body-fat-adjusted estimates, and target timelines with proper caveats. No obvious dead-end or missing core operation exists in this stateless calculation domain.