{"uid":"cap_Z9K2qqzWk4Ijg45UhDIPv","slug":"agent-data-tools-revmesh2074-workers-dev-tip-calculator-tip-total-and-7d235c82","name":"Tip Calculator: Tip, Total and Split Per Person","description":"566 pay-per-call tools for AI agents over HTTP or MCP, from $0.002 a call, most at $0.01. Every caller gets 25 free calls; then pay per call in USDC via x402 (Base, Polygon, Arbitrum, Solana) or by card with prepaid credits from /credits. No account needed; failed calls are never charged; per-tool reliability is public at /status. Crypto: token prices and wallet portfolios from Uniswap v3, chain reads on Base, Ethereum, Arbitrum, Optimism and Polygon, OFAC sanctions screening. Web: Read public static documentation, pages, PDFs and RSS feeds as clean text, plus link previews and sitemaps. Business: company profiles, domain and email checks. Also Bitcoin, FX, weather, holidays, geocoding, AI text, and JSON, date and validation utilities.","url":"https://agent-data-tools.revmesh2074.workers.dev/calc/tip?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["bill"],"properties":{"bill":{"type":"number","examples":[84.5],"description":"Bill amount before tip"},"people":{"type":"integer","examples":[3],"description":"People sharing, 1-100 (default 1)"},"percent":{"type":"number","examples":[18],"description":"Tip percent, 0-100 (default 15)"},"roundUp":{"type":"string","examples":["false"],"description":"true to round each share up to a whole amount"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tip":{"type":"number"},"bill":{"type":"number"},"total":{"type":"number"},"people":{"type":"number"},"percent":{"type":"number"},"perPerson":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"tip":15.21,"bill":84.5,"total":99.71,"people":3,"percent":18,"perPerson":33.24}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H5d7Tccy0Hzp-bjc7Asbk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Calculates tip amount, total bill, and per-person share for any bill amount, tip percentage, and group size, with optional rounding.","exampleAgentPrompt":"We just finished dinner and the bill came to $143.50 — can you calculate an 18% tip and split the total evenly among 5 people, rounding each share up to the nearest dollar?","exampleUseCases":[{"title":"Restaurant group dinner split","prompt":"Our dinner bill is $212 for 8 people — figure out a 20% tip and tell me how much each person owes, rounded up to the nearest dollar."},{"title":"Solo diner quick tip check","prompt":"My lunch came to $34.75. What's a 15% tip and what's my total?"},{"title":"Expense report tip calculation","prompt":"I need to log a business meal — the bill was $97.20 and I tipped 18%. What was the exact tip amount and total so I can fill out the expense form?"}],"resultDescription":"Returns a JSON object with the original bill amount, tip percentage used, computed tip amount, grand total (bill + tip), number of people, and the per-person share (optionally rounded up to the next whole dollar amount).","failureModes":["Missing required 'bill' parameter returns an error","Non-numeric bill value causes a validation error","People value outside 1-100 range may be rejected or clamped","Percent value outside 0-100 range may return unexpected results","roundUp must be the string 'true' not a boolean; wrong type may be ignored"],"whenToPreferThis":"Use this endpoint when you need a fast, reliable computation of tip, total, and per-person split in a single call — especially for receipt parsing, expense automation, or group payment agents. It handles rounding natively, saving extra computation steps. Prefer this over generic math endpoints when the domain context is hospitality/dining and you want clearly labeled tip/total/perPerson output fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:19:36.077Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-tip-calculator-tip-total-and-7d235c82"}