{"uid":"cap_guaEzlQhfGmj2m1nszV9C","slug":"signaldesk-ai-is-prime-check-172398ca","name":"SignalDesk AI – Is Prime Check","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/math/is-prime?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","maximum":1000000000,"minimum":0,"description":"Integer."}}},"responseSchema":{"type":"json","example":{"prime":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_0eIl1PaTv1VwYXUrcVv37","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":"Checks whether a given non-negative integer (up to 1,000,000,000) is a prime number, returning a boolean result.","exampleAgentPrompt":"Can you check whether 982451653 is a prime number?","exampleUseCases":[{"title":"Primality check for cryptography key","prompt":"I'm picking a modulus for a small RSA demo — can you verify if 104729 is actually a prime number?"},{"title":"Math homework number validation","prompt":"My student worksheet says 561 should be prime — can you double-check whether that's true or false?"},{"title":"Large number primality test","prompt":"Is 999999937 a prime number? I need to confirm before using it as a hash table size."}],"resultDescription":"A JSON object with a single boolean field `prime` — true if the submitted integer is prime, false otherwise. No additional detail (factors, nearest prime, etc.) is returned.","failureModes":["Input integer exceeds maximum of 1,000,000,000 — rejected with validation error","Negative integer submitted — rejected (minimum is 0)","Non-integer value submitted — schema validation failure","Payment not attached or insufficient — HTTP 402 response requiring x402 payment of $0.001 USDC","Service quota or rate limit reached — bounded execution may reject the request"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, cheap, authoritative primality check on a single integer up to one billion, particularly in contexts where calling a local math library is not an option or when operating within an x402 micropayment workflow. It is not suitable for batch primality testing, numbers above 1,000,000,000, or when factorization or nearest-prime information is also needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:08.308Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-is-prime-check-172398ca"}