返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Math Evaluate

计算数学表达式、统计分析和百分比。

person作者: cutthemustardhubclawhub

math-evaluate

Safe math expression evaluation with variables, descriptive statistics (mean, median, mode, stddev, percentiles), and percentage calculations.

Data Handling

This skill sends expressions to an external API for evaluation. The service does not store or log input data beyond the immediate response.

Endpoints

Evaluate Expression

curl -X POST https://math.agentutil.net/v1/evaluate \
  -H "Content-Type: application/json" \
  -d '{"expression": "2 * x + y", "variables": {"x": 20, "y": 2}}'

Statistics

curl -X POST https://math.agentutil.net/v1/statistics \
  -H "Content-Type: application/json" \
  -d '{"values": [10, 20, 30, 40, 50]}'

Returns: count, sum, mean, median, mode, min, max, range, variance, stddev.

Percentage

curl -X POST https://math.agentutil.net/v1/percentage \
  -H "Content-Type: application/json" \
  -d '{"operation": "change", "a": 100, "b": 125}'

Operations: of (a% of b), change (% change from a to b), is_what_percent (a is what % of b).

Response Format

{
  "result": 42,
  "expression": "2 * x + y",
  "variables_used": {"x": 20, "y": 2},
  "request_id": "abc-123",
  "service": "https://math.agentutil.net"
}

Pricing

  • Free tier: 10 queries/day, no authentication required
  • Paid tier: $0.001/query via x402 protocol (USDC on Base)

Privacy

No authentication required for free tier. No personal data collected. Rate limiting uses IP hashing only.