Skip to main content
Glama

Zovo Typing Test

Calculate typing score

calculate_typing_score
Read-onlyIdempotent

Use this when a typing test has finished, or when the user gives the target passage, what they typed, and the time taken and wants their typing speed. Compares word by word and computes exact WPM = (correct characters / 5) / minutes, raw WPM (all typed characters), accuracy = correct / (correct + errors), errors (incorrect + extra + skipped letters), consistency and per-second speed (when samples are given), and the weakest keys. Returns a shareable result card (SVG) and a challenge link. Does not run a test or time anything itself; seconds must be between 1 and 3600. Do not use for reading speed or word counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoSettings of the test from show_typing_test, used to label the result and build a challenge link. Example: timed.
seedNoSeed from show_typing_test, e.g. 4821, so a challenge link reproduces the same passage.
samplesNoOptional, sent by the widget: cumulative count of characters entered at the end of each whole second, e.g. [5, 11, 16]. Used for per-second speed and consistency.
secondsYesElapsed typing time in seconds, from the first keystroke to the end (the full duration for a timed test), e.g. 60. Must be between 1 and 3600.
difficultyNoDifficulty from show_typing_test, e.g. words.
focus_keysNoDrill keys from show_typing_test, e.g. 'eth'.
typed_textYesExactly what the user typed, including mistakes, e.g. 'the quikc brown fox'. May be empty.
custom_textNoSent by the widget for custom-text tests: the full custom text from show_typing_test, e.g. 'The early bird catches the worm.', so the challenge link reproduces the whole passage. Omit otherwise.
missed_keysNoOptional, sent by the widget: one character per mistyped keystroke, giving the key that was expected (including mistakes later corrected), e.g. 'eet'. Used to find weak keys.
target_textYesThe passage the user was asked to type, exactly as shown, e.g. 'the quick brown fox'.
duration_secondsNoTimed-test length from show_typing_test, e.g. 60.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
wpmYes
kindYes
labelYes
errorsYes
raw_wpmYes
secondsYes
summaryYes
accuracyYes
settingsYes
completedYes
downloadsYes
weak_keysYes
consistencyYes
extra_charsYes
typed_charsYes
missed_charsYes
target_charsYes
correct_charsYes
untyped_charsYes
per_second_wpmYes
incorrect_charsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources