Skip to main content
Glama

Human Body Calculator MCP

Exercise Calorie Burn (MET) Calculator

calculate_exercise_calorie
Read-onlyIdempotent

Calculate calories burned during running, walking, cycling, swimming, or yoga using 2011 Compendium METs * weight_kg * duration_hours. Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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": {
      "weight": "<weight>",
      "duration": "<duration>"
    },
    "name": "calculate_exercise_calorie"
  }
}

Input Schema

NameRequiredDescriptionDefault
weightYesBody weight in weightUnit (1-500 kg equivalent).
durationYes
weightUnitNoWeight unit: "kg" (default) or "lbs".
exerciseTypeNo

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description usefully adds the underlying methodology (2011 Compendium METs) and an explicit non-medical-advice scope, but says nothing about precision, rounding, or how less-common enum values such as hiit and other are handled.

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?

Front-loaded with the calculation method and the supported activities, with no wasted preamble. The closing sentence is boilerplate liability language, but it is short and arguably appropriate for a health-adjacent estimate.

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?

An output schema exists, so return values need not be described. However, with two of four parameters undocumented at the schema level and enum values hiit/other unexplained, the description leaves gaps an agent would hit when invoking it with edge-case inputs.

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 50%: weight and weightUnit are documented in the schema, while duration and exerciseType are not. The description partly compensates by expressing the formula as duration_hours and weight_kg, clarifying the time unit, but it never explains the exerciseType parameter, its default, or the MET value assumed for each activity.

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 ("Calculate calories burned") and pins the domain to five named activities with the exact MET formula. It is clearly distinguishable from intake-oriented siblings like calculate_calorie_needs. Slight demerit: the enumerated activity list omits hiit and other, which the schema enum accepts.

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 versus alternatives, and no prerequisites or exclusions are given. The only contextual sentence is a medical disclaimer, which sets framing but does not tell an agent when this tool is the right choice.

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