Calculator, statistics and unit converter
math_calcEvaluate math expressions, compute summary statistics from number lists, and convert units across length, mass, volume, area, speed, data, time, energy, and temperature.
Instructions
Exact math agents shouldn't guess: evaluate an expression (+ - * / % ^, sqrt, log, sin, pi...), summary statistics for a list of numbers (mean, median, std dev, percentiles, mode), or convert units (length, mass, volume, area, speed, data, time, energy, temperature). Costs $0.001 per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"op": "<op>"
},
"name": "math_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | "eval", "stats" or "convert". | |
| to | No | For convert: unit, e.g. "km", "kg", "c", "gb". | |
| from | No | For convert: unit, e.g. "mi", "lb", "f", "gib". | |
| value | No | For convert: the amount. | |
| numbers | No | For stats. | |
| expression | No | For eval, e.g. "(1200 * 1.08^5) / 12". |