{"uid":"cap_ubRZy0awJRKLUzlgyCHeT","slug":"agent-micro-math-percent-calculator-612d2f31","name":"Agent Micro Math Percent Calculator","description":"Advanced micro-tools for AI agents: cryptographic randomness, text analysis, math helpers, date arithmetic, web metadata, and IP intelligence. All under $0.01 per request, paid in USDC via x402.","url":"https://agent-micro.annushka1190.workers.dev/v1/math/percent","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_3EW21h-BYpXSR4faT6FsG","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":"Calculates percentage values given two numbers, returning the computed percentage result for use in AI agent workflows.","exampleAgentPrompt":"What percentage is 45 out of 180? Use the micro-tools percent calculator to get the exact result.","exampleUseCases":[{"title":"Discount percentage on sale price","prompt":"A product originally costs $80 and is now $60 — what percentage discount is that? Calculate it for me."},{"title":"Tax rate computation for invoice","prompt":"My invoice total is $1,250 and the tax charged was $112.50 — what percentage tax rate was applied?"},{"title":"Survey completion rate calculation","prompt":"Out of 340 survey recipients, 255 responded — what percentage completion rate did we get?"}],"resultDescription":"Returns a JSON object with ok:true and the computed percentage value derived from the input numbers. The result is a numeric percentage ready for display or further agent processing.","failureModes":["Missing required input fields returns a validation error","Division by zero scenario (zero denominator) may return an error or undefined result","Malformed JSON body returns a 400-level error","Payment not received via x402 protocol returns a 402 Payment Required response","Non-numeric input values may cause a computation error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a quick, cheap ($0.001 USDC), serverless percentage computation without spinning up local math logic. Ideal for agents that need stateless arithmetic helpers on demand, especially in workflows already using x402 micropayment infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:56.313Z","isFirstParty":false}