{"uid":"cap_smHed3QDBtnZ0dh9bRzam","slug":"agent402-tools-descriptive-statistics-summary-05d4493a","name":"agent402.tools Descriptive Statistics Summary","description":"Compute the full descriptive-stats panel for an array of numbers in one call: count, sum, mean, median, mode, stddev (sample), variance, min, max, range, q1, q3, IQR. Beats calling 12 separate tools when you already have the array in front of you.","url":"https://agent402.tools/api/stats-summary","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","description":"Non-empty array of numbers (max 10000)"}}},"responseSchema":{"type":"json","example":{"q1":3.25,"q3":7.75,"iqr":4.5,"max":10,"min":1,"sum":55,"mean":5.5,"mode":null,"count":10,"range":9,"median":5.5,"stddev":3.0277,"variance":9.1667}},"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_PlpflQ0bbBXgmhl8esNm5","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":"Computes a full descriptive statistics panel (count, sum, mean, median, mode, stddev, variance, min, max, range, Q1, Q3, IQR) for an array of numbers in a single call.","exampleAgentPrompt":"Give me the full descriptive stats — mean, median, mode, standard deviation, variance, min, max, range, Q1, Q3, and IQR — for this dataset: [4, 7, 13, 2, 1, 9, 7, 15, 3, 7, 11, 6].","exampleUseCases":null,"resultDescription":"Returns a complete descriptive statistics panel including count, sum, mean, median, mode, sample standard deviation, variance, min, max, range, first quartile (Q1), third quartile (Q3), and interquartile range (IQR) for the provided numeric array.","failureModes":["Empty array provided — endpoint requires at least one value","Array exceeds 10,000 element limit — request rejected","Non-numeric values in array — schema validation error","Malformed JSON body — 400 bad request","Payment not attached or insufficient USDC — 402 payment required"],"whenToPreferThis":"Use this endpoint when you need multiple descriptive statistics for a numeric dataset in a single call, rather than chaining 12+ individual computation tools. Ideal when you already have the full array in memory and want count, central tendency, spread, and quartile metrics all at once without multiple round trips.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:07.213Z","isFirstParty":false}