Count words, sentences and pages
count_textCounts words, characters, sentences and paragraphs, then estimates page count for selected font, size and spacing, plus reading time.
Instructions
Count the words, characters, sentences and paragraphs in a text, and estimate how many pages it fills at a given font, font size and line spacing. Inputs: text, and optional font (times new roman, arial, calibri, georgia, courier new or verdana, default times new roman), font_size in points (default 12) and spacing (single, 1.5 or double, default double). The page count is an estimate from typical words per page, so a word processor may differ by a little. Also returns an estimated reading time at 238 words per minute. Example: "Count the words in this essay and estimate the pages in Times New Roman 12 double spaced."
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": "count_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | Font name. Default times new roman. | |
| text | Yes | ||
| spacing | No | Line spacing. Default double. | |
| font_size | No | Font size in points. Default 12. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | Yes | ||
| words | Yes | ||
| spacing | Yes | ||
| font_size | Yes | ||
| sentences | Yes | ||
| characters | Yes | ||
| paragraphs | Yes | ||
| estimated_pages | Yes | ||
| reading_minutes | Yes | ||
| characters_no_spaces | Yes |