Typography Legibility Grader
typography_legibility_graderScore body copy legibility on font size, line height, and line length against ideal bands, into a 0-100 score. See the full version at https://rahuldsarker.co/calculators/typography-legibility-grader
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": {
"fontSizePx": "<fontSizePx>",
"lineHeight": "<lineHeight>",
"lineLengthChars": "<lineLengthChars>"
},
"name": "typography_legibility_grader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ISO 4217 code for money in the result, e.g. "USD", "INR", "EUR", "GBP". Omit to show plain numbers. | |
| fontSizePx | Yes | Body font size in pixels | |
| lineHeight | Yes | Line height as a multiplier of font size, e.g. 1.5 | |
| lineLengthChars | Yes | Line length in characters per line |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| tool | Yes | The calculator tool that produced this result | |
| notes | Yes | ||
| title | Yes | ||
| inputs | Yes | ||
| compact | Yes | ||
| metrics | Yes | Every "Label: value" line of the result; value is the first number on the line | |
| currency | Yes | ||
| benchmarks | Yes | Rule-of-thumb verdicts for the headline numbers | |
| bookingUrl | Yes | ||
| calculator | Yes | Slug of the interactive calculator on rahuldsarker.co |