Reviewing a quiz
Claude Code · as a student · MOODLE_MCP_ROLE=student
After a quiz, the agent reads your attempt's review and explains each mistake, as far as the quiz lets you see the right answers.
What you ask
I just did the quiz "Loops: quick check" in my Moodle course mcp-content. What grade did I get, and which questions did I get wrong? Explain the right answers.
The session

What the agent did:
- Found the quiz and your attempts (
get_quiz_info). - Read the attempt's review (
get_attempt_review): the grade, and for each question your answer, whether it was right, and the right answer. - Explained each mistake, and why the right answer is right.
The review in Moodle
The same attempt, as Moodle shows it:

Tips
- Practise before the next attempt: "Give me three more questions like the ones I got wrong."
- What Moodle hides, the agent can't see: if the quiz doesn't show the right answers until it closes, the agent can only tell you which ones you got wrong.
- The quiz itself: the agent can also answer quizzes for you (
start_quiz_attempt), but it confirms with you before submitting. Your teacher sees the attempt as yours.