Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_z_score

Calculate z-score, cumulative probability, two-tailed p-value, and percentile rank from a raw score, population mean, and standard deviation for exact standard normal distribution analysis.

Instructions

Z-Score & Standard Normal Distribution Calculator. Calculate standard score z, cumulative probability P(Z < z), two-tailed p-value, and percentile rank in a standard normal distribution. Discipline: STATISTICS. Governing mathematical model / formula: z = (x - μ) / σ | Φ(z) = ½ · [1 + erf(z / √2)].

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of z_score_val (Standard Score (z)), percentile_rank (Percentile Rank P(X < x)), p_value_two_tail (Two-Tailed Probability p-value), t_score_equiv (T-Score Equivalent (50 + 10z)) using raw_score (Raw Value (x)), population_mean (Population Mean (μ)), std_deviation (Standard Deviation (σ)). 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 'Z-Score & Standard Normal Distribution 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): "z-score"

    • category (string): "statistics"

    • name (string): "Z-Score & Standard Normal Distribution Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.z_score_val (Standard Score (z)): Formatted display string (e.g. '+1.5000')

      • metrics.percentile_rank (Percentile Rank P(X < x)): Formatted display string (e.g. '93.32%')

      • metrics.p_value_two_tail (Two-Tailed Probability p-value): Formatted display string (e.g. '0.1336')

      • metrics.t_score_equiv (T-Score Equivalent (50 + 10z)): Formatted display string (e.g. '65.00')

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

Input Schema

NameRequiredDescriptionDefault
raw_scoreNoRaw Value (x). Observed test score or data point. Default: 85. Min: -10000. Max: 10000.
std_deviationNoStandard Deviation (σ). Spread of distribution (σ > 0). Default: 10. Min: 0.001. Max: 1000.
population_meanNoPopulation Mean (μ). Average value of distribution. Default: 70. Min: -10000. Max: 10000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools