Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_frustum_cone

Calculate the volume, slant height, lateral surface area, and total surface area of a truncated cone from base radii and height, returning deterministic results to avoid manual arithmetic errors.

Instructions

Frustum of a Cone (Truncated Cone) Calculator. Calculate volume, lateral surface area, slant height, and total surface area of a truncated cone (frustum) from base radii and height. Discipline: GEOMETRY. Governing mathematical model / formula: Volume = ⅓ · π · h · (R² + Rr + r²) | Slant Height s = √[h² + (R - r)²].

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of frustum_volume (Frustum Volume), slant_height (Slant Height (s)), lateral_surface (Lateral Surface Area), total_surface (Total Surface Area) using bottom_radius (Bottom Base Radius (R) in units), top_radius (Top Base Radius (r) in units), frustum_height (Frustum Height (h) in units). 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 'Frustum of a Cone (Truncated Cone) 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): "frustum-cone"

    • category (string): "geometry"

    • name (string): "Frustum of a Cone (Truncated Cone) Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.frustum_volume (Frustum Volume): Formatted display string (e.g. '1,172.8613 units³')

      • metrics.slant_height (Slant Height (s)): Formatted display string (e.g. '10.7703 units')

      • metrics.lateral_surface (Lateral Surface Area): Formatted display string (e.g. '406.0270 units²')

      • metrics.total_surface (Total Surface Area): Formatted display string (e.g. '657.3697 units²')

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

Input Schema

NameRequiredDescriptionDefault
top_radiusNoTop Base Radius (r) (units). Radius of smaller circular top base. Default: 4. Min: 0.1. Max: 1000.
bottom_radiusNoBottom Base Radius (R) (units). Radius of larger circular base. Default: 8. Min: 0.5. Max: 1000.
frustum_heightNoFrustum Height (h) (units). Vertical distance between parallel bases. Default: 10. Min: 0.5. Max: 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools