Evaluate a math expression and get the exact number back, so the agent does not
Evaluate a math expression and get the exact number back, so the agent does not do arithmetic in its head. Supports + - * / % ^ (or **), parentheses, implicit multiplication (2pi), factorial (5!), constants pi, e, tau, phi, and functions sqrt, cbrt, abs, exp, ln, log (base 10), log2, sin/cos/tan (radians) and inverses, floor, ceil, round, min, max, pow, hypot. Optional named variables. Safe parser (no code execution); errors such as division by zero return 400 (not charged).
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/util/calc
| Category | Code and developer |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 973 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 974 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"expression": "principal*(1+rate/12)^(12*years)",
"precision": "2",
"vars": "principal=10000,rate=0.05,years=10"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"expression": {
"description": "Math expression, e.g. (1250*0.075)+sqrt(144)/3",
"type": "string"
},
"precision": {
"description": "Decimal places to round to, 0\u201315 (default 12)",
"type": "string"
},
"vars": {
"description": "Optional variables, e.g. x=2,rate=0.05",
"type": "string"
}
},
"required": [
"expression"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}