Skip to main content
Glama
Jambozx

OnlineCyberTools MCP (280+ filterable tools)

math_statistics_calculator

Read-onlyIdempotent

Compute descriptive statistics, z-scores, Pearson/Spearman correlation, or simple linear regression for numeric datasets. Choose from four modes to analyze single or paired data.

Instructions

Statistics Calculator (Descriptive Stats, Z-Scores, Correlation, Regression). Compute descriptive statistics, z-scores, Pearson/Spearman correlation, or simple linear regression for a numeric dataset you supply. The 'operation' field selects one of four modes: 'describe' (single dataset), 'zScores' (single dataset), 'correlation' (two equal-length datasets), or 'linearRegression' (two equal-length datasets). Use this for analysing a list of numbers; use math_percentage_calculator for percent-of and percent-change math, or math_ratio_calculator for proportions. Runs locally on the numbers you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Returns a JSON envelope (success, operation, result) whose 'result' shape depends on the chosen operation; quartiles and percentiles use Type-7 linear interpolation, and excess kurtosis is reported (a normal distribution gives roughly 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesMode selector. describe and zScores each need the values array; correlation and linearRegression each need both x and y arrays.
valuesNoNumeric dataset for describe and zScores (required for those, ignored otherwise). 1 to 100000 finite numbers; numeric strings are coerced. NaN and Infinity are rejected.
xNoFirst numeric dataset for correlation and linearRegression (the independent variable for regression). 2 to 100000 finite numbers; must be the same length as y.
yNoSecond numeric dataset for correlation and linearRegression (the dependent variable for regression). 2 to 100000 finite numbers; must be the same length as x.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successNoAlways true on a 200 response.
operationNoEcho of the requested operation.
resultNoOperation-specific output (fields below are grouped by the operation that returns them).
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses that it runs locally, is read-only, non-destructive, does not contact external services, and is rate-limited (60 req/min). Also details return format (JSON envelope) and special algorithms (Type-7 linear interpolation for quartiles, excess kurtosis). These go beyond annotations which already indicate readOnlyHint and destructiveHint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with the title and main purpose. It is concise yet includes essential details. A minor deduction for slight density but overall efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, output schema, annotations), the description covers purpose, usage guidelines, behavioral traits, return format, and algorithm specifics. It leaves no obvious gaps for an AI agent to correctly select and invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds explanation of operation modes (e.g., 'describe' needs values array, correlation needs x and y) but largely repeats schema descriptions. No significant new parameter semantics beyond what schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool computes descriptive statistics, z-scores, correlation, and linear regression, specifying it works on numeric datasets. It distinguishes from sibling tools math_percentage_calculator and math_ratio_calculator, providing a specific verb and resource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool (analysing a list of numbers) and when to use alternatives (percent-of/percent-change math with math_percentage_calculator, proportions with math_ratio_calculator). Also explains how the 'operation' field selects among four modes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jambozx/onlinecybertools-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server