Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_daily_protein

Calculate daily protein intake and per-meal targets from body weight and training goal, eliminating LLM arithmetic errors.

Instructions

Daily Protein Requirement & Muscle Synthesis Calculator. Calculate optimal daily protein intake in grams and meals based on lean body mass, resistance training goals, and age-related anabolic resistance. Discipline: HEALTH. Governing mathematical model / formula: Target Protein (g) = Body Weight (lbs) × Protein Density Factor (g/lb).

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of daily_protein_g (Daily Protein Target), protein_per_meal (Per-Meal Bolus (4 Meals)), protein_calories (Total Protein Calories), rda_comparison (Comparison to FDA RDA (0.36 g/lb)) using body_weight (Body Weight in lbs), activity_tier (Training Goal (0.8 Sedentary, 1.0 Hypertrophy, 1.2 Cut)). 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 'Daily Protein Requirement & Muscle Synthesis 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): "daily-protein"

    • category (string): "health"

    • name (string): "Daily Protein Requirement & Muscle Synthesis Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.daily_protein_g (Daily Protein Target): Formatted display string (e.g. '175 g / day')

      • metrics.protein_per_meal (Per-Meal Bolus (4 Meals)): Formatted display string (e.g. '43.8 g / meal (3g Leucine)')

      • metrics.protein_calories (Total Protein Calories): Formatted display string (e.g. '700 kcal (4 kcal/g)')

      • metrics.rda_comparison (Comparison to FDA RDA (0.36 g/lb)): Formatted display string (e.g. '278% of basic survival RDA')

    • 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_daily_protein"
  }
}

Input Schema

NameRequiredDescriptionDefault
body_weightNoBody Weight (lbs). Current scale weight. Default: 175. Min: 80. Max: 400.
activity_tierNoTraining Goal (0.8 Sedentary, 1.0 Hypertrophy, 1.2 Cut). 1.0 g/lb standard for lifters; 1.2 g/lb during caloric cuts. Default: 1. Min: 0.36. Max: 1.4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools