Text statistics: word count, tokens, readability, reading time
util_text_statsCount words, characters (with/without spaces), sentences, paragraphs, lines and unique words in a text; estimate LLM tokens; reading and speaking time; Flesch reading ease + Flesch-Kincaid grade (English); top keywords without stop words. Unicode-aware. Use to check length limits (tweets, meta descriptions, essays), budget context windows, or judge how easy a text is to read. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "util_text_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many top keywords to return, 0–50 (default 10) | |
| text | Yes | The text to analyse (max 500,000 chars) |