# agent402.tools Descriptive Statistics Summary

> agent402.tools Descriptive Statistics Summary is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes a full descriptive statistics panel (count, sum, mean, median, mode, stddev, variance, min, max, range, Q1, Q3, IQR) for an array of numbers in a single call.

## Facts

- Endpoint: POST https://agent402.tools/api/stats-summary
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-descriptive-statistics-summary-05d4493a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_smHed3QDBtnZ0dh9bRzam

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-tools-descriptive-statistics-summary-05d4493a -d '<json body>'
```

Example prompt: Give me the full descriptive stats — mean, median, mode, standard deviation, variance, min, max, range, Q1, Q3, and IQR — for this dataset: [4, 7, 13, 2, 1, 9, 7, 15, 3, 7, 11, 6].

## When to prefer this

Use this endpoint when you need multiple descriptive statistics for a numeric dataset in a single call, rather than chaining 12+ individual computation tools. Ideal when you already have the full array in memory and want count, central tendency, spread, and quartile metrics all at once without multiple round trips.

## Known failure modes

- Empty array provided — endpoint requires at least one value
- Array exceeds 10,000 element limit — request rejected
- Non-numeric values in array — schema validation error
- Malformed JSON body — 400 bad request
- Payment not attached or insufficient USDC — 402 payment required

## How this service works

Compute the full descriptive-stats panel for an array of numbers in one call: count, sum, mean, median, mode, stddev (sample), variance, min, max, range, q1, q3, IQR. Beats calling 12 separate tools when you already have the array in front of you.

## Output

Returns a complete descriptive statistics panel including count, sum, mean, median, mode, sample standard deviation, variance, min, max, range, first quartile (Q1), third quartile (Q3), and interquartile range (IQR) for the provided numeric array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "description": "Non-empty array of numbers (max 10000)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "q1": 3.25,
  "q3": 7.75,
  "iqr": 4.5,
  "max": 10,
  "min": 1,
  "sum": 55,
  "mean": 5.5,
  "mode": null,
  "count": 10,
  "range": 9,
  "median": 5.5,
  "stddev": 3.0277,
  "variance": 9.1667
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-descriptive-statistics-summary-05d4493a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
