Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_drug_elimination_half_life

Calculates pharmacokinetic elimination half-life, elimination rate constant, systemic clearance, remaining plasma concentration, and washout time from drug volume of distribution and clearance inputs.

Instructions

Pharmacokinetics Drug Elimination Half-Life (t½) & Clearance Calculator. Calculate elimination rate constant (ke), elimination half-life (t½), systemic drug clearance (CL), and time to steady state accumulation or 99% elimination. Discipline: BIOTECH. Governing mathematical model / formula: t½ = ln(2) / ke ≈ 0.693 / ke | ke = CL / Vd | t_99% = 6.64 · t½.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of elimination_half_life_hours (Elimination Half-Life (t½)), elimination_rate_constant_ke (Elimination Rate Constant (ke)), plasma_concentration_at_time_t (Remaining Plasma Level C(t)), time_to_complete_washout (Time to 97% Elimination (5 t½)) using volume_of_distribution_vd (Volume of Distribution (Vd in Liters) in L), systemic_clearance_cl (Systemic Clearance (CL in L/hour) in L/hr), initial_peak_concentration_c0 (Peak Plasma Concentration (C₀ in mg/L) in mg/L), elapsed_time_hours (Elapsed Post-Dose Time (Hours) in hours). 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 'Pharmacokinetics Drug Elimination Half-Life (t½) & Clearance 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): "drug-elimination-half-life"

    • category (string): "biotech"

    • name (string): "Pharmacokinetics Drug Elimination Half-Life (t½) & Clearance Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.elimination_half_life_hours (Elimination Half-Life (t½)): Formatted display string (e.g. '8.32 Hours')

      • metrics.elimination_rate_constant_ke (Elimination Rate Constant (ke)): Formatted display string (e.g. '0.0833 hr⁻¹')

      • metrics.plasma_concentration_at_time_t (Remaining Plasma Level C(t)): Formatted display string (e.g. '9.20 mg/L')

      • metrics.time_to_complete_washout (Time to 97% Elimination (5 t½)): Formatted display string (e.g. '41.6 Hours (5 Half-Lives)')

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

Input Schema

NameRequiredDescriptionDefault
elapsed_time_hoursNoElapsed Post-Dose Time (Hours) (hours). Hours following dose administration. Default: 12. Min: 0.5. Max: 168.
systemic_clearance_clNoSystemic Clearance (CL in L/hour) (L/hr). Volume of plasma cleared of drug per unit time (hepatic + renal). Default: 3.5. Min: 0.1. Max: 100.
volume_of_distribution_vdNoVolume of Distribution (Vd in Liters) (L). Apparent physiological volume into which drug distributes. Default: 42. Min: 1. Max: 1000.
initial_peak_concentration_c0NoPeak Plasma Concentration (C₀ in mg/L) (mg/L). Maximum post-infusion or absorption plasma level. Default: 25. Min: 0.1. Max: 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools