Safe math evaluator
math_evalEvaluate arithmetic exactly instead of guessing: + - * / ^ %, parentheses, sqrt/ln/log/round/min/max/pow, pi/e and named variables. No code execution. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]
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": {
"expr": "<expr>"
},
"name": "math_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | expression | |
| vars | No | JSON object of variables |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||