inputSchema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "English text to analyze for readability"
}
}
}
outputSchema
{
"type": "object",
"required": [
"fleschKincaid",
"gradeLevel",
"avgSentenceLength",
"avgSyllablesPerWord",
"wordCount",
"sentenceCount",
"complexWordRatio",
"verdict"
],
"properties": {
"verdict": {
"type": "string",
"description": "Readability verdict (e.g. Easy to read, College level)"
},
"wordCount": {
"type": "number",
"description": "Total word count"
},
"gradeLevel": {
"type": "number",
"description": "US grade level"
},
"fleschKincaid": {
"type": "number",
"description": "Flesch-Kincaid reading ease score (0-100)"
},
"sentenceCount": {
"type": "number",
"description": "Total sentence count"
},
"complexWordRatio": {
"type": "number",
"description": "Ratio of words with 3+ syllables"
},
"avgSentenceLength": {
"type": "number",
"description": "Average words per sentence"
},
"avgSyllablesPerWord": {
"type": "number",
"description": "Average syllables per word"
}
}
}