Skip to main content
Glama

ClassMarker MCP by usefulapi

Update a question

classmarker_update_question
DestructiveIdempotent

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pointsNoPoints for a correct answer (for an essay: the maximum score).
optionsNoAnswer 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.
questionYesThe question text.
category_idNoCategory id (from classmarker_list_categories).
grade_styleNomultipleresponse only: partial credit with or without deduction, or off (all-or-nothing).
question_idYesThe question id (from classmarker_list_questions).
question_typeYesmultiplechoice (one correct option), multipleresponse (one or more), truefalse, or essay (graded by hand). Free text, grammar and matching cannot be written.
random_answersNoShuffle the order of the options for each test-taker (multiplechoice / multipleresponse).
correct_optionsNoLetters of the correct options, e.g. ["C"]. multiplechoice: exactly one; multipleresponse: one or more; truefalse: ["A"] (True) or ["B"] (False); not allowed for essay.
correct_feedbackNoFeedback shown for a correct answer.
incorrect_feedbackNoFeedback shown for an incorrect answer.

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.