Skip to main content
Glama

UK Data: Maths and statistics

Server Details

Averages, spread, chi-square, regression, primes, factorials, probability, areas and distances

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

B3.4/5.0

Scored across 22 tools

Disambiguation4/5

Most tools target clearly distinct operations (factorial vs is_prime vs fibonacci), and descriptions clarify the intended scope. Minor overlap exists between calculate_area and polygon_area_shoelace, and between euclidean_distance and calculate_distance (2D plane vs geographic Haversine), which could cause occasional misselection.

Naming Consistency3/5

The set mixes a 'calculate_' prefix (calculate_area, calculate_median, calculate_distance) with bare nouns (average, factorial, cosine_similarity) and other verb styles (create_histogram, solve_quadratic, is_prime). Each name is readable on its own, but there is no single predictable convention across the set.

Tool Count3/5

22 tools is on the heavy side for a general maths/statistics utility server, with many small one-off calculators (clock angle, dice probability, is_power_of_two) that add surface area without a unifying workflow. It is not unreasonable, but it sits in the borderline 16-25 range.

Completeness3/5

Coverage spans descriptive stats, geometry, number theory, probability, and regression, but there are notable gaps for a 'maths and statistics' domain: no mode, variance, percentile/quantile, correlation, sum/min/max, or basic arithmetic operations. Agents would hit dead ends on common requests despite the breadth.

Available Tools

22 tools
averageB
Read-onlyIdempotent
Inspect

Calculates the arithmetic mean (average) of a list of numbers by summing all values and dividing by the count. (cost: 1 credit)

Inputs: numbers.

calculate_areaA
Read-onlyIdempotent
Inspect

Calculates the area of geometric shapes including circle (πr²), triangle (½×base×height), rectangle (length×width), and square (side²). Returns area in square units. (cost: 1 credit)

Inputs: shape, measurements.

calculate_clock_angleA
Read-onlyIdempotent
Inspect

Calculates the smaller angle in degrees between the hour and minute hands of an analog clock given the time. Returns angle between 0 and 180 degrees. (cost: 1 credit)

Inputs: hour, minute.

calculate_distanceA
Read-onlyIdempotent
Inspect

Calculates the great-circle distance between two geographic points using the Haversine formula. Returns distance in kilometers, miles, or nautical miles. (cost: 1 credit)

Inputs: lat1, lat2, lon1, lon2, +1 more.

calculate_medianA
Read-onlyIdempotent
Inspect

Calculates the median (middle value) of a list of numbers. For even-length lists, returns the average of the two middle values. (cost: 1 credit)

Inputs: numbers.

calculate_standard_deviationA
Read-onlyIdempotent
Inspect

Calculates the population standard deviation of a list of numbers using the standard formula: sqrt(Σ(x - μ)² / N). (cost: 1 credit)

Inputs: numbers.

chi_square_independence_testA
Read-onlyIdempotent
Inspect

Performs a Chi-Square test for independence on a 2x2 contingency table. Returns the chi-square statistic, p-value, and whether to reject the null hypothesis at the given significance level. (cost: 1 credit)

Inputs: contingency_table, significance_level.

cosine_similarityB
Read-onlyIdempotent
Inspect

Calculates the cosine similarity between two vectors, returning a value between -1 and 1 where 1 indicates identical direction. (cost: 1 credit)

Inputs: vector_a, vector_b.

create_histogramA
Read-onlyIdempotent
Inspect

Creates a histogram by counting the frequency of data points falling into specified bins or ranges. Returns the frequency count for each bin. (cost: 1 credit)

Inputs: bins, data.

dice_roll_probabilityA
Read-onlyIdempotent
Inspect

Calculates the probability of rolling a specific sum with a given number of dice, each with a specified number of faces. (cost: 1 credit)

Inputs: num_dice, num_faces, target_sum.

euclidean_distanceB
Read-onlyIdempotent
Inspect

Computes the Euclidean distance between two points in a 2D plane using the formula: sqrt((x2-x1)² + (y2-y1)²). (cost: 1 credit)

Inputs: point_a, point_b.

factorialA
Read-onlyIdempotent
Inspect

Calculates the factorial of a non-negative integer n, which is the product of all positive integers less than or equal to n. Returns n! = n × (n-1) × ... × 1. (cost: 1 credit)

Inputs: number.

fibonacciA
Read-onlyIdempotent
Inspect

Generates the first n numbers in the Fibonacci sequence, where each number is the sum of the two preceding ones, starting with 0 and 1. (cost: 1 credit)

Inputs: n.

greatest_common_divisorA
Read-onlyIdempotent
Inspect

Computes the greatest common divisor (GCD) of two non-negative integers using the Euclidean algorithm. (cost: 1 credit)

Inputs: a, b.

is_power_of_twoB
Read-onlyIdempotent
Inspect

Checks if a number is a power of two (2^n for some non-negative integer n). (cost: 1 credit)

Inputs: num.

is_primeA
Read-onlyIdempotent
Inspect

Checks if a positive integer is a prime number (only divisible by 1 and itself). Returns false for numbers less than 2. (cost: 1 credit)

Inputs: num.

least_common_multipleA
Read-onlyIdempotent
Inspect

Computes the least common multiple (LCM) of two positive integers using the relationship LCM(a,b) = (a × b) / GCD(a,b). (cost: 1 credit)

Inputs: a, b.

linear_regression_predictionA
Read-onlyIdempotent
Inspect

Predicts the y-value for a given x-value using simple linear regression (least squares method) fitted to the provided data points. (cost: 1 credit)

Inputs: target_x, x_values, y_values.

permutation_countA
Read-onlyIdempotent
Inspect

Calculates the number of permutations P(n,k) = n!/(n-k)! representing ordered arrangements of k elements selected from n elements. Returns the count as an integer. (cost: 1 credit)

Inputs: k, n.

polygon_area_shoelaceB
Read-onlyIdempotent
Inspect

Calculates the area of a polygon given its vertices using the shoelace formula (also known as the surveyor's formula). (cost: 1 credit)

Inputs: vertices.

probability_consecutive_rollsB
Read-onlyIdempotent
Inspect

Calculates the probability of rolling a specific value consecutively for a given number of rolls on a die with specified sides using the formula (1/num_sides)^num_rolls. Returns probability as a decimal between 0 and 1. (cost: 1 credit)

Inputs: num_rolls, num_sides, target_value.

solve_quadraticA
Read-onlyIdempotent
Inspect

Computes the real and complex roots of a quadratic equation ax² + bx + c = 0 using the quadratic formula. Returns both roots or indicates if no real solutions exist. (cost: 1 credit)

Inputs: a, b, c.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A comprehensive MCP server providing basic and advanced math operations (addition, subtraction, statistics, etc.) as well as smart prompts for multiplication tables, equation solving, financial calculations, geometry, unit conversion, loan amortization, probability, and fitness analytics.
      23
      1
      -
    • A
      license
      A
      quality
      B
      maintenance
      Provides LLMs with deterministic math tools for sandboxed expression evaluation, descriptive statistics, primality testing, prime factorization, GCD/LCM, quadratic solving, and base conversion. Every operation runs real code rather than relying on the model's arithmetic, with expression parsing restricted to a whitelist of operators, constants, and functions.
      21
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides 21 mathematical tools across 6 domains including basic calculations, array operations, statistics, financial mathematics, linear algebra, and calculus. Supports batch execution for complex multi-step workflows with intelligent dependency resolution.
      21
      6
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources