WaterExamMath

v1.0.0
com.waterexammath/waterexammath Checked 4 days ago Published 26 days ago

Math practice for the California water operator exams (T1-T3, D1-D3) with worked solutions.

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

get_exam_overview Exam overview

Describe a California drinking water operator exam (grade): what the math covers by topic, the timed practice set format, the size of the problem bank and the official sources (including the CA Exam Conversion Sheet). Without exam and before the user has chosen a grade, lists every available grade with its id. Works signed out. Read-only; changes nothing.

ParameterTypeDescription
examstringExam (grade) id, e.g. "ca-d2" or "ca-t1". Leave out to use the grade the user saved (save_study_settings); get_exam_overview lists the ids.

practice_questions Get practice questions

Get a set of math practice problems WITHOUT their answers, chosen for this learner in one exam (grade): problems they missed come back first, and weak, heavily weighted topics get more problems. Returns each problem's id, topic, text and lettered options (1 to 20 per call, default 5). Optionally limit to one topic by its id from get_exam_overview. Read-only: nothing is recorded until check_answer. Each call may return a different set.

ParameterTypeDescription
countintegerHow many problems, 1-20 (default 5)
domainstringTopic id to focus on, e.g. from get_exam_overview
examstringExam (grade) id, e.g. "ca-d2" or "ca-t1". Leave out to use the grade the user saved (save_study_settings); get_exam_overview lists the ids.

check_answer Check an answer

Check the learner's answer to one practice problem and record it, or several problems at once with `answers` (up to 20 pairs of problem id and letter). Returns, per problem, whether it was correct, the correct option, the worked solution and the cited conversion sheet line. The problem id identifies its exam (grade). Side effects: creates the learner's account on first use, saves the attempt to the learner's progress for that grade (mastery per topic and the review schedule; missed problems come back later) and adds a usage record. Overwrites and deletes nothing. Limit: at most 40 answers per…

ParameterTypeDescription
answerstringThe letter the user chose, e.g. "B" (single form)
answersarraySeveral answers at once: [{ questionId, answer }, ...] in the order the user gave them (batch form)
questionIdstringThe problem id from practice_questions (single form)

get_progress Get progress

Show the learner's readiness for one exam (grade), overall and per topic (accuracy, number answered, last practiced), how many problems are due for review, the exam date if set, and suggested next steps. Read-only; changes nothing.

ParameterTypeDescription
examstringExam (grade) id, e.g. "ca-d2" or "ca-t1". Leave out to use the grade the user saved (save_study_settings); get_exam_overview lists the ids.

start_mock_exam Start a timed mock exam

Start a timed math set for one exam (grade): problems spread over its math topics, with a time limit. Optional `count` (10, 25 or 50 problems, default 25) and `minutes` (15, 30, 60, 90 or 120, default 60). It covers the math portion only. Returns the set id, the deadline and every problem WITHOUT answers; submit_mock_exam scores all answers at once. Side effects: creates the learner's account on first use, a timed set record and a usage record. If a set is already open for that grade (even past its deadline) that set is returned instead and nothing new is created; after it is submitted, callin…

ParameterTypeDescription
countnumberNumber of problems: 10, 25 or 50 (default 25)
examstringExam (grade) id, e.g. "ca-d2" or "ca-t1". Leave out to use the grade the user saved (save_study_settings); get_exam_overview lists the ids.
minutesnumberTime limit in minutes: 15, 30, 60, 90 or 120 (default 60)

save_mock_answers Save timed-set answers

Save some or all answers of an OPEN timed set from start_mock_exam as a draft, by problem number (1-based) and letter. Only the listed problems change; the others keep their saved answer. Any answer can be changed again until the set is submitted (send a new letter, or an empty string to leave that problem blank again), so nothing is lost by saving. Nothing is scored and nothing is recorded into the learner's progress until submit_mock_exam. Returns how many problems are answered and which numbers are still blank. Side effects: updates the unsubmitted draft on that one open timed set and nothi…

ParameterTypeDescription
answers *arrayProblem numbers with the letter chosen, e.g. [{ number: 1, answer: "B" }, { number: 2, answer: "" }]
mockExamId *stringThe id returned by start_mock_exam

submit_mock_exam Submit a mock exam

Submit a timed set from start_mock_exam and get the score report: total, whether it reached the target, score per topic, and the missed problems with worked solutions and sources. Without `answers`, the draft saved with save_mock_answers is submitted. With `answers`, they are letters in problem order, one per problem; use an empty string for a skipped problem. Skipped problems count as wrong. Submitting is final (marked destructive for that reason): the set closes and its answers can't be changed afterwards, so ask the learner once before calling it. A set submitted after its deadline is still…

ParameterTypeDescription
mockExamId *stringThe id returned by start_mock_exam
answersarrayOne letter per problem in order, e.g. ["A", "C", ""]; leave out to submit the saved draft

get_study_plan Get study plan

Build a day-by-day math study plan for one exam (grade) up to the exam date from the learner's current mastery: daily practice weighted to weak topics, review of missed problems, timed sets and rest days. Uses the exam date saved in WaterExamMath for that grade (save_study_settings saves one); pass examDate (YYYY-MM-DD) to plan for a different date. The date passed here is not saved. Read-only; changes nothing.

ParameterTypeDescription
examstringExam (grade) id, e.g. "ca-d2" or "ca-t1". Leave out to use the grade the user saved (save_study_settings); get_exam_overview lists the ids.
examDatestringExam date as YYYY-MM-DD, if the user gives one

reset_progress Reset progress

Permanently erase the learner's progress for one exam (grade): every recorded answer, mastery per topic, the review schedule and all timed set results for that grade. Other grades are not touched. This cannot be undone. Requires confirm: true, meaning the user explicitly asked to reset and confirmed which grade. The exam date and account stay. Each call also adds a usage record; repeating it erases nothing more.

ParameterTypeDescription
confirm *booleanMust be true: the user explicitly confirmed erasing their progress
examstringExam (grade) id, e.g. "ca-d2" or "ca-t1". Leave out to use the grade the user saved (save_study_settings); get_exam_overview lists the ids.

save_study_settings Save study settings

Save the learner's grade and, optionally, their exam date and daily problem target for that grade, so later calls default to that grade and get_study_plan uses that date. Side effects: creates the learner's account on first use and REPLACES the saved grade (and the saved exam date or daily target for that grade, when given) with these values. Practice history is not touched. Safe to retry: the same values give the same result.

ParameterTypeDescription
exam *stringExam (grade) id to save, e.g. "ca-d2"; get_exam_overview lists the ids
dailyQuestionsintegerProblems per day for the study plan, if the user gives one
examDatestringExam date as YYYY-MM-DD, if the user gives one
timeZonestringThe user's IANA time zone, e.g. "America/Los_Angeles", if known; sets which day counts as today in the plan