{"uid":"cap_EVnTIO0hO0WO2JDO7Z1kb","slug":"creator-desk-empty-string-count-utility-591403d3","name":"Creator Desk Empty String Count Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/empty-string-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"empty_string_count"}},"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_hZcSDG0WosCEDAToF4agn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts the number of empty strings within a given value (array, object, or similar structure)","exampleAgentPrompt":"Count how many empty strings are in this array for me: ['hello', '', 'world', '', '', 'test']","exampleUseCases":[{"title":"Audit form submission data quality","prompt":"I have this object from a user form submission — can you count how many of the fields came back as empty strings so I know how incomplete it is? Here's the data: {\"name\": \"Alice\", \"email\": \"\", \"phone\": \"\", \"address\": \"123 Main St\"}"},{"title":"Validate CSV row before processing","prompt":"Before I process this row from my CSV, count how many values are empty strings: ['2024-01-15', '', 'USD', '', '500', '']"},{"title":"Check API response completeness","prompt":"I got back this array of strings from an API response — how many of them are empty strings? ['foo', '', 'bar', '', 'baz', '', '']"}],"resultDescription":"A JSON object containing a 'result' field with the count of empty strings found in the input value, and an 'operation' field confirming 'empty_string_count'.","failureModes":["Missing or malformed 'value' input may return an error or unexpected result","Payment failure via x402 protocol will block the call","Deeply nested structures may not be traversed if options are not configured correctly","Non-JSON-serializable input may cause a parse error"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01 USDC) machine-callable computation to count empty strings in a value — especially useful in automated data quality pipelines or agent workflows where you need a deterministic count without writing custom code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:45.585Z","isFirstParty":false,"canonicalSlug":"creator-desk-empty-string-count-utility-591403d3"}