Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_target_heart_rate

Calculates cardiovascular training heart rate zones and estimated max HR from age and resting heart rate using the Karvonen Heart Rate Reserve formula, avoiding manual arithmetic errors.

Instructions

Target Heart Rate & Training Zones Calculator. Calculate cardiovascular training heart rate zones (Zone 1 Recovery to Zone 5 VO2 Max) using the Karvonen Heart Rate Reserve formula. Discipline: HEALTH. Governing mathematical model / formula: Target HR = [(Max HR - Resting HR) × Intensity%] + Resting HR.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of zone2_hr (Zone 2 (Aerobic Base / Fat Burn 60-70%)), zone4_hr (Zone 4 (Lactate Threshold 80-90%)), max_hr (Estimated Max Heart Rate), hr_reserve (Heart Rate Reserve (HRR)) using age_years (Age in yrs), resting_hr (Resting Heart Rate (RHR) in BPM). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.

  • WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.

DISAMBIGUATION & BOUNDARIES:

  • Use this dedicated specialist tool for 'Target Heart Rate & Training Zones Calculator' rather than generic dispatchers like omni_universal_query.

  • For multi-calculation chained jobs, use 'omni_batch_calculate'.

  • To inspect schema fields, see 'omni_describe_solver'.

BEHAVIOR & SAFETY:

  • Pure deterministic computation with machine floating-point precision.

  • Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.

  • Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.

RETURNS:

  • Structured JSON object containing:

    • status (string): "success" on valid execution or "error" if validation fails

    • calculator (string): "target-heart-rate"

    • category (string): "health"

    • name (string): "Target Heart Rate & Training Zones Calculator"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.zone2_hr (Zone 2 (Aerobic Base / Fat Burn 60-70%)): Formatted display string (e.g. '136 - 148 BPM')

      • metrics.zone4_hr (Zone 4 (Lactate Threshold 80-90%)): Formatted display string (e.g. '160 - 173 BPM')

      • metrics.max_hr (Estimated Max Heart Rate): Formatted display string (e.g. '185 BPM')

      • metrics.hr_reserve (Heart Rate Reserve (HRR)): Formatted display string (e.g. '123 BPM')

    • execution_time_ms (number): Latency in milliseconds.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "omni_target_heart_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
age_yearsNoAge (yrs). Your age in years. Default: 35. Min: 15. Max: 95.
resting_hrNoResting Heart Rate (RHR) (BPM). Morning resting pulse before getting out of bed. Default: 62. Min: 35. Max: 110.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools