Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_intermittent_fasting

Calculate fasting and feeding windows for 16:8, 18:6, 20:4, and OMAD protocols, including ketosis and autophagy onset milestones, to eliminate manual arithmetic errors.

Instructions

Intermittent Fasting & Autophagy Schedule Calculator. Calculate fasting and feeding windows for 16:8, 18:6, 20:4, and OMAD fasting schedules with biological milestones (ketosis, autophagy). Discipline: HEALTH. Governing mathematical model / formula: Fasting Window = 24 Hours - Eating Window Hours.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of feeding_window (Daily Eating Window), fasting_window (Fasting Period), ketosis_onset (Mild Ketosis Transition), autophagy_peak (Cellular Autophagy Onset) using fasting_hours (Fasting Protocol (16, 18, 20, or 23) in hours), first_meal_hour (First Meal Time (24-Hour Format) in :00). 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 'Intermittent Fasting & Autophagy Schedule 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): "intermittent-fasting"

    • category (string): "health"

    • name (string): "Intermittent Fasting & Autophagy Schedule Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.feeding_window (Daily Eating Window): Formatted display string (e.g. '12:00 PM – 8:00 PM (8 hrs)')

      • metrics.fasting_window (Fasting Period): Formatted display string (e.g. '8:00 PM – 12:00 PM (16 hrs)')

      • metrics.ketosis_onset (Mild Ketosis Transition): Formatted display string (e.g. 'Hour 12 to 14 of fast')

      • metrics.autophagy_peak (Cellular Autophagy Onset): Formatted display string (e.g. 'Hour 16 to 18 of fast')

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

Input Schema

NameRequiredDescriptionDefault
fasting_hoursNoFasting Protocol (16, 18, 20, or 23) (hours). 16 for 16:8 Leangains, 18 for 18:6, 20 for Warrior Diet. Default: 16. Min: 12. Max: 24.
first_meal_hourNoFirst Meal Time (24-Hour Format) (:00). 12 = 12:00 PM noon. Default: 12. Min: 6. Max: 20.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools