Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_standard_deviation

Calculates sample and population standard deviation, variance, arithmetic mean, and sum of squared deviations for up to five numeric values, eliminating manual arithmetic errors.

Instructions

Standard Deviation & Variance Calculator. Calculate sample and population standard deviation, variance, arithmetic mean, and sum of squared deviations for statistical datasets. Discipline: STATISTICS. Governing mathematical model / formula: Sample s = √[∑(xᵢ - x̄)² / (n - 1)] | Population σ = √[∑(xᵢ - μ)² / N].

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of sample_sd (Sample Standard Deviation (s)), population_sd (Population Standard Deviation (σ)), arithmetic_mean (Arithmetic Mean (x̄)), sample_variance (Sample Variance (s²)) using val_1 (Value 1), val_2 (Value 2), val_3 (Value 3), val_4 (Value 4), val_5 (Value 5). 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.

  • SIBLING ROUTING: Use this dedicated specialist tool for 'Standard Deviation & Variance Calculator' rather than generic dispatchers like omni_universal_query. For cross-discipline dynamic dispatch, see omni_universal_query.

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): "standard-deviation"

    • category (string): "statistics"

    • name (string): "Standard Deviation & Variance Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.sample_sd (Sample Standard Deviation (s)): Formatted display string (e.g. '9.4868')

      • metrics.population_sd (Population Standard Deviation (σ)): Formatted display string (e.g. '8.4853')

      • metrics.arithmetic_mean (Arithmetic Mean (x̄)): Formatted display string (e.g. '24.0000')

      • metrics.sample_variance (Sample Variance (s²)): Formatted display string (e.g. '90.0000')

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

Input Schema

NameRequiredDescriptionDefault
val_1NoValue 1. Data point 1. Default: 12. Min: -10000. Max: 10000.
val_2NoValue 2. Data point 2. Default: 18. Min: -10000. Max: 10000.
val_3NoValue 3. Data point 3. Default: 24. Min: -10000. Max: 10000.
val_4NoValue 4. Data point 4. Default: 30. Min: -10000. Max: 10000.
val_5NoValue 5. Data point 5. Default: 36. 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