Prose metrics as a typographic card: the Flesch reading-ease score set huge, its plain-language grade, and a stat row -- words, sentences, minutes to read at a declared words-per-minute, words per sentence, syllables per word, longest sentence -- all computed by the renderer from the text with identical arithmetic on every renderer (syllables by a vowel-group heuristic, sentences on . ! ? followed by space). The excerpt is shown underneath with the longest sentence highlighted, which is usually the one to cut. Built for the writing workflow; give it a draft and it tells you what a reader will feel.
| Surface | Note |
|---|---|
| google-chat | Renders as a plain text card; the typographic layout is lost |
| Field | Type | Required |
|---|---|---|
| text | string (required). The prose to measure, up to 5000 characters. | required |
| title | string. Label above the score. Default "readability". | optional |
| wpm | integer. Reading speed for the time estimate, clamped 100-500. Default 230. | optional |
| highlight_longest | bool. Mark the longest sentence in the excerpt. Default true. | optional |
| theme | "dark" | "light" (optional, default "light") | optional |
| accent | "#rrggbb". Default "#0e7bb8". | optional |
{
"type": "readability_card",
"text": "A concise description of the content."
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:readability_card",
"displayName": "Readability Card",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/readability_card",
"capabilities": [
"web",
"google-meet-stage",
"google-apps-script-web",
"mcp-apps",
"pdf",
"android"
],
"description": "Prose metrics as a typographic card: the Flesch reading-ease score set huge, its plain-language grade, and a stat row -- words, sentences, minutes to read at a declared words-per-minute, words per sentence, syllables per word, longest sentence -- all computed by the renderer from the text with identical arithmetic on every renderer (syllables by a vowel-group heuristic, sentences on . ! ? followed by space). The excerpt is shown underneath with the longest sentence highlighted, which is usually the one to cut. Built for the writing workflow; give it a draft and it tells you what a reader will feel.",
"representativeQueries": [
"show a Flesch score, reading time and sentence stats computed from prose, longest sentence highlighted",
"prose metrics as a typographic card: the flesch reading-ease score set huge, its plain-language grad",
"render a readability card"
]
}
The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →