Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_ld50_therapeutic_index

Calculate Therapeutic Index and Margin of Safety from LD50/ED50 and LD1/ED99 dose-response data to assess drug safety margins and lethal/efficacious dose overlap.

Instructions

Toxicology Therapeutic Index (TI) & Margin of Safety (MOS) Calculator. Calculate Therapeutic Index (TI), Margin of Safety (MOS / Certain Safety Factor), and drug therapeutic window safety ratios from preclinical dose-response curves. Discipline: BIOTECH. Governing mathematical model / formula: Therapeutic Index (TI) = LD₅₀ / ED₅₀ | Margin of Safety (MOS) = LD₁ / ED₉₉.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of therapeutic_index_ratio (Therapeutic Index (TI)), margin_of_safety_mos (Margin of Safety (MOS)), safety_tier_classification (Clinical Safety Profile), dose_overlap_check (Lethal / Efficacious Overlap) using median_lethal_dose_ld50 (Median Lethal Dose LD₅₀ (mg/kg) in mg/kg), median_effective_dose_ed50 (Median Effective Dose ED₅₀ (mg/kg) in mg/kg), minimal_lethal_dose_ld1 (Minimal Lethal Dose LD₁ (mg/kg) in mg/kg), maximal_effective_dose_ed99 (Maximal Effective Dose ED₉₉ (mg/kg) in mg/kg). 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 'Toxicology Therapeutic Index (TI) & Margin of Safety (MOS) 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): "ld50-therapeutic-index"

    • category (string): "biotech"

    • name (string): "Toxicology Therapeutic Index (TI) & Margin of Safety (MOS) Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.therapeutic_index_ratio (Therapeutic Index (TI)): Formatted display string (e.g. '18.00 (Wide Therapeutic Window)')

      • metrics.margin_of_safety_mos (Margin of Safety (MOS)): Formatted display string (e.g. '3.00 Certain Safety Factor')

      • metrics.safety_tier_classification (Clinical Safety Profile): Formatted display string (e.g. 'Safe Pharmaceutical Agent (TI > 10)')

      • metrics.dose_overlap_check (Lethal / Efficacious Overlap): Formatted display string (e.g. 'Zero Toxic Overlap (LD₁ > ED₉₉)')

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

Input Schema

NameRequiredDescriptionDefault
median_lethal_dose_ld50NoMedian Lethal Dose LD₅₀ (mg/kg) (mg/kg). Dose lethal to 50% of preclinical animal population. Default: 450. Min: 0.1. Max: 10000.
minimal_lethal_dose_ld1NoMinimal Lethal Dose LD₁ (mg/kg) (mg/kg). Dose lethal to 1% of population (start of toxicity curve). Default: 180. Min: 0.1. Max: 5000.
median_effective_dose_ed50NoMedian Effective Dose ED₅₀ (mg/kg) (mg/kg). Dose producing desired therapeutic effect in 50% of population. Default: 25. Min: 0.01. Max: 1000.
maximal_effective_dose_ed99NoMaximal Effective Dose ED₉₉ (mg/kg) (mg/kg). Dose effective in 99% of population. Default: 60. Min: 0.1. Max: 2000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools