math_eval
Evaluate math expressions (64-digit precision, units, matrices) ($0.001 per call, paid via MPP on Tempo). Evaluate one or many expressions with 64-significant-digit arithmetic: functions, constants, complex numbers, matrices, statistics, combinatorics, and unit arithmetic/conversion ("5 km/h to m/s", "2 inch * 3 cm to cm^2"). Variables via scope or earlier lines (x = 3; x^2). Sandboxed parser, no code execution. HTTP POST https://mpp-tools.fmf-x402.workers.dev/mpp/math/eval. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
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": "math_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | No | ||
| exprs | No | up to 50, evaluated in order with a shared scope | |
| scope | No | variables, e.g. {"x": 2} | |
| precision | No | significant digits in result strings, 1-64 (default 14) |