Word frequency
word_frequencyFinds frequently used words in an essay to reveal overused or repeated terms, returning each word's count and share of total words.
Instructions
Find the words an essay uses most, to spot overused or repeated terms. Inputs: text, and optional top (how many words to list, default 10), min_count (fewest uses for a word to be listed, default 2) and include_common_words (also count small words such as the, and, of and to, default false). Case is ignored, and words under 3 letters are skipped unless include_common_words is true. Each word comes with its count and its share of all the words in the text. Example: "Which words do I overuse in this essay?"
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_frequency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many words to list. Default 10. | |
| text | Yes | ||
| min_count | No | Fewest uses for a word to be listed. Default 2. | |
| include_common_words | No | Also count small common words. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | Yes | ||
| words | Yes | ||
| min_count | Yes | ||
| total_words | Yes | ||
| unique_words | Yes |