Sentence variety
sentence_varietyAnalyze sentence length variation in an essay to reveal rhythm problems. Returns shortest, longest and average lengths, standard deviation, short/medium/long counts, and runs of same-length sentences.
Instructions
Show how much the sentence lengths in an essay change, since a good rhythm mixes short, medium and long sentences. Input: text. Returns the shortest, longest and average sentence length in words, the standard deviation, how many sentences are short (under 10 words), medium (10 to 24) and long (25 or more), and any runs of 3 or more sentences in a row whose lengths are within 3 words of the first one in the run, with their sentence numbers. Sentence numbers start at 1 and follow the order of the text. This is a simple measure of rhythm, so treat it as a prompt to reread. Example: "Do my sentences all sound the same length?"
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": "sentence_variety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lengths | Yes | ||
| sentences | Yes | ||
| long_count | Yes | ||
| short_count | Yes | ||
| medium_count | Yes | ||
| similar_runs | Yes | ||
| average_words | Yes | ||
| longest_words | Yes | ||
| std_dev_words | Yes | ||
| shortest_words | Yes |