Skip to main content
Glama

MaCalculatriceEnLigne

Calculate BMR

calculate_bmr
Read-onlyIdempotent

Calculate Basal Metabolic Rate using Mifflin-St Jeor equation. Returns: {bmr_kcal}. See list_bundles for related 'sante' calculators.

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years
sexYesBiological sex
height_cmYesHeight in centimeters
weight_kgYesWeight in kilograms

Output Schema

NameRequiredDescriptionDefault
resultNoComputed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools).
sourceNoAuthoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21").
formulaNoHuman-readable formula or method used (e.g. "I=P·r·t", "Magnus formula").
reference_urlNoLink to a calcul2 page documenting the calculation in detail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so safety is covered. The description adds genuinely useful context by naming the exact equation used, which explains the computation. It does not disclose edge cases (e.g., formula limits by age/sex), but an output schema exists, so return detail is not required here.

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 short sentences, front-loaded with the core action and method, then the return. No wasted words. Every clause earns its place.

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 simple deterministic calculator, the definition is essentially complete: annotations cover the safety profile, the schema fully documents the four inputs, and an output schema handles the return shape. The only missing piece is explicit routing guidance versus adjacent health calculators.

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% — all four parameters (weight_kg, height_cm, age, sex) are documented in the schema with ranges and an enum. The description adds no additional parameter meaning, 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) and even specifies the method (Mifflin-St Jeor), which meaningfully distinguishes it from siblings like calculate_bmi or calculate_tdee. It stops short of explicitly contrasting those siblings, but the formula pinpoints the exact calculation.

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?

The description implies its own use case through the resource name but offers no explicit when-to-use or when-not conditions relative to calculate_tdee, calculate_bmi, or calculate_ideal_weight. The 'see list_bundles' line is a discovery pointer rather than usage guidance, leaving the agent to infer applicability.

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.