ClassMarker MCP by usefulapi

v1.28.1
io.usefulapi/classmarker Checked 3 days ago Published 1 day ago

Read ClassMarker groups, links, exams and recent results; manage question bank and access codes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

classmarker_recent_group_results Recent results across all groups

Recent finished test results taken in the key's groups (all groups, all exams), oldest first, PAGED by finish time: test-taker name, email, score, percentage, pass/fail, timing, certificate. Contains personal data: use small pages. Max look-back 3 months. Counts as one of ClassMarker's 30 requests per hour per API key. API: GET /v1/groups/recent_results.json.

ParameterTypeDescription
finished_after_timestampintegerUNIX time in SECONDS: only results finished after this are returned (oldest first). Default: 14 days ago. Maximum look-back is 3 months. To page, pass next_finished_after_timestamp from the previous r…
include_monitor_eventsbooleanInclude each result's detailed monitor_events.events list (default false: only the counts).
limitintegerResults per request, 1-200 (default 25; ClassMarker's own default is 200).

classmarker_recent_group_exam_results Recent results for one group exam

Recent finished results for ONE exam in ONE group (ids from classmarker_list_groups_links_exams), oldest first, PAGED by finish time. Contains personal data: use small pages. Counts as one of ClassMarker's 30 requests per hour per API key. API: GET /v1/groups/{group_id}/tests/{test_id}/recent_results.json.

ParameterTypeDescription
group_id *integerThe group id.
test_id *integerThe exam (test) id.
finished_after_timestampintegerUNIX time in SECONDS: only results finished after this are returned (oldest first). Default: 14 days ago. Maximum look-back is 3 months. To page, pass next_finished_after_timestamp from the previous r…
include_monitor_eventsbooleanInclude each result's detailed monitor_events.events list (default false: only the counts).
limitintegerResults per request, 1-200 (default 25; ClassMarker's own default is 200).

classmarker_list_categories List question categories

List the question-bank categories with their parent categories and ids (needed for creating and updating questions). Counts as one of ClassMarker's 30 requests per hour per API key. API: GET /v1/categories.json.

classmarker_list_questions List question-bank questions

List the questions of the question bank, 200 per page (page 1, 2, ...): question text, type, category, points, options, correct options, status. A full page means more may follow, so ask for the next page. Counts as one of ClassMarker's 30 requests per hour per API key. API: GET /v1/questions.json?page=N.

ParameterTypeDescription
pageintegerPage number, 1-based (default 1).

classmarker_get_question Get a question

Get one question-bank question by id (ids from classmarker_list_questions). Counts as one of ClassMarker's 30 requests per hour per API key. API: GET /v1/questions/{question_id}.json.

ParameterTypeDescription
question_id *integerThe question id.

classmarker_add_access_codes Add access codes to a list

WRITE: add access codes (1-100 per call, up to 255 characters each; a list holds at most 20,000) to a link's access-code list, so those people can start the exam. The access_list_id comes from classmarker_list_groups_links_exams (links[].access_list_id). Only adds; removing codes is not offered. Does not count against the 30 requests per hour limit. API: POST /v1/accesslists/{access_list_id}.json.

ParameterTypeDescription
access_list_id *integerThe access list id (links[].access_list_id).
codes *array1-100 access codes to add.

classmarker_create_parent_category Create a parent category

WRITE: create a new top-level question category. Returns its parent_category_id. Counts as one of ClassMarker's 30 requests per hour per API key. API: POST /v1/categories/parent_category.json.

ParameterTypeDescription
parent_category_name *stringName of the new parent category.

classmarker_update_parent_category Rename a parent category

WRITE: rename an existing parent category (overwrites its name). Counts as one of ClassMarker's 30 requests per hour per API key. API: PUT /v1/categories/parent_category/{parent_category_id}.json.

ParameterTypeDescription
parent_category_id *integerThe parent category id (from classmarker_list_categories).
parent_category_name *stringThe new name.

classmarker_create_category Create a category

WRITE: create a question category under a parent category. Returns its category_id. Counts as one of ClassMarker's 30 requests per hour per API key. API: POST /v1/categories/category.json.

ParameterTypeDescription
category_name *stringName of the new category.
parent_category_id *integerThe parent category id (from classmarker_list_categories).

classmarker_update_category Update a category

WRITE: rename a category and/or move it to another parent (overwrites both fields: send the name and parent_category_id you want it to have). Counts as one of ClassMarker's 30 requests per hour per API key. API: PUT /v1/categories/category/{category_id}.json.

ParameterTypeDescription
category_id *integerThe category id (from classmarker_list_categories).
category_name *stringThe category's name (new or unchanged).
parent_category_id *integerThe parent category id (new or unchanged).

classmarker_create_question Create a question

WRITE: add a new question to the question bank. Only multiplechoice, multipleresponse, truefalse and essay can be created. Returns the new question_id. For truefalse, give only correct_options ["A"] (True) or ["B"] (False). Counts as one of ClassMarker's 30 requests per hour per API key. API: POST /v1/questions.json.

ParameterTypeDescription
question *stringThe question text.
question_type *stringmultiplechoice (one correct option), multipleresponse (one or more), truefalse, or essay (graded by hand). Free text, grammar and matching cannot be written.
category_idintegerCategory id (from classmarker_list_categories).
correct_feedbackstringFeedback shown for a correct answer.
correct_optionsarrayLetters of the correct options, e.g. ["C"]. multiplechoice: exactly one; multipleresponse: one or more; truefalse: ["A"] (True) or ["B"] (False); not allowed for essay.
grade_stylestringmultipleresponse only: partial credit with or without deduction, or off (all-or-nothing).
incorrect_feedbackstringFeedback shown for an incorrect answer.
optionsobjectAnswer options keyed by letter A-J (up to 10), e.g. {"A": "Apply oil", "B": "Soak in water"}. Needed for multiplechoice and multipleresponse; not allowed for truefalse and essay.
pointsnumberPoints for a correct answer (for an essay: the maximum score).
random_answersbooleanShuffle the order of the options for each test-taker (multiplechoice / multipleresponse).

classmarker_update_question Update a question

WRITE (overwrites): replace an existing question-bank question. Send the COMPLETE question (type, text, options, correct options, points, feedback), not only the changed fields; read it first with classmarker_get_question. Only multiplechoice, multipleresponse, truefalse and essay questions can be updated. Counts as one of ClassMarker's 30 requests per hour per API key. API: PUT /v1/questions/{question_id}.json.

ParameterTypeDescription
question *stringThe question text.
question_id *integerThe question id (from classmarker_list_questions).
question_type *stringmultiplechoice (one correct option), multipleresponse (one or more), truefalse, or essay (graded by hand). Free text, grammar and matching cannot be written.
category_idintegerCategory id (from classmarker_list_categories).
correct_feedbackstringFeedback shown for a correct answer.
correct_optionsarrayLetters of the correct options, e.g. ["C"]. multiplechoice: exactly one; multipleresponse: one or more; truefalse: ["A"] (True) or ["B"] (False); not allowed for essay.
grade_stylestringmultipleresponse only: partial credit with or without deduction, or off (all-or-nothing).
incorrect_feedbackstringFeedback shown for an incorrect answer.
optionsobjectAnswer options keyed by letter A-J (up to 10), e.g. {"A": "Apply oil", "B": "Soak in water"}. Needed for multiplechoice and multipleresponse; not allowed for truefalse and essay.
pointsnumberPoints for a correct answer (for an essay: the maximum score).
random_answersbooleanShuffle the order of the options for each test-taker (multiplechoice / multipleresponse).