word-counter
Count words, characters, sentences, paragraphs, and reading time in a block of text. Words are Unicode-aware (handles non-Latin scripts). Reading time assumes 240 wpm.
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": "word-counter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to analyze. Capped at 60,000 characters. Larger inputs should be split client-side. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| words | Yes | Word count. | |
| sentences | Yes | Sentence count. | |
| characters | Yes | Character count including spaces. | |
| paragraphs | Yes | Paragraph count. | |
| reading_minutes | Yes | Estimated reading time in minutes at 240 wpm. | |
| characters_no_spaces | Yes | Character count excluding spaces. |