{"uid":"cap_DgeVBbDIIsJ7iHLgVMUgy","slug":"logicnodes-money-calculator-5b7a296b","name":"LogicNodes Money Calculator","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/money_calc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"op":{"enum":["round","add","subtract","multiply","split"],"type":"string"},"other":{"type":"string"},"parts":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"amount":{"type":"string"},"factor":{"type":"string"},"ratios":{"type":"array","items":{"type":"string"}},"currency":{"type":"string"},"rounding":{"enum":["down","up","floor","ceil","half_up","half_even","half_down"],"type":"string","description":"rounding rule; default half_up (ties away from zero). half_even is banker's rounding"}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"money_calc"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IyG7bMYR7XtOe2o1KZLDi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs precise monetary arithmetic (rounding, addition, subtraction, multiplication, splitting, ratio-based splitting) on currency amounts using exact decimal math","exampleAgentPrompt":"Split $347.89 equally among 4 people and round each share down to the nearest cent.","exampleUseCases":[{"title":"Restaurant bill splitting","prompt":"We have a dinner bill of $213.45 to split equally among 6 people — calculate each person's exact share, rounding half-up to the nearest cent."},{"title":"DeFi fee calculation","prompt":"I need to multiply 0.00731 ETH by a factor of 1.005 to add a 0.5% protocol fee — give me the exact result without any floating point rounding errors."},{"title":"Proportional fund distribution","prompt":"Distribute $10,000 across 3 wallets using ratios 50, 30, and 20 — round each portion down so the total never exceeds the original amount."}],"resultDescription":"A JSON object with ok: true, the tool name 'money_calc', and the computed result — a precisely calculated monetary value (or array of values for splits) free of floating-point errors, in the requested currency with the specified rounding applied.","failureModes":["Invalid or missing 'op' enum value returns an error","Non-numeric 'amount' or 'other' strings cause parse failure","'parts' of 0 or negative values cause division errors for split operations","Ratios that don't sum to a meaningful total may cause unexpected proportional results","Missing required fields for the chosen operation (e.g. no 'factor' for multiply) return validation errors","Network or payment (x402) issues cause 402 or timeout responses"],"whenToPreferThis":"Choose this endpoint when you need exact, deterministic monetary arithmetic — especially for splitting bills, fee calculations, or financial distributions where floating-point precision errors from native language runtimes would be unacceptable. Ideal for AI agents operating in DeFi or payment contexts where a rounding error can cause fund loss. Prefer this over doing arithmetic locally when you need banker's rounding, proportional splitting by ratios, or reproducible exact results across environments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:39:57.849Z","isFirstParty":false,"canonicalSlug":"logicnodes-money-calculator-5b7a296b"}