Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_arc_length

Calculates circular arc length, sector area, chord length, and segment area from radius and central angle to prevent arithmetic errors and formula mistakes.

Instructions

Arc Length, Sector Area & Chord Calculator. Calculate circular arc length (s), sector area, segment area, and chord length from circle radius and central angle (degrees or radians). Discipline: GEOMETRY. Governing mathematical model / formula: Arc Length s = r · θ (rad) = [π · r · θ°] / 180° | Sector Area = ½ · r² · θ.

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of arc_length_val (Arc Length (s)), sector_area_val (Sector Area (Pie Slice)), chord_length_val (Chord Length (c)), segment_area_val (Segment Area (Between Arc & Chord)) using circle_radius (Circle Radius (r) in units), central_angle_deg (Central Angle (θ in Degrees) in degrees). 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 'Arc Length, Sector Area & Chord 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): "arc-length"

    • category (string): "geometry"

    • name (string): "Arc Length, Sector Area & Chord Calculator"

    • formula (string): Governing mathematical formula string

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

    • metrics (object): Dictionary of computed outputs:

      • metrics.arc_length_val (Arc Length (s)): Formatted display string (e.g. '10.4720 units')

      • metrics.sector_area_val (Sector Area (Pie Slice)): Formatted display string (e.g. '52.3599 units²')

      • metrics.chord_length_val (Chord Length (c)): Formatted display string (e.g. '10.0000 units')

      • metrics.segment_area_val (Segment Area (Between Arc & Chord)): Formatted display string (e.g. '9.0586 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_arc_length"
  }
}

Input Schema

NameRequiredDescriptionDefault
circle_radiusNoCircle Radius (r) (units). Radius of circle. Default: 10. Min: 0.1. Max: 1000.
central_angle_degNoCentral Angle (θ in Degrees) (degrees). Angle subtended at center. Default: 60. Min: 1. Max: 360.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools