QuizClap: Live Quizzes, Polls & Q&A
v1.1.1Live university Q&A, polls, LaTeX STEM quizzes, closed-book exams and Moodle banks over MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_events List events
Lists your events (newest class date first) with their join, host and projector links, and your folders (each event's folderId names its folder; null = Unfiled).
list_templates List starter templates
Starter packs that can fill a new or existing event in one step.
create_event Create event
Creates an event (one class session). Optionally fill it at once from a template and/or content. All content is checked first; if any item is invalid nothing is created and the errors are listed.
get_event Get event content
The event's links and folderId, its class theme (null = the plain look), Q&A settings and counts, what is on stage now, and every poll and quiz with its id. Read this before editing.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
update_event Update event
Changes the title, class date, code, folder or class theme. Students already in the room see the change at once.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
date | string | null | YYYY-MM-DD, or null to clear |
folder_id | string | null | Folder id from list_events (null = Unfiled). Left out: create puts the event in Unfiled, copy uses the original's folder, update leaves it. |
new_code | string | New event code |
theme | string | null | Class theme for the projector and the phones: one of 44 presets (dark: midnight, chalkboard, ocean, forest, observatory, espresso, graphite, burgundy, nordic, copper, botanical, oled, cosmos, quantum,… |
title | string | New title |
copy_event Copy event
Makes a new event with the same Q&A settings, polls and quizzes (for next week's class). Questions, answers and scores are not copied.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
new_code * | string | Code for the new event |
date | string | YYYY-MM-DD |
folder_id | string | null | Folder id from list_events (null = Unfiled). Left out: create puts the event in Unfiled, copy uses the original's folder, update leaves it. |
title | string | Title (default: same) |
delete_event Delete event
Moves an event to 7-day Recently deleted Trash (recoverable on the website dashboard; requires a 'full' API key). Repeat the code in confirm_code.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
confirm_code * | string | The same event code again |
add_content Add polls and quizzes
Adds polls and quizzes to an event in bulk, after the ones already there. Accepts JSON content, a template id, text (quick paste, Moodle XML, GIFT, Aiken, Cloze, Missing word or Blackboard; format auto-detects), or a whole file as base64 (Word table .docx, Blackboard .zip, .xlsx). All or nothing unless partial is true. The reply says which format was read and lists notes on anything left out. A QuizClap JSON backup (get_event's content, or the export with what=content and format=json) also sets the class theme and Q&A settings it carries.
update_poll Replace a poll
Replaces a poll's definition. While phones have answered, only wording can change, not the shape (options count, kinds).
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
id * | integer | Poll id from get_event |
poll * | object | A poll set: 1 to 20 questions of any kind, mixed freely (each question has its own kind). A set with more than one question is stored with type "survey" and runs one question at a time (the lecturer s… |
update_quiz Replace a quiz
Replaces a quiz's definition. After players have answered, only wording can change (reset_results first to change more).
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
id * | integer | Quiz id from get_event |
quiz * | object | A timed speed quiz, game-mode quiz (Arena, Team race, Class co-op), or closed-book exam. |
copy_item Duplicate a poll or quiz
Duplicates a poll or quiz right after itself (handy for a round 2 vote).
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
id * | integer | Poll or quiz id |
kind * | string | Item kind: poll or quiz |
transfer_item Copy or move a poll or quiz to another event
Copies (move false, default) or moves (move true) one poll set or quiz and its pictures into another event you own. Student answers and scores are not copied; moving removes the item from the source event.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
id * | integer | Poll or quiz id |
kind * | string | Item kind: poll or quiz |
to * | string | Target event code, e.g. BIO101-W04 |
move | boolean | true = move (removes from source event), false = copy (default) |
delete_item Delete a poll or quiz
Deletes a poll or quiz and its answers.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
id * | integer | Poll or quiz id |
kind * | string | Item kind: poll or quiz |
reorder Reorder polls or quizzes
Sets the order of polls or of quizzes. Give every id of that kind in the new order.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
ids * | array | Every poll or quiz id of that kind in the new order |
kind * | string | Item kind: poll or quiz |
reset_results Reset results
Clears a poll's responses or a quiz's players and scores (e.g. after a dry run). The questions stay.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
id * | integer | Poll or quiz id |
kind * | string | Item kind: poll or quiz |
stage_control Control the live stage
Runs the live class. Only one poll or quiz is on stage at a time. Polls: poll_launch (id), poll_lock / poll_unlock voting, poll_show_results / poll_hide_results, poll_reveal_answer / poll_hide_answer, poll_survey_question (question number: the projector's results page, or in a paced survey the question everyone answers now). Quizzes: quiz_launch (id, opens the lobby), quiz_next (lobby > question > reveal > leaderboard > ... > podium), quiz_back, quiz_end_timer. Live slides: slide_show_last puts the newest slide the lecturer snapped back on every phone and the projector, slide_hide takes it off…
| Parameter | Type | Description |
|---|---|---|
action * | string | Live stage action to execute |
code * | string | Event code, e.g. ABC123 |
id | integer | Poll or quiz id (for poll_launch and quiz_launch) |
question | integer | Survey question number from 1 (poll_survey_question) |
seconds | integer | Extra seconds to add (5 to 300, for quiz_add_time) |
theme | string | null | Class theme for the projector and the phones: one of 44 presets (dark: midnight, chalkboard, ocean, forest, observatory, espresso, graphite, burgundy, nordic, copper, botanical, oled, cosmos, quantum,… |
qa_settings Q&A and student settings
Turns Q&A on or off for students, opens or closes it for new questions, turns moderation on or off, allows or stops students adding a name, toggles the optional Student ID / NIM prompt, and toggles post-class self-study quiz review.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
allowNames | boolean | Students may show their event name on questions |
askStudentId | boolean | Ask students for their Student ID / NIM for attendance and gradebook exports (host-only) |
attendPct | integer | Participation % threshold for Present status in attendance exports (0 to 100) |
enabled | boolean | Q&A shown to students |
lockEntry | boolean | Lock room entry against new unknown phones (already-joined students keep working) |
moderation | boolean | New questions wait for approval |
open | boolean | Accepting new questions |
pacePulse | boolean | Show live Got it / Too fast comprehension bar on student phones |
selfStudy | boolean | Allow students to practice/review quizzes on their own when no quiz is running |
list_questions List Q&A questions
Q&A questions with ids for moderation, most voted first (or newest).
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
sort | string | Sort order: votes (default) or newest |
status | string | open = visible and not answered yet |
moderate_question Moderate a Q&A question
approve (a pending question), hide, show, answer / unanswer (mark as answered), reply (text; empty removes the reply), highlight / unhighlight (on the projector), delete. Blocking or unblocking a student device is human-only in the lecturer's browser console.
| Parameter | Type | Description |
|---|---|---|
action * | string | Moderation action to apply to the question |
code * | string | Event code, e.g. ABC123 |
id * | integer | Question id |
text | string | Reply text (for reply) |
clear_questions Remove all Q&A questions
Removes every Q&A question (e.g. after a dry run). Repeat the event code in confirm_code.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
confirm_code * | string | The same event code again |
get_results Get results
Everything the event collected: Q&A questions, poll tallies (and each response if include_responses), and per quiz the item analysis (responses, % correct, average seconds, answer counts per option) and the full leaderboard. Names are random nicknames, not real students (set include_student_ids to true with a teach or full key only when exporting a student-ID gradebook).
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
include_responses | boolean | Include every poll response (can be long) |
include_student_ids | boolean | Include student IDs and proctor records (requires teach or full key; omitted by default for privacy) |
get_report Get post-class report
Short report after class: participants, Q&A asked and answered, polls and quizzes run, overall quiz accuracy, weak questions (under 60% correct, with the most picked wrong answer) and the most upvoted unanswered questions.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
upload_image Upload a picture
Stores an AVIF, WebP, PNG or JPEG picture (up to 1 MB, at most 1440 px on the longest side is plenty) for an event and returns its id. Then set "image" on a poll or quiz question to that id. The same picture twice gives the same id.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
data_base64 * | string | The picture file, base64 encoded (no data: prefix) |
list_images List pictures
The event's pictures with their ids, sizes and whether a question uses them.
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
delete_image Delete a picture
Deletes one picture from the event. A picture that a question still shows is kept unless force is true (the question then shows no picture).
| Parameter | Type | Description |
|---|---|---|
code * | string | Event code, e.g. ABC123 |
image * | string | Picture id |
force | boolean | Delete even if a question shows it |
get_usage Free plan usage
Site admins only: how much of the Cloudflare free plan QuizClap uses today: requests, database size, pictures stored, uploads, deletes and picture loads, each with its limit.