{"uid":"cap_n4NmoI5zVBbzXnsRHFgaO","slug":"energybilltoolkit-co-uk-e03513ab","name":"energybilltoolkit.co.uk Text Warnings","description":"Return caveats explaining when counts, frequency, or readability may be misleading.","url":"https://energybilltoolkit.co.uk/text-metrics/api/tools/text-warnings","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to measure."}}},"responseSchema":null,"example":{"request":{"text":"Our Q3 results—shown in Table 1—delivered strong YoY growth; however, EBITDA (excl. one-offs) was £4.2m."},"response":{"metric":"warnings","warnings":[{"code":"short_text","message":"Readability and frequency metrics are unstable below about 100 words.","severity":"caution"}]}},"exampleRequest":{"text":"Our Q3 results—shown in Table 1—delivered strong YoY growth; however, EBITDA (excl. one-offs) was £4.2m."},"tags":["x402"],"displayCostAmount":"0.010000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.010000/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_HuftnNYcPkiH1IB0LVDDP","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":"Returns caveats and warnings explaining when text metrics (counts, word frequency, or readability scores) may be misleading or unreliable for a given text input.","exampleAgentPrompt":"Check this paragraph for any caveats or warnings about whether its word count, sentence frequency, or readability scores might be misleading: 'Our Q3 results—shown in Table 1—delivered strong YoY growth; however, EBITDA (excl. one-offs) was £4.2m.'","exampleUseCases":null,"resultDescription":"A structured list of caveat messages explaining specific conditions under which the computed text metrics (character counts, word frequency, readability scores, sentence counts, etc.) may be unreliable, inaccurate, or misleading — for example due to special characters, code snippets, abbreviations, very short texts, or non-standard formatting.","failureModes":["Empty or missing text body returns an error or empty warnings array","Extremely long text may time out or hit payload limits","Non-UTF-8 encoded text may produce unexpected results","Malformed JSON request body returns a 400 error"],"whenToPreferThis":"Use this endpoint after computing text metrics (counts, frequency, readability) when you need to surface quality caveats before presenting results to a user or downstream system. It complements the sibling aggregate text metrics endpoint by adding an explicit reliability layer. Prefer it whenever text has unusual formatting, mixed languages, heavy punctuation, code, or very short length that might skew standard NLP metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:42:58.138Z","isFirstParty":false}