Skip to main content
Glama

TinyFn

calculate_bmr

Calculate Basal Metabolic Rate (BMR) using Mifflin-St Jeor equation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYesAge in years
sexYesSex: male or female
height_cmYesHeight in centimeters
weight_kgYesWeight in kilograms

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageYes
sexYes
height_cmYes
weight_kgYes
bmr_caloriesYes
tdee_by_activityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description bears full burden. It only repeats the tool's purpose without disclosing behaviors like input validation, edge cases (e.g., zero age), or the formula's limitations. Lacks transparency.

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?

Single sentence, front-loaded with purpose and formula name. No wasted words, but could be slightly expanded without losing conciseness.

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?

With output schema present and simple calculator, the description is minimally complete. However, it could include expected output units or mention that BMR is in calories per day. Still adequate for a straightforward tool.

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 coverage is 100%, so parameters are well-documented in the schema. The description adds no extra meaning beyond naming the equation, which is already implied. Baseline 3 is appropriate.

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?

The description clearly states it calculates BMR using the Mifflin-St Jeor equation, which is specific and differentiates it from siblings like calculate_bmi. However, it does not explicitly compare to similar tools, but the equation name adds distinctiveness.

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?

No guidance on when to use this tool versus alternatives (e.g., calculate_bmi, calculate_macros). There is no mention of prerequisites or typical use cases.

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.