PLATO MCP
PLATO(Pusan National University LMS) MCP server via Moodle Web Service API + ubboard scraping. It allows AI assistants to access course materials, announcements, assignments, grades, and Q&A without direct login, using the user's existing PLATO credentials.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://plato-mcp.onrender.com/mcpWhat its tools do
67 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (56)
list_coursesget_course_contentslist_assignmentsget_assignment_detailget_gradesget_grades_access_infolist_calendar_eventsget_calendar_access_infoget_unread_messagesget_unread_notification_countlist_noticesget_notice_detaillist_qnaget_qna_detaildownload_course_fileget_course_completion_statusget_activity_completion_statusget_upcoming_action_eventsget_courses_by_timelineget_grades_overviewlist_quizzesget_quiz_attemptsget_quiz_best_gradeget_quiz_access_informationget_quiz_required_qtypesget_quiz_feedback_for_gradeget_quiz_combined_review_optionsget_quiz_attempt_dataget_quiz_attempt_summaryget_quiz_attempt_reviewlist_forumsget_forum_discussionsget_discussion_postsget_course_updates_sinceget_course_modulesearch_coursesget_recent_coursesget_recent_itemsget_starred_courseslist_video_conferenceslist_lessonslist_workshopslist_feedbackslist_choiceslist_surveyslist_scormslist_h5p_activitieslist_glossarieslist_database_activitieslist_wikislist_chatsget_user_profileget_private_files_infoget_user_preferencesget_my_course_groupsget_enrolled_users
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Warning Does not report a server version
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Query upcoming assignments
- Check semester grades
- Download lecture materials
- View recent announcements
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- plato-mcp unreported
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 67 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Tools
67 advertised
list_courses
List the courses the logged-in PLATO account is enrolled in.
{
"type": "object",
"title": "list_coursesArguments",
"properties": {}
}{
"type": "object",
"$defs": {
"CourseSummary": {
"type": "object",
"title": "CourseSummary",
"required": [
"id",
"fullname",
"shortname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"enddate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Enddate",
"default": null
},
"visible": {
"type": "boolean",
"title": "Visible",
"default": true
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"shortname": {
"type": "string",
"title": "Shortname"
},
"startdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Startdate",
"default": null
}
}
}
},
"title": "list_coursesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_course_contents
Get a course's weekly sections, modules, and file links.
{
"type": "object",
"title": "get_course_contentsArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"FileEntry": {
"type": "object",
"title": "FileEntry",
"required": [
"filename",
"fileurl"
],
"properties": {
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author",
"default": null,
"description": "Who uploaded this file -- course materials are almost always uploaded by staff, not classmates (see docs/pii_review.md, issue #36)."
},
"fileurl": {
"type": "string",
"title": "Fileurl"
},
"filename": {
"type": "string",
"title": "Filename"
},
"filesize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Filesize",
"default": null
},
"mimetype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mimetype",
"default": null
},
"needs_token": {
"type": "boolean",
"title": "Needs Token",
"default": true,
"description": "Append ?token={wstoken} to fileurl before downloading (see issue #20)."
},
"timemodified": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timemodified",
"default": null
}
}
},
"VodProgress": {
"type": "object",
"title": "VodProgress",
"properties": {
"time_open": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Time Open",
"default": null
},
"time_close": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Time Close",
"default": null
},
"time_lateness": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Time Lateness",
"default": null,
"description": "Deadline after which watching counts as late."
},
"playtime_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Playtime Seconds",
"default": null
},
"attendance_required": {
"type": "boolean",
"title": "Attendance Required",
"default": false
},
"lateness_progress_percent": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Lateness Progress Percent",
"default": null
},
"completion_progress_percent": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Completion Progress Percent",
"default": null,
"description": "How much of the video this account has watched, 0-100."
}
},
"description": "Parsed from a `vod` (course video lecture) module's `customdata` JSON\nstring (issue #88). This is the completion/progress metadata Moodle\nalready returns alongside the module listing -- `core_course_get_contents`\nplato-mcp already calls -- with NO extra network call needed.\n\nDeliberately does NOT expose the actual video stream: `vod` has no\n`contents`/`fileurl` field at all, and the real stream is served only\nthrough Coursemos's token-gated DRM player (`.m3u8` + `csmsmedia` SDK).\nBuilding a bypass for that was explicitly decided against during this\nepic's planning (ToS/anti-circumvention risk, a different risk category\nthan this repo's existing `ubboard` HTML scraping) -- do not \"fix\" this\nby trying to scrape the stream; only the metadata below is in scope."
},
"CourseModule": {
"type": "object",
"title": "CourseModule",
"required": [
"id",
"name",
"modname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Url",
"default": null
},
"name": {
"type": "string",
"title": "Name"
},
"modname": {
"type": "string",
"title": "Modname"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Contents"
},
"completed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Completed",
"default": null,
"description": "Whether this account has marked/viewed this module complete."
},
"vod_progress": {
"anyOf": [
{
"$ref": "#/$defs/VodProgress"
},
{
"type": "null"
}
],
"default": null,
"description": "Only set when modname == 'vod'. Watch-progress metadata, not the video itself -- see VodProgress docstring."
}
},
"description": "One activity/resource inside a course section. Note on `vod` (course\nvideo lectures): this never exposes the actual video stream -- see\n`VodProgress`'s docstring for why that's intentional, not an oversight."
},
"CourseSection": {
"type": "object",
"title": "CourseSection",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"modules": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseModule"
},
"title": "Modules"
}
}
}
},
"title": "get_course_contentsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseSection"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_assignments
List assignments across one or more courses, with due dates.
{
"type": "object",
"title": "list_assignmentsArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list assignments for."
}
}
}{
"type": "object",
"$defs": {
"FileEntry": {
"type": "object",
"title": "FileEntry",
"required": [
"filename",
"fileurl"
],
"properties": {
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author",
"default": null,
"description": "Who uploaded this file -- course materials are almost always uploaded by staff, not classmates (see docs/pii_review.md, issue #36)."
},
"fileurl": {
"type": "string",
"title": "Fileurl"
},
"filename": {
"type": "string",
"title": "Filename"
},
"filesize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Filesize",
"default": null
},
"mimetype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mimetype",
"default": null
},
"needs_token": {
"type": "boolean",
"title": "Needs Token",
"default": true,
"description": "Append ?token={wstoken} to fileurl before downloading (see issue #20)."
},
"timemodified": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timemodified",
"default": null
}
}
},
"AssignmentConfig": {
"type": "object",
"title": "AssignmentConfig",
"required": [
"plugin",
"subtype",
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
},
"plugin": {
"type": "string",
"title": "Plugin"
},
"subtype": {
"type": "string",
"title": "Subtype"
}
},
"description": "One raw row of `mod_assign_get_assignments`'s `configs` array -- a\nflat (plugin, subtype, name, value) tuple describing one submission or\nfeedback plugin's settings for this assignment. `value` is always a\nstring in the API response, even for booleans/numbers (confirmed live,\nissue #84 -- e.g. `{\"plugin\": \"file\", \"subtype\": \"assignsubmission\",\n\"name\": \"maxsubmissionsizebytes\", \"value\": \"1073741824\"}`)."
},
"AssignmentSummary": {
"type": "object",
"title": "AssignmentSummary",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"cmid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cmid",
"default": null
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null,
"description": "Assignment instructions (HTML)."
},
"configs": {
"type": "array",
"items": {
"$ref": "#/$defs/AssignmentConfig"
},
"title": "Configs",
"description": "Raw submission/feedback plugin settings. Prefer file_submission/onlinetext_submission over reading this directly."
},
"duedate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Duedate",
"default": null
},
"activity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity",
"default": null,
"description": "Some assignment types carry a separate 'activity' description."
},
"courseid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Courseid",
"default": null
},
"cutoffdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Cutoffdate",
"default": null,
"description": "Hard deadline; submissions after this need an extension."
},
"introfiles": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Introfiles"
},
"introformat": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Introformat",
"default": null
},
"maxattempts": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Maxattempts",
"default": null
},
"activityformat": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Activityformat",
"default": null
},
"gradingduedate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Gradingduedate",
"default": null
},
"teamsubmission": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Teamsubmission",
"default": null
},
"introattachments": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Introattachments"
},
"activityattachments": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Activityattachments"
},
"attemptreopenmethod": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Attemptreopenmethod",
"default": null
},
"allowsubmissionsfromdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Allowsubmissionsfromdate",
"default": null
},
"teamsubmissiongroupingid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Teamsubmissiongroupingid",
"default": null
},
"requireallteammemberssubmit": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Requireallteammemberssubmit",
"default": null
}
},
"description": "Schema verified against Moodle 4.5's mod_assign/externallib.php source\n(PLATO runs 4.5.13), and -- as of issue #84 -- against a real live\nresponse (course 5968's \"중간고사 전 과제\", the first real assignment to\never exist on the test account)."
}
},
"title": "list_assignmentsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/AssignmentSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_assignment_detail
Get one assignment's details and this account's submission status.
{
"type": "object",
"title": "get_assignment_detailArguments",
"required": [
"course_id",
"assignment_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
},
"assignment_id": {
"type": "integer",
"title": "Assignment Id",
"description": "Assignment id, e.g. from list_assignments."
}
}
}{
"type": "object",
"$defs": {
"FileEntry": {
"type": "object",
"title": "FileEntry",
"required": [
"filename",
"fileurl"
],
"properties": {
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null
},
"author": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Author",
"default": null,
"description": "Who uploaded this file -- course materials are almost always uploaded by staff, not classmates (see docs/pii_review.md, issue #36)."
},
"fileurl": {
"type": "string",
"title": "Fileurl"
},
"filename": {
"type": "string",
"title": "Filename"
},
"filesize": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Filesize",
"default": null
},
"mimetype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mimetype",
"default": null
},
"needs_token": {
"type": "boolean",
"title": "Needs Token",
"default": true,
"description": "Append ?token={wstoken} to fileurl before downloading (see issue #20)."
},
"timemodified": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timemodified",
"default": null
}
}
},
"GradeInfo": {
"type": "object",
"title": "GradeInfo",
"properties": {
"grade": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Grade",
"default": null,
"description": "Raw grade value (Moodle returns as text)."
},
"grader": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Grader",
"default": null
},
"timemodified": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timemodified",
"default": null
},
"gradefordisplay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gradefordisplay",
"default": null
}
}
},
"PluginFileArea": {
"type": "object",
"title": "PluginFileArea",
"required": [
"area"
],
"properties": {
"area": {
"type": "string",
"title": "Area"
},
"files": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Files"
}
}
},
"SubmissionInfo": {
"type": "object",
"title": "SubmissionInfo",
"properties": {
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"timemodified": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timemodified",
"default": null
}
},
"description": "Lightweight submission snapshot used inside previousattempts (as\nopposed to SubmissionStatus, which is this account's *current* status)."
},
"PreviousAttempt": {
"type": "object",
"title": "PreviousAttempt",
"required": [
"attemptnumber"
],
"properties": {
"grade": {
"anyOf": [
{
"$ref": "#/$defs/GradeInfo"
},
{
"type": "null"
}
],
"default": null
},
"submission": {
"anyOf": [
{
"$ref": "#/$defs/SubmissionInfo"
},
{
"type": "null"
}
],
"default": null
},
"attemptnumber": {
"type": "integer",
"title": "Attemptnumber"
},
"feedbackplugins": {
"type": "array",
"items": {
"$ref": "#/$defs/AssignmentPlugin"
},
"title": "Feedbackplugins"
}
}
},
"AssignmentConfig": {
"type": "object",
"title": "AssignmentConfig",
"required": [
"plugin",
"subtype",
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"type": "string",
"title": "Value"
},
"plugin": {
"type": "string",
"title": "Plugin"
},
"subtype": {
"type": "string",
"title": "Subtype"
}
},
"description": "One raw row of `mod_assign_get_assignments`'s `configs` array -- a\nflat (plugin, subtype, name, value) tuple describing one submission or\nfeedback plugin's settings for this assignment. `value` is always a\nstring in the API response, even for booleans/numbers (confirmed live,\nissue #84 -- e.g. `{\"plugin\": \"file\", \"subtype\": \"assignsubmission\",\n\"name\": \"maxsubmissionsizebytes\", \"value\": \"1073741824\"}`)."
},
"AssignmentPlugin": {
"type": "object",
"title": "AssignmentPlugin",
"required": [
"type",
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"type": {
"type": "string",
"title": "Type"
},
"fileareas": {
"type": "array",
"items": {
"$ref": "#/$defs/PluginFileArea"
},
"title": "Fileareas"
},
"editorfields": {
"type": "array",
"items": {
"$ref": "#/$defs/PluginEditorField"
},
"title": "Editorfields"
}
},
"description": "A submission or feedback plugin (e.g. 'file', 'onlinetext', 'comments')\nand the actual content it holds for one submission/grade."
},
"SubmissionStatus": {
"type": "object",
"title": "SubmissionStatus",
"required": [
"submitted"
],
"properties": {
"late": {
"type": "boolean",
"title": "Late",
"default": false
},
"locked": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Locked",
"default": null
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"cansubmit": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Cansubmit",
"default": null
},
"submitted": {
"type": "boolean",
"title": "Submitted"
},
"timemodified": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timemodified",
"default": null
},
"gradingstatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gradingstatus",
"default": null
},
"submitted_files": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Submitted Files",
"description": "The actual file(s) submitted via the 'file' plugin, if any -- added in issue #100 after auditing a real response and finding this was silently dropped (lastattempt.submission.plugins[].fileareas[].files[], only present for type=='file')."
},
"extensionduedate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Extensionduedate",
"default": null,
"description": "Individual extension granted to this student, if any."
}
}
},
"AssignmentSummary": {
"type": "object",
"title": "AssignmentSummary",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"cmid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cmid",
"default": null
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null,
"description": "Assignment instructions (HTML)."
},
"configs": {
"type": "array",
"items": {
"$ref": "#/$defs/AssignmentConfig"
},
"title": "Configs",
"description": "Raw submission/feedback plugin settings. Prefer file_submission/onlinetext_submission over reading this directly."
},
"duedate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Duedate",
"default": null
},
"activity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity",
"default": null,
"description": "Some assignment types carry a separate 'activity' description."
},
"courseid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Courseid",
"default": null
},
"cutoffdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Cutoffdate",
"default": null,
"description": "Hard deadline; submissions after this need an extension."
},
"introfiles": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Introfiles"
},
"introformat": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Introformat",
"default": null
},
"maxattempts": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Maxattempts",
"default": null
},
"activityformat": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Activityformat",
"default": null
},
"gradingduedate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Gradingduedate",
"default": null
},
"teamsubmission": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Teamsubmission",
"default": null
},
"introattachments": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Introattachments"
},
"activityattachments": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Activityattachments"
},
"attemptreopenmethod": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Attemptreopenmethod",
"default": null
},
"allowsubmissionsfromdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Allowsubmissionsfromdate",
"default": null
},
"teamsubmissiongroupingid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Teamsubmissiongroupingid",
"default": null
},
"requireallteammemberssubmit": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Requireallteammemberssubmit",
"default": null
}
},
"description": "Schema verified against Moodle 4.5's mod_assign/externallib.php source\n(PLATO runs 4.5.13), and -- as of issue #84 -- against a real live\nresponse (course 5968's \"중간고사 전 과제\", the first real assignment to\never exist on the test account)."
},
"PluginEditorField": {
"type": "object",
"title": "PluginEditorField",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Text",
"default": null
},
"format": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Format",
"default": null
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
}
},
"description": "One text field of a submission/feedback plugin -- e.g. the actual\nwritten comment text for the 'comments' feedback plugin."
},
"SubmissionFeedback": {
"type": "object",
"title": "SubmissionFeedback",
"properties": {
"grade": {
"anyOf": [
{
"$ref": "#/$defs/GradeInfo"
},
{
"type": "null"
}
],
"default": null
},
"plugins": {
"type": "array",
"items": {
"$ref": "#/$defs/AssignmentPlugin"
},
"title": "Plugins",
"description": "Includes the instructor's written feedback comments."
},
"gradeddate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Gradeddate",
"default": null
},
"gradefordisplay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gradefordisplay",
"default": null
}
}
},
"AssignmentExtraData": {
"type": "object",
"title": "AssignmentExtraData",
"properties": {
"activity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activity",
"default": null
},
"attachments_intro": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Attachments Intro"
},
"attachments_activity": {
"type": "array",
"items": {
"$ref": "#/$defs/FileEntry"
},
"title": "Attachments Activity"
}
},
"description": "Maps from Moodle's `assignmentdata` (attachments nested under\n`attachments.intro`/`attachments.activity`) to a flat shape."
}
},
"title": "AssignmentDetail",
"required": [
"assignment"
],
"properties": {
"extra": {
"anyOf": [
{
"$ref": "#/$defs/AssignmentExtraData"
},
{
"type": "null"
}
],
"default": null
},
"feedback": {
"anyOf": [
{
"$ref": "#/$defs/SubmissionFeedback"
},
{
"type": "null"
}
],
"default": null
},
"assignment": {
"$ref": "#/$defs/AssignmentSummary"
},
"submission": {
"anyOf": [
{
"$ref": "#/$defs/SubmissionStatus"
},
{
"type": "null"
}
],
"default": null
},
"previousattempts": {
"type": "array",
"items": {
"$ref": "#/$defs/PreviousAttempt"
},
"title": "Previousattempts"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}submit_assignment
Submit text and/or file attachments for an assignment. IRREVERSIBLE once dry_run=False. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False (same parameters) after they explicitly confirm. Provide text, file_paths/file_contents, or both -- whichever this assignment actually accepts (see get_assignment_detail). file_paths works only when this server is running locally (stdio, e.g. Claude Code/Desktop) -- rejected with a clear error over a remote (streamable-http, e.g. a Claude.ai Connector) connection, mirroring download_course_file's own stdio-vs-remote split. file_contents works over either transport and is the only option remotely, since this server's disk is not reachable by you there.
{
"type": "object",
"$defs": {
"InlineFileUpload": {
"type": "object",
"title": "InlineFileUpload",
"required": [
"filename",
"content_base64"
],
"properties": {
"filename": {
"type": "string",
"title": "Filename"
},
"content_base64": {
"type": "string",
"title": "Content Base64"
}
},
"description": "One file's content, handed to the server directly over remote\n(streamable-http) transport -- there's no local filesystem for the\nserver to read from there, so the client must send the bytes itself\n(issue #153). The upload-direction counterpart to files.py's\nDownloadContentResult."
}
},
"title": "submit_assignmentArguments",
"required": [
"course_id",
"assignment_id"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"default": "",
"description": "Plain-text submission content. Omit (empty string) for a file-only submission. Rejected if this assignment doesn't accept online text -- check get_assignment_detail's onlinetext_submission.enabled first."
},
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the submission without sending it. Call again with dry_run=False (same parameters) to actually submit it."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
},
"file_paths": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "File Paths",
"default": null,
"description": "Local filesystem paths to upload as file attachments. Only works when this server is running locally (stdio) -- rejected with a clear error over a remote/streamable-http connection (use file_contents there instead). Rejected if this assignment doesn't accept file submissions, exceeds its max file count/size, or uses a disallowed extension -- check get_assignment_detail's file_submission (enabled/max_files/max_size_bytes/allowed_extensions) first."
},
"assignment_id": {
"type": "integer",
"title": "Assignment Id",
"description": "Assignment id, e.g. from list_assignments."
},
"file_contents": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/$defs/InlineFileUpload"
}
},
{
"type": "null"
}
],
"title": "File Contents",
"default": null,
"description": "File attachments as {filename, content_base64} -- works over either transport, and is the only way to attach files when this server is running remotely (streamable-http), since it has no local filesystem to read a path from there. Each file is capped at 5MB decoded, in addition to this assignment's own max file count/size/extension rules (see get_assignment_detail's file_submission)."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}remove_submission
Withdraw/clear this account's own submission for an assignment. IRREVERSIBLE and DESTRUCTIVE once dry_run=False -- this discards already-submitted work (files/text), not a draft. KNOWN ISSUE: live testing found dry_run=False currently fails with an "invalid parameter" error from PLATO every time (the real required parameter shape wasn't determined -- see remove_submission_for's docstring). dry_run=True (preview) works and is safe to call. Do not rely on dry_run=False actually working until this is fixed. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "remove_submissionArguments",
"required": [
"course_id",
"assignment_id"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the removal without doing it. Call again with dry_run=False (same parameters) to actually remove it."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
},
"assignment_id": {
"type": "integer",
"title": "Assignment Id",
"description": "Assignment id, e.g. from list_assignments."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}get_grades
Get this account's grade items for a course, if visible.
{
"type": "object",
"title": "get_gradesArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"GradeItem": {
"type": "object",
"title": "GradeItem",
"required": [
"id",
"itemtype"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"feedback": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Feedback",
"default": null
},
"grademax": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Grademax",
"default": null
},
"grademin": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Grademin",
"default": null
},
"graderaw": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Graderaw",
"default": null
},
"itemname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Itemname",
"default": null
},
"itemtype": {
"type": "string",
"title": "Itemtype"
},
"gradeformatted": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Gradeformatted",
"default": null
}
}
}
},
"title": "GradesResult",
"required": [
"courseid",
"available"
],
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message",
"default": null
},
"courseid": {
"type": "integer",
"title": "Courseid"
},
"available": {
"type": "boolean",
"title": "Available"
},
"gradeitems": {
"type": "array",
"items": {
"$ref": "#/$defs/GradeItem"
},
"title": "Gradeitems"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_grades_access_info
Check what grade-related permissions this account has in a course -- e.g. whether it can see its own grades vs. (as a teacher/TA) everyone's grades. Most student accounts will see canviewallgrades=False.
{
"type": "object",
"title": "get_grades_access_infoArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"title": "GradeAccessInfo",
"properties": {
"canviewmygrades": {
"type": "boolean",
"title": "Canviewmygrades",
"default": false
},
"canviewallgrades": {
"type": "boolean",
"title": "Canviewallgrades",
"default": false,
"description": "True for teachers/TAs who can see everyone's grades."
},
"canviewusergradereport": {
"type": "boolean",
"title": "Canviewusergradereport",
"default": false
}
},
"description": "Result of gradereport_user_get_access_information (issue #95) --\nconfirmed live against the real account/course 5968."
}{
"readOnlyHint": true,
"openWorldHint": true
}list_calendar_events
List upcoming calendar events within the next `days_ahead` days.
{
"type": "object",
"title": "list_calendar_eventsArguments",
"properties": {
"days_ahead": {
"type": "integer",
"title": "Days Ahead",
"default": 14,
"description": "How many days ahead of now to include events for."
}
}
}{
"type": "object",
"$defs": {
"CalendarEvent": {
"type": "object",
"title": "CalendarEvent",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"courseid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Courseid",
"default": null
},
"eventtype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Eventtype",
"default": null
},
"timestart": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timestart",
"default": null
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null,
"description": "HTML-formatted event description."
}
}
}
},
"title": "list_calendar_eventsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CalendarEvent"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_calendar_access_info
Check this account's calendar-management permissions -- a student account can typically manage its own personal entries only, not course/group entries.
{
"type": "object",
"title": "get_calendar_access_infoArguments",
"properties": {}
}{
"type": "object",
"title": "CalendarAccessInfo",
"properties": {
"canmanageentries": {
"type": "boolean",
"title": "Canmanageentries",
"default": false
},
"canmanageownentries": {
"type": "boolean",
"title": "Canmanageownentries",
"default": false
},
"canmanagegroupentries": {
"type": "boolean",
"title": "Canmanagegroupentries",
"default": false
}
},
"description": "Result of core_calendar_get_calendar_access_information (issue #90)\n-- confirmed live: a student account can manage its own personal\nentries (canmanageownentries=True) but not course/group entries."
}{
"readOnlyHint": true,
"openWorldHint": true
}create_calendar_event
Create a personal calendar entry. IRREVERSIBLE once dry_run=False. Only personal ("user") events are supported -- course/group events are not something a student account can create. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "create_calendar_eventArguments",
"required": [
"name",
"timestart"
],
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Event title."
},
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the event without creating it. Call again with dry_run=False (same parameters) to actually create it."
},
"timestart": {
"type": "integer",
"title": "Timestart",
"description": "Unix timestamp for the event's start."
},
"description": {
"type": "string",
"title": "Description",
"default": "",
"description": "Optional event description."
},
"duration_seconds": {
"type": "integer",
"title": "Duration Seconds",
"default": 0,
"description": "Event duration in seconds, 0 for a point-in-time event."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}delete_calendar_event
Delete a personal calendar entry this account owns. IRREVERSIBLE once dry_run=False. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "delete_calendar_eventArguments",
"required": [
"event_id"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the deletion without doing it. Call again with dry_run=False (same parameters) to actually delete it."
},
"event_id": {
"type": "integer",
"title": "Event Id",
"description": "Calendar event id to delete."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}get_unread_messages
Get this account's unread PLATO notifications.
{
"type": "object",
"title": "get_unread_messagesArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 20,
"description": "Maximum number of unread notifications to return."
}
}
}{
"type": "object",
"$defs": {
"MessageItem": {
"type": "object",
"title": "MessageItem",
"required": [
"id",
"useridfrom"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subject",
"default": null
},
"eventtype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Eventtype",
"default": null
},
"useridfrom": {
"type": "integer",
"title": "Useridfrom"
},
"fullmessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fullmessage",
"default": null
},
"timecreated": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timecreated",
"default": null
},
"userfromfullname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Userfromfullname",
"default": null,
"description": "Sender's display name -- these are notifications addressed to this account (e.g. system alerts), not a public feed of other users' messages (see docs/pii_review.md, issue #36)."
}
}
}
},
"title": "get_unread_messagesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/MessageItem"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_unread_notification_count
Get a count of this account's unread notifications (a cheaper check than get_unread_messages when you don't need the content). Note: PLATO has person-to-person messaging disabled site-wide, so this counts notifications only, not conversation messages.
{
"type": "object",
"title": "get_unread_notification_countArguments",
"properties": {}
}{
"type": "object",
"title": "get_unread_notification_countOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "integer",
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_notices
List announcements posted to a course's Notices board.
{
"type": "object",
"title": "list_noticesArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"UbboardPostSummary": {
"type": "object",
"title": "UbboardPostSummary",
"required": [
"board_id",
"post_id",
"title"
],
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"writer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Writer",
"default": null,
"description": "Display name of who posted this. For Notices this is course staff (instructor/TA); for Q&A it can be any classmate. Passed through as-is -- see docs/pii_review.md for why, and its caveats."
},
"post_id": {
"type": "integer",
"title": "Post Id"
},
"board_id": {
"type": "integer",
"title": "Board Id"
},
"posted_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Posted At",
"default": null
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "View Count",
"default": null
}
},
"description": "One row of a board's list view."
}
},
"title": "list_noticesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/UbboardPostSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_notice_detail
Get the full text of one notice/announcement.
{
"type": "object",
"title": "get_notice_detailArguments",
"required": [
"course_id",
"post_id"
],
"properties": {
"post_id": {
"type": "integer",
"title": "Post Id",
"description": "Notice post id, e.g. from list_notices."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"title": "UbboardPostDetail",
"required": [
"board_id",
"post_id",
"title",
"content_html"
],
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"writer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Writer",
"default": null,
"description": "Display name of who posted this. For Notices this is course staff (instructor/TA); for Q&A it can be any classmate. Passed through as-is -- see docs/pii_review.md for why, and its caveats."
},
"post_id": {
"type": "integer",
"title": "Post Id"
},
"board_id": {
"type": "integer",
"title": "Board Id"
},
"posted_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Posted At",
"default": null
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "View Count",
"default": null
},
"content_html": {
"type": "string",
"title": "Content Html"
}
},
"description": "A single post's detail page."
}{
"readOnlyHint": true,
"openWorldHint": true
}list_qna
List questions posted to a course's Q&A board.
{
"type": "object",
"title": "list_qnaArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"UbboardPostSummary": {
"type": "object",
"title": "UbboardPostSummary",
"required": [
"board_id",
"post_id",
"title"
],
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"writer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Writer",
"default": null,
"description": "Display name of who posted this. For Notices this is course staff (instructor/TA); for Q&A it can be any classmate. Passed through as-is -- see docs/pii_review.md for why, and its caveats."
},
"post_id": {
"type": "integer",
"title": "Post Id"
},
"board_id": {
"type": "integer",
"title": "Board Id"
},
"posted_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Posted At",
"default": null
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "View Count",
"default": null
}
},
"description": "One row of a board's list view."
}
},
"title": "list_qnaOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/UbboardPostSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_qna_detail
Get one Q&A question's text. Does not include replies -- see issue #23.
{
"type": "object",
"title": "get_qna_detailArguments",
"required": [
"course_id",
"post_id"
],
"properties": {
"post_id": {
"type": "integer",
"title": "Post Id",
"description": "Q&A post id, e.g. from list_qna."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"title": "UbboardPostDetail",
"required": [
"board_id",
"post_id",
"title",
"content_html"
],
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"writer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Writer",
"default": null,
"description": "Display name of who posted this. For Notices this is course staff (instructor/TA); for Q&A it can be any classmate. Passed through as-is -- see docs/pii_review.md for why, and its caveats."
},
"post_id": {
"type": "integer",
"title": "Post Id"
},
"board_id": {
"type": "integer",
"title": "Board Id"
},
"posted_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Posted At",
"default": null
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "View Count",
"default": null
},
"content_html": {
"type": "string",
"title": "Content Html"
}
},
"description": "A single post's detail page."
}{
"readOnlyHint": true,
"openWorldHint": true
}post_qna_question
Post a new question to a course's Q&A board. IRREVERSIBLE and VISIBLE to the instructor once dry_run=False (posted as private/secret by default). Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "post_qna_questionArguments",
"required": [
"course_id",
"subject",
"content_text"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview without posting. Call again with dry_run=False (same parameters) to actually post it."
},
"subject": {
"type": "string",
"title": "Subject",
"description": "Subject/title of the Q&A question."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
},
"content_text": {
"type": "string",
"title": "Content Text",
"description": "Body text of the Q&A question."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}download_course_file
Download a course file (the `fileurl` from get_course_contents). Running locally (stdio, e.g. Claude Code/Desktop): saves the file to `save_path` on this machine and returns the saved path -- `save_path` is required in this case. Running as a remote/hosted server (streamable-http, e.g. reached via a Claude.ai web/mobile Connector): this server's own disk is not reachable by you, so do NOT pass `save_path` -- it will be rejected. Instead the file is fetched here and returned inline as base64 content for you to decode and present, unless it's too large, in which case a direct authenticated download URL is returned instead (that URL embeds a live PLATO access token: do not share it or a chat transcript containing it). Only common course-material extensions are allowed (pdf, office docs, images, zip, txt); local downloads over the configured size limit are rejected.
{
"type": "object",
"title": "download_course_fileArguments",
"required": [
"file_url"
],
"properties": {
"file_url": {
"type": "string",
"title": "File Url",
"description": "The `fileurl` value from get_course_contents."
},
"save_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Save Path",
"default": null,
"description": "Local filesystem path to save to. Required when running locally (stdio); must be omitted when running remotely over HTTP."
}
}
}{
"type": "object",
"$defs": {
"DownloadResult": {
"type": "object",
"title": "DownloadResult",
"required": [
"path",
"size_bytes"
],
"properties": {
"path": {
"type": "string",
"title": "Path"
},
"mimetype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mimetype",
"default": null
},
"size_bytes": {
"type": "integer",
"title": "Size Bytes"
}
}
},
"DownloadLinkResult": {
"type": "object",
"title": "DownloadLinkResult",
"required": [
"url",
"filename",
"warning"
],
"properties": {
"url": {
"type": "string",
"title": "Url"
},
"warning": {
"type": "string",
"title": "Warning"
},
"filename": {
"type": "string",
"title": "Filename"
}
},
"description": "Fallback returned under streamable-http transport only when a file is\ntoo large to inline as base64 (see DownloadContentResult) -- a direct\nauthenticated URL the user's own browser can fetch, since the MCP server\nhas no local disk reachable by the end user there. See\ndocs/smithery_deployment_model.md."
},
"DownloadContentResult": {
"type": "object",
"title": "DownloadContentResult",
"required": [
"filename",
"size_bytes",
"content_base64"
],
"properties": {
"filename": {
"type": "string",
"title": "Filename"
},
"mimetype": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Mimetype",
"default": null
},
"size_bytes": {
"type": "integer",
"title": "Size Bytes"
},
"content_base64": {
"type": "string",
"title": "Content Base64"
}
},
"description": "Returned under streamable-http transport for files that fit within\nINLINE_BASE64_MAX_MB (issue #55 redesign, prompted by observing a real\nClaude.ai session decode a Google Drive MCP tool's inline base64 file\ncontent via its code-execution/file-creation feature and present it as\nan actual downloadable/viewable file). The PLATO access token never\nleaves the server this way -- unlike DownloadLinkResult, there is no\ntoken-in-transcript exposure to warn about."
}
},
"title": "download_course_fileOutput",
"required": [
"result"
],
"properties": {
"result": {
"anyOf": [
{
"$ref": "#/$defs/DownloadResult"
},
{
"$ref": "#/$defs/DownloadContentResult"
},
{
"$ref": "#/$defs/DownloadLinkResult"
}
],
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_course_completion_status
Get this account's overall course-completion status, if the course has course-level completion criteria configured. Most courses on this platform don't (available=False, with a message explaining why) -- try get_activity_completion_status for per-activity progress instead, or get_course_contents's per-module `completed` flag.
{
"type": "object",
"title": "get_course_completion_statusArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"CourseCompletionDetail": {
"type": "object",
"title": "CourseCompletionDetail",
"properties": {
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"criteria": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Criteria",
"default": null
},
"requirement": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Requirement",
"default": null
}
},
"description": "One criterion's human-readable detail, from\n`core_completion_get_course_completion_status`'s nested `details` object.\n`criteria` is an HTML fragment (e.g. a link to the activity), verified\nlive against a real course (issue #88)."
},
"CourseCompletionCriterion": {
"type": "object",
"title": "CourseCompletionCriterion",
"required": [
"type",
"title",
"status",
"complete"
],
"properties": {
"type": {
"type": "integer",
"title": "Type"
},
"title": {
"type": "string",
"title": "Title"
},
"status": {
"type": "string",
"title": "Status"
},
"details": {
"anyOf": [
{
"$ref": "#/$defs/CourseCompletionDetail"
},
{
"type": "null"
}
],
"default": null
},
"complete": {
"type": "boolean",
"title": "Complete"
},
"timecompleted": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timecompleted",
"default": null
}
}
}
},
"title": "CourseCompletionResult",
"required": [
"courseid",
"available"
],
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message",
"default": null
},
"courseid": {
"type": "integer",
"title": "Courseid"
},
"criteria": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseCompletionCriterion"
},
"title": "Criteria"
},
"available": {
"type": "boolean",
"title": "Available"
},
"completed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Completed",
"default": null
}
},
"description": "Result of `core_completion_get_course_completion_status` (issue #88).\n\n`available=False` covers the live-verified `nocriteriaset` case (most\ncourses on this account -- course-level completion tracking is an\nopt-in Moodle feature most courses here don't enable), mirroring how\n`GradesResult.available` handles `nopermissiontoviewgrades`."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_activity_completion_status
Get this account's completion status for every activity/module in a course -- richer than get_course_contents's per-module `completed` flag (includes tracking rules, e.g. 'must view' vs 'must spend N minutes'). For `vod` (video lecture) modules specifically, prefer get_course_contents, whose per-module `vod_progress` field also includes watch-percentage and deadline info this function doesn't return.
{
"type": "object",
"title": "get_activity_completion_statusArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"ActivityCompletionRule": {
"type": "object",
"title": "ActivityCompletionRule",
"required": [
"rulename"
],
"properties": {
"status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"rulename": {
"type": "string",
"title": "Rulename"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
}
},
"description": "One flattened row of an activity's `details` array from\n`core_completion_get_activities_completion_status` -- Moodle nests the\nactual status/description one level deeper under `rulevalue`."
},
"ActivityCompletionStatus": {
"type": "object",
"title": "ActivityCompletionStatus",
"required": [
"cmid",
"modname",
"state",
"hascompletion",
"isautomatic",
"uservisible",
"isoverallcomplete"
],
"properties": {
"cmid": {
"type": "integer",
"title": "Cmid"
},
"state": {
"type": "integer",
"title": "State"
},
"details": {
"type": "array",
"items": {
"$ref": "#/$defs/ActivityCompletionRule"
},
"title": "Details"
},
"modname": {
"type": "string",
"title": "Modname"
},
"isautomatic": {
"type": "boolean",
"title": "Isautomatic"
},
"uservisible": {
"type": "boolean",
"title": "Uservisible"
},
"hascompletion": {
"type": "boolean",
"title": "Hascompletion"
},
"timecompleted": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timecompleted",
"default": null
},
"isoverallcomplete": {
"type": "boolean",
"title": "Isoverallcomplete"
}
},
"description": "One module's row from `core_completion_get_activities_completion_status`\n(issue #88) -- richer than `CourseModule.completed`, which only exposes\nthe final `isoverallcomplete` boolean."
}
},
"title": "get_activity_completion_statusOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ActivityCompletionStatus"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_upcoming_action_events
Get Moodle's own "what needs action soon" feed -- assignments due, video lectures with a watch deadline, etc. -- sorted by urgency, from now onward. Unlike combining list_assignments + get_calendar_events, this is Moodle's own cross-activity prioritized view and may surface activity types (e.g. vod watch deadlines) those tools don't.
{
"type": "object",
"title": "get_upcoming_action_eventsArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 20,
"description": "Maximum number of upcoming events to return."
}
}
}{
"type": "object",
"$defs": {
"ActionEvent": {
"type": "object",
"title": "ActionEvent",
"required": [
"id",
"name",
"eventtype"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"course": {
"anyOf": [
{
"$ref": "#/$defs/ActionEventCourse"
},
{
"type": "null"
}
],
"default": null
},
"overdue": {
"type": "boolean",
"title": "Overdue",
"default": false
},
"timesort": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timesort",
"default": null,
"description": "The timestamp this event is sorted/grouped by -- usually the due date, but set far in the future as a sentinel for events with no real deadline."
},
"eventtype": {
"type": "string",
"title": "Eventtype"
},
"timestart": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timestart",
"default": null
},
"modulename": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Modulename",
"default": null
},
"activitystr": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Activitystr",
"default": null,
"description": "Human-readable description of what action is needed."
}
},
"description": "One row from `core_calendar_get_action_events_by_timesort` (issue\n#89) -- Moodle's own \"what needs action soon\" feed, spanning\nassignments, vod watch deadlines, etc. in one call instead of combining\nlist_assignments + get_calendar_events client-side."
},
"ActionEventCourse": {
"type": "object",
"title": "ActionEventCourse",
"required": [
"id",
"fullname",
"shortname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"shortname": {
"type": "string",
"title": "Shortname"
}
},
"description": "The course an ActionEvent belongs to -- a cut-down view of the much\nlarger course object Moodle embeds inline (which also carries a\nmulti-KB base64 `courseimage` data URI we deliberately drop)."
}
},
"title": "get_upcoming_action_eventsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ActionEvent"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_courses_by_timeline
List enrolled courses filtered by Moodle's own timeline classification (in-progress/future/past), based on course start/end dates. Unlike list_courses (which returns everything unfiltered), this answers "what am I actually taking right now" directly.
{
"type": "object",
"title": "get_courses_by_timelineArguments",
"properties": {
"classification": {
"enum": [
"inprogress",
"future",
"past"
],
"type": "string",
"title": "Classification",
"default": "inprogress",
"description": "'inprogress' (currently running, the default), 'future' (not started yet), or 'past' (ended)."
}
}
}{
"type": "object",
"$defs": {
"CourseSummary": {
"type": "object",
"title": "CourseSummary",
"required": [
"id",
"fullname",
"shortname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"enddate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Enddate",
"default": null
},
"visible": {
"type": "boolean",
"title": "Visible",
"default": true
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"shortname": {
"type": "string",
"title": "Shortname"
},
"startdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Startdate",
"default": null
}
}
}
},
"title": "get_courses_by_timelineOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_grades_overview
Get this account's overall grade for every enrolled course in one call. For the individual grade *items* within one course (e.g. each assignment's score), use get_grades instead -- this tool only returns one summary grade per course.
{
"type": "object",
"title": "get_grades_overviewArguments",
"properties": {}
}{
"type": "object",
"$defs": {
"CourseGradeOverview": {
"type": "object",
"title": "CourseGradeOverview",
"required": [
"courseid"
],
"properties": {
"grade": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Grade",
"default": null,
"description": "Formatted grade for display, e.g. '85.00' or '-' if ungraded."
},
"courseid": {
"type": "integer",
"title": "Courseid"
},
"rawgrade": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Rawgrade",
"default": null
}
},
"description": "One row from `gradereport_overview_get_course_grades` (issue #89) --\none course's overall grade, for all enrolled courses in a single call\n(vs. `get_grades`'s per-course `gradereport_user_get_grade_items`,\nwhich returns individual grade *items* within one course)."
}
},
"title": "get_grades_overviewOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseGradeOverview"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_quizzes
List quizzes across one or more courses.
{
"type": "object",
"title": "list_quizzesArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list quizzes for."
}
}
}{
"type": "object",
"$defs": {
"QuizSummary": {
"type": "object",
"title": "QuizSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"grade": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Grade",
"default": null
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
},
"attempts": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Attempts",
"default": null,
"description": "Max attempts allowed, 0 means unlimited."
},
"timeopen": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timeopen",
"default": null
},
"sumgrades": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Sumgrades",
"default": null
},
"timeclose": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timeclose",
"default": null
},
"timelimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Timelimit",
"default": null,
"description": "Seconds, 0/None means no limit."
},
"grademethod": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Grademethod",
"default": null
}
},
"description": "Schema based on Moodle 4.5's mod_quiz/classes/external source\n(MOODLE_405_STABLE, matching PLATO's actual 4.5.13 release) -- NOT yet\nverified against a live response, since no course in the test account\nhas a real quiz (issue #85, same caveat pattern as AssignmentSummary\nbefore a real assignment existed -- see tests/integration/README.md)."
}
},
"title": "list_quizzesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/QuizSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_attempts
Get this account's past attempts at one quiz.
{
"type": "object",
"title": "get_quiz_attemptsArguments",
"required": [
"quiz_id"
],
"properties": {
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
}
}
}{
"type": "object",
"$defs": {
"QuizAttempt": {
"type": "object",
"title": "QuizAttempt",
"required": [
"id",
"quiz",
"attempt",
"state"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"quiz": {
"type": "integer",
"title": "Quiz"
},
"state": {
"type": "string",
"title": "State",
"description": "inprogress / overdue / finished / abandoned."
},
"attempt": {
"type": "integer",
"title": "Attempt",
"description": "This attempt's sequence number for this user, 1-indexed."
},
"sumgrades": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Sumgrades",
"default": null
},
"timestart": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timestart",
"default": null
},
"timefinish": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timefinish",
"default": null
}
},
"description": "One row from mod_quiz_get_user_attempts -- schema-only, see\nQuizSummary's docstring."
}
},
"title": "get_quiz_attemptsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/QuizAttempt"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_best_grade
Get this account's best grade on one quiz, if any attempt has been graded.
{
"type": "object",
"title": "get_quiz_best_gradeArguments",
"required": [
"quiz_id"
],
"properties": {
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
}
}
}{
"type": "object",
"title": "QuizBestGrade",
"required": [
"hasgrade"
],
"properties": {
"grade": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Grade",
"default": null
},
"hasgrade": {
"type": "boolean",
"title": "Hasgrade"
},
"gradetopass": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Gradetopass",
"default": null
}
},
"description": "Result of mod_quiz_get_user_best_grade -- schema-only, see\nQuizSummary's docstring."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_access_information
Check whether this account can currently attempt a quiz, and why not if blocked (e.g. time window, password, previous attempts exhausted). UNVERIFIED against a real quiz -- call this before start_quiz_attempt and sanity-check the result.
{
"type": "object",
"title": "get_quiz_access_informationArguments",
"required": [
"quiz_id"
],
"properties": {
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
}
}
}{
"type": "object",
"title": "QuizAccessInformation",
"properties": {
"canmanage": {
"type": "boolean",
"title": "Canmanage",
"default": false
},
"canattempt": {
"type": "boolean",
"title": "Canattempt",
"default": false
},
"canpreview": {
"type": "boolean",
"title": "Canpreview",
"default": false
},
"accessrules": {
"type": "array",
"items": {
"type": "string"
},
"title": "Accessrules"
},
"canviewreports": {
"type": "boolean",
"title": "Canviewreports",
"default": false
},
"canreviewmyattempts": {
"type": "boolean",
"title": "Canreviewmyattempts",
"default": false
},
"preventaccessreasons": {
"type": "array",
"items": {
"type": "string"
},
"title": "Preventaccessreasons",
"description": "Human-readable reasons attempting is currently blocked, if any."
}
},
"description": "Result of mod_quiz_get_quiz_access_information -- schema-only,\nreconstructed from Moodle 4.5's mod_quiz external API source. NEVER\nverified against a live response -- no real quiz exists on this\naccount (issue #85, extended by explicit user decision to build the\nattempt flow anyway, since other PNU courses/semesters may use\nquizzes even though none currently do). Field names/shape should be\nre-checked against a real response the first time this is actually\nused."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_required_qtypes
List the question types used in a quiz (e.g. 'multichoice', 'truefalse', 'essay') -- useful to know what kind of answers to expect before starting an attempt.
{
"type": "object",
"title": "get_quiz_required_qtypesArguments",
"required": [
"quiz_id"
],
"properties": {
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
}
}
}{
"type": "object",
"title": "get_quiz_required_qtypesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "string"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_feedback_for_grade
Get the grade-boundary feedback text configured for a quiz at a given grade (e.g. 'You passed!' / 'Please review chapter 3').
{
"type": "object",
"title": "get_quiz_feedback_for_gradeArguments",
"required": [
"quiz_id",
"grade"
],
"properties": {
"grade": {
"type": "number",
"title": "Grade",
"description": "A grade value to look up feedback text for."
},
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
}
}
}{
"type": "object",
"title": "QuizFeedbackForGrade",
"properties": {
"feedbacktext": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Feedbacktext",
"default": null
},
"feedbacktextformat": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Feedbacktextformat",
"default": null
}
},
"description": "Result of mod_quiz_get_quiz_feedback_for_grade -- schema-only,\nUNVERIFIED."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_combined_review_options
Check which review details (marks, feedback, right answers) this account is allowed to see for a quiz's attempts.
{
"type": "object",
"title": "get_quiz_combined_review_optionsArguments",
"required": [
"quiz_id"
],
"properties": {
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
},
"attempt_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Attempt Id",
"default": null,
"description": "Optional: a specific attempt id to check options for."
}
}
}{
"type": "object",
"title": "QuizReviewOptions",
"properties": {
"marks": {
"type": "boolean",
"title": "Marks",
"default": false
},
"feedback": {
"type": "boolean",
"title": "Feedback",
"default": false
},
"rightanswer": {
"type": "boolean",
"title": "Rightanswer",
"default": false
},
"generalfeedback": {
"type": "boolean",
"title": "Generalfeedback",
"default": false
},
"overallfeedback": {
"type": "boolean",
"title": "Overallfeedback",
"default": false
}
},
"description": "Flattened view of mod_quiz_get_combined_review_options's\n`someoptions`/`alloptions` name/value pairs -- schema-only, UNVERIFIED."
}{
"readOnlyHint": true,
"openWorldHint": true
}start_quiz_attempt
Start a new attempt at a quiz. IRREVERSIBLE once dry_run=False -- consumes one of the quiz's limited attempts. UNVERIFIED against a real quiz -- call get_quiz_access_information first and check canattempt/preventaccessreasons. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "start_quiz_attemptArguments",
"required": [
"quiz_id"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview starting the attempt. Call again with dry_run=False (same parameters) to actually start it."
},
"quiz_id": {
"type": "integer",
"title": "Quiz Id",
"description": "Quiz id, e.g. from list_quizzes."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}get_quiz_attempt_data
Get the questions for one page of an in-progress quiz attempt. Each question's `html` is Moodle's own rendered question form -- parse it for the actual answer-field names before calling save_quiz_attempt_responses/process_quiz_attempt. UNVERIFIED against a real quiz.
{
"type": "object",
"title": "get_quiz_attempt_dataArguments",
"required": [
"attempt_id"
],
"properties": {
"page": {
"type": "integer",
"title": "Page",
"default": 0,
"description": "Quiz page number, 0-indexed."
},
"attempt_id": {
"type": "integer",
"title": "Attempt Id",
"description": "Attempt id, e.g. from start_quiz_attempt."
}
}
}{
"type": "object",
"$defs": {
"QuizAttemptQuestion": {
"type": "object",
"title": "QuizAttemptQuestion",
"required": [
"slot"
],
"properties": {
"html": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Html",
"default": null,
"description": "Server-rendered question form -- parse for answer field names."
},
"mark": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Mark",
"default": null
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page",
"default": null
},
"slot": {
"type": "integer",
"title": "Slot"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null,
"description": "Question type, e.g. 'multichoice'."
},
"flagged": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Flagged",
"default": null
},
"maxmark": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Maxmark",
"default": null
},
"sequencecheck": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Sequencecheck",
"default": null,
"description": "Must be echoed back exactly in the next save/process call for this slot."
}
},
"description": "One question slot, as returned by mod_quiz_get_attempt_data/\nget_attempt_summary/get_attempt_review -- schema-only, UNVERIFIED.\n\n`html` is Moodle's server-rendered question form (the same markup a\nbrowser would show) -- this is the actual answer-field names/types an\nAI caller needs to parse to build the `responses` dict for\nprocess_quiz_attempt, since Moodle's own API does not return a\nclean structured \"question text + answer options\" shape separately\nfrom this HTML. This is the central reason attempt-taking was\noriginally deferred (issue #85): there is no real quiz on this\naccount to confirm what this HTML actually looks like, or whether\nthe field-name-guessing approach a caller would need actually works."
}
},
"title": "QuizAttemptData",
"properties": {
"nextpage": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Nextpage",
"default": null
},
"questions": {
"type": "array",
"items": {
"$ref": "#/$defs/QuizAttemptQuestion"
},
"title": "Questions"
}
},
"description": "Result of mod_quiz_get_attempt_data -- schema-only, UNVERIFIED."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_attempt_summary
Get a summary of all questions in an attempt (answered/ unanswered), across all pages. UNVERIFIED against a real quiz.
{
"type": "object",
"title": "get_quiz_attempt_summaryArguments",
"required": [
"attempt_id"
],
"properties": {
"attempt_id": {
"type": "integer",
"title": "Attempt Id",
"description": "Attempt id, e.g. from start_quiz_attempt."
}
}
}{
"type": "object",
"$defs": {
"QuizAttemptQuestion": {
"type": "object",
"title": "QuizAttemptQuestion",
"required": [
"slot"
],
"properties": {
"html": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Html",
"default": null,
"description": "Server-rendered question form -- parse for answer field names."
},
"mark": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Mark",
"default": null
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page",
"default": null
},
"slot": {
"type": "integer",
"title": "Slot"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null,
"description": "Question type, e.g. 'multichoice'."
},
"flagged": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Flagged",
"default": null
},
"maxmark": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Maxmark",
"default": null
},
"sequencecheck": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Sequencecheck",
"default": null,
"description": "Must be echoed back exactly in the next save/process call for this slot."
}
},
"description": "One question slot, as returned by mod_quiz_get_attempt_data/\nget_attempt_summary/get_attempt_review -- schema-only, UNVERIFIED.\n\n`html` is Moodle's server-rendered question form (the same markup a\nbrowser would show) -- this is the actual answer-field names/types an\nAI caller needs to parse to build the `responses` dict for\nprocess_quiz_attempt, since Moodle's own API does not return a\nclean structured \"question text + answer options\" shape separately\nfrom this HTML. This is the central reason attempt-taking was\noriginally deferred (issue #85): there is no real quiz on this\naccount to confirm what this HTML actually looks like, or whether\nthe field-name-guessing approach a caller would need actually works."
}
},
"title": "QuizAttemptSummary",
"properties": {
"questions": {
"type": "array",
"items": {
"$ref": "#/$defs/QuizAttemptQuestion"
},
"title": "Questions"
},
"totalunanswered": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Totalunanswered",
"default": null
}
},
"description": "Result of mod_quiz_get_attempt_summary -- schema-only, UNVERIFIED."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_quiz_attempt_review
Get the grade and per-question review for a finished quiz attempt. UNVERIFIED against a real quiz.
{
"type": "object",
"title": "get_quiz_attempt_reviewArguments",
"required": [
"attempt_id"
],
"properties": {
"page": {
"type": "integer",
"title": "Page",
"default": -1,
"description": "Page number, 0-indexed, or -1 for all pages."
},
"attempt_id": {
"type": "integer",
"title": "Attempt Id",
"description": "Attempt id, e.g. from start_quiz_attempt."
}
}
}{
"type": "object",
"$defs": {
"QuizAttemptQuestion": {
"type": "object",
"title": "QuizAttemptQuestion",
"required": [
"slot"
],
"properties": {
"html": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Html",
"default": null,
"description": "Server-rendered question form -- parse for answer field names."
},
"mark": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Mark",
"default": null
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Page",
"default": null
},
"slot": {
"type": "integer",
"title": "Slot"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null,
"description": "Question type, e.g. 'multichoice'."
},
"flagged": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Flagged",
"default": null
},
"maxmark": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Maxmark",
"default": null
},
"sequencecheck": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Sequencecheck",
"default": null,
"description": "Must be echoed back exactly in the next save/process call for this slot."
}
},
"description": "One question slot, as returned by mod_quiz_get_attempt_data/\nget_attempt_summary/get_attempt_review -- schema-only, UNVERIFIED.\n\n`html` is Moodle's server-rendered question form (the same markup a\nbrowser would show) -- this is the actual answer-field names/types an\nAI caller needs to parse to build the `responses` dict for\nprocess_quiz_attempt, since Moodle's own API does not return a\nclean structured \"question text + answer options\" shape separately\nfrom this HTML. This is the central reason attempt-taking was\noriginally deferred (issue #85): there is no real quiz on this\naccount to confirm what this HTML actually looks like, or whether\nthe field-name-guessing approach a caller would need actually works."
}
},
"title": "QuizAttemptReview",
"properties": {
"grade": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Grade",
"default": null
},
"questions": {
"type": "array",
"items": {
"$ref": "#/$defs/QuizAttemptQuestion"
},
"title": "Questions"
}
},
"description": "Result of mod_quiz_get_attempt_review -- schema-only, UNVERIFIED."
}{
"readOnlyHint": true,
"openWorldHint": true
}save_quiz_attempt_responses
Save in-progress answers WITHOUT finishing the attempt -- can still be changed later. UNVERIFIED against a real quiz. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "save_quiz_attempt_responsesArguments",
"required": [
"attempt_id",
"responses"
],
"properties": {
"page": {
"type": "integer",
"title": "Page",
"default": 0,
"description": "Quiz page number these responses are for."
},
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview saving without doing it. Call again with dry_run=False (same parameters) to actually save it."
},
"responses": {
"type": "object",
"title": "Responses",
"description": "Moodle question-form field name -> answer value, parsed from get_quiz_attempt_data's returned HTML.",
"additionalProperties": {
"type": "string"
}
},
"attempt_id": {
"type": "integer",
"title": "Attempt Id",
"description": "Attempt id, e.g. from start_quiz_attempt."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}process_quiz_attempt
Submit answers for a quiz attempt. IRREVERSIBLE once dry_run=False AND finish_attempt=True -- that is the final, graded submission and cannot be undone. UNVERIFIED against a real quiz. Call with dry_run=True (default) first, show the preview to the user -- especially before finish_attempt=True -- and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "process_quiz_attemptArguments",
"required": [
"attempt_id",
"responses"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview without doing it. Call again with dry_run=False (same parameters) to actually submit it."
},
"responses": {
"type": "object",
"title": "Responses",
"description": "Moodle question-form field name -> answer value, parsed from get_quiz_attempt_data's returned HTML.",
"additionalProperties": {
"type": "string"
}
},
"attempt_id": {
"type": "integer",
"title": "Attempt Id",
"description": "Attempt id, e.g. from start_quiz_attempt."
},
"finish_attempt": {
"type": "boolean",
"title": "Finish Attempt",
"default": false,
"description": "If True, this is the FINAL submission -- the attempt is locked and graded. If False, this just records answers for the current page."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}list_forums
List standard Moodle forums across one or more courses. NOT the same as PLATO's notice/Q&A board (use list_notices/list_qna for that) -- this covers the separate, less-commonly-used mod_forum module.
{
"type": "object",
"title": "list_forumsArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list forums for."
}
}
}{
"type": "object",
"$defs": {
"ForumSummary": {
"type": "object",
"title": "ForumSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null,
"description": "e.g. 'general', 'news', 'qanda'."
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
},
"numdiscussions": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Numdiscussions",
"default": null
}
},
"description": "Schema based on Moodle 4.5's mod_forum external API source -- NOT\nyet verified against a live response (no course on this account uses\na standard mod_forum; all notice/board activity observed so far is the\ncustom `ubboard` module -- see tools/forum.py's module docstring for\nhow these two are different)."
}
},
"title": "list_forumsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ForumSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_forum_discussions
List discussion threads in one standard Moodle forum.
{
"type": "object",
"title": "get_forum_discussionsArguments",
"required": [
"forum_id"
],
"properties": {
"forum_id": {
"type": "integer",
"title": "Forum Id",
"description": "Forum id, e.g. from list_forums."
}
}
}{
"type": "object",
"$defs": {
"ForumDiscussion": {
"type": "object",
"title": "ForumDiscussion",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"locked": {
"type": "boolean",
"title": "Locked",
"default": false
},
"pinned": {
"type": "boolean",
"title": "Pinned",
"default": false
},
"created": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Created",
"default": null
},
"numreplies": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Numreplies",
"default": null
},
"userfullname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Userfullname",
"default": null
}
}
}
},
"title": "get_forum_discussionsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ForumDiscussion"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_discussion_posts
Get all posts in one forum discussion thread.
{
"type": "object",
"title": "get_discussion_postsArguments",
"required": [
"discussion_id"
],
"properties": {
"discussion_id": {
"type": "integer",
"title": "Discussion Id",
"description": "Discussion id, e.g. from get_forum_discussions."
}
}
}{
"type": "object",
"$defs": {
"ForumPost": {
"type": "object",
"title": "ForumPost",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"created": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Created",
"default": null
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message",
"default": null
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subject",
"default": null
},
"userfullname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Userfullname",
"default": null,
"description": "Who wrote this post -- see docs/pii_review.md for the same classmate-content caveat already noted for ubboard."
}
}
}
},
"title": "get_discussion_postsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ForumPost"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}add_discussion
Start a new discussion thread in a forum. IRREVERSIBLE once dry_run=False. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "add_discussionArguments",
"required": [
"forum_id",
"subject",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the new discussion without posting it. Call again with dry_run=False (same parameters) to actually post."
},
"message": {
"type": "string",
"title": "Message",
"description": "Thread body content."
},
"subject": {
"type": "string",
"title": "Subject",
"description": "Thread subject/title."
},
"forum_id": {
"type": "integer",
"title": "Forum Id",
"description": "Forum id, e.g. from list_forums."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}add_discussion_post
Reply to a forum discussion thread. IRREVERSIBLE once dry_run=False. Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "add_discussion_postArguments",
"required": [
"discussion_id",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the reply without sending it. Call again with dry_run=False (same parameters) to actually post it."
},
"message": {
"type": "string",
"title": "Message",
"description": "Reply content."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subject",
"default": null,
"description": "Optional subject override for the reply."
},
"discussion_id": {
"type": "integer",
"title": "Discussion Id",
"description": "Discussion id, e.g. from get_forum_discussions."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}get_course_updates_since
Get what changed in a course since a given time -- configuration, completion, grades, submissions, etc. Only reports modules that implement Moodle's change-tracking (confirmed: the standard `assign` module does; this platform's own custom lecture-file/board/video modules do not, so this won't catch a new ubfile lecture or ubboard post -- use get_course_contents/list_notices to check those instead.
{
"type": "object",
"title": "get_course_updates_sinceArguments",
"required": [
"course_id",
"since"
],
"properties": {
"since": {
"type": "integer",
"title": "Since",
"description": "Unix timestamp -- report changes after this point in time."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"CourseUpdateItem": {
"type": "object",
"title": "CourseUpdateItem",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"itemids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Itemids"
},
"timeupdated": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timeupdated",
"default": null
}
},
"description": "One category of change within a module, from\ncore_course_get_updates_since (issue #102) -- e.g. 'configuration',\n'completion', 'gradeitems', 'submissions', 'grades'. `itemids` is only\npresent for some categories (e.g. which specific submission/grade\nrecord changed); confirmed live against the real assignment."
},
"CourseModuleUpdates": {
"type": "object",
"title": "CourseModuleUpdates",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"title": "Id",
"description": "Course module id (cmid)."
},
"updates": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseUpdateItem"
},
"title": "Updates"
}
},
"description": "One module's changes since a given timestamp, from\ncore_course_get_updates_since (issue #102). Only modules that\nimplement Moodle's check_updates_since callback appear here --\nconfirmed live: the real `assign` module does; this account's custom\nmodules (ubfile, ubboard, vod) do not and are silently absent (Moodle\nreports them as a 'missingcallback' warning, not an error -- not\nsurfaced here since it's an expected, not exceptional, outcome)."
}
},
"title": "get_course_updates_sinceOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseModuleUpdates"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_course_module
Resolve a single course module by its id directly, without fetching and filtering the whole course's contents.
{
"type": "object",
"title": "get_course_moduleArguments",
"required": [
"cmid"
],
"properties": {
"cmid": {
"type": "integer",
"title": "Cmid",
"description": "Course module id (cmid)."
}
}
}{
"type": "object",
"title": "CourseModuleInfo",
"required": [
"id",
"course",
"name",
"modname",
"instance"
],
"properties": {
"id": {
"type": "integer",
"title": "Id",
"description": "Course module id (cmid)."
},
"name": {
"type": "string",
"title": "Name"
},
"course": {
"type": "integer",
"title": "Course"
},
"modname": {
"type": "string",
"title": "Modname"
},
"section": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Section",
"default": null
},
"instance": {
"type": "integer",
"title": "Instance"
},
"sectionnum": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Sectionnum",
"default": null
}
},
"description": "Result of core_course_get_course_module / get_course_module_by_instance\n(issue #103) -- resolves a single module directly by id, confirmed\nlive to return the same data as filtering a full get_course_contents\nresponse (which is how ubboard/scraper.py:find_board_id currently has\nto do it)."
}{
"readOnlyHint": true,
"openWorldHint": true
}search_courses
Search PLATO's entire course catalog by name -- not limited to this account's enrolled courses (use list_courses for that).
{
"type": "object",
"title": "search_coursesArguments",
"required": [
"search_text"
],
"properties": {
"search_text": {
"type": "string",
"title": "Search Text",
"description": "Text to search for in course names."
}
}
}{
"type": "object",
"$defs": {
"CourseSummary": {
"type": "object",
"title": "CourseSummary",
"required": [
"id",
"fullname",
"shortname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"enddate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Enddate",
"default": null
},
"visible": {
"type": "boolean",
"title": "Visible",
"default": true
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"shortname": {
"type": "string",
"title": "Shortname"
},
"startdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Startdate",
"default": null
}
}
}
},
"title": "search_coursesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_recent_courses
Get this account's recently-accessed courses, most recent first.
{
"type": "object",
"title": "get_recent_coursesArguments",
"properties": {}
}{
"type": "object",
"$defs": {
"CourseSummary": {
"type": "object",
"title": "CourseSummary",
"required": [
"id",
"fullname",
"shortname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"enddate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Enddate",
"default": null
},
"visible": {
"type": "boolean",
"title": "Visible",
"default": true
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"shortname": {
"type": "string",
"title": "Shortname"
},
"startdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Startdate",
"default": null
}
}
}
},
"title": "get_recent_coursesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_recent_items
Get this account's recently-accessed course modules (files, assignments, etc.) across all courses, most recent first.
{
"type": "object",
"title": "get_recent_itemsArguments",
"properties": {}
}{
"type": "object",
"$defs": {
"RecentItem": {
"type": "object",
"title": "RecentItem",
"required": [
"id",
"courseid",
"cmid",
"modname",
"name",
"coursename"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"cmid": {
"type": "integer",
"title": "Cmid"
},
"name": {
"type": "string",
"title": "Name"
},
"modname": {
"type": "string",
"title": "Modname"
},
"viewurl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Viewurl",
"default": null
},
"courseid": {
"type": "integer",
"title": "Courseid"
},
"coursename": {
"type": "string",
"title": "Coursename"
},
"timeaccess": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Timeaccess",
"default": null
},
"courseviewurl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Courseviewurl",
"default": null
}
},
"description": "One row from block_recentlyaccesseditems_get_recent_items (issue\n#116) -- confirmed live, returns real recently-accessed modules\nacross courses, each with a direct view URL."
}
},
"title": "get_recent_itemsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/RecentItem"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_starred_courses
Get this account's starred/favourited courses, if any.
{
"type": "object",
"title": "get_starred_coursesArguments",
"properties": {}
}{
"type": "object",
"$defs": {
"CourseSummary": {
"type": "object",
"title": "CourseSummary",
"required": [
"id",
"fullname",
"shortname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"enddate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Enddate",
"default": null
},
"visible": {
"type": "boolean",
"title": "Visible",
"default": true
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"shortname": {
"type": "string",
"title": "Shortname"
},
"startdate": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Startdate",
"default": null
}
}
}
},
"title": "get_starred_coursesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_video_conferences
List BigBlueButton video-conference activities across one or more courses. Joining a meeting is not supported by this server -- this tool is read-only coverage only. Zoom activities (mod_zoom) are not covered -- no real instance has existed to verify against.
{
"type": "object",
"title": "list_video_conferencesArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list video conferences for."
}
}
}{
"type": "object",
"$defs": {
"VideoConference": {
"type": "object",
"title": "VideoConference",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_bigbluebuttonbn external API\nsource -- NOT yet verified against a live response. Neither\nmod_bigbluebuttonbn nor mod_zoom appears in any course on this\naccount (live scan, 2026-10-17); list_video_conferences itself IS\nlive-verified (correctly empty). Re-check field names once a course\nwith a real video-conference module exists -- same caveat pattern as\nAssignmentSummary before a real assignment existed."
}
},
"title": "list_video_conferencesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/VideoConference"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_lessons
List Lesson activities across one or more courses. Taking a lesson (answering pages) is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_lessonsArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list lessons for."
}
}
}{
"type": "object",
"$defs": {
"LessonSummary": {
"type": "object",
"title": "LessonSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
},
"timelimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Timelimit",
"default": null
},
"maxattempts": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Maxattempts",
"default": null
}
},
"description": "Schema based on Moodle 4.5's mod_lesson external API source -- NOT\nyet verified against a live response. mod_lesson is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_lessons itself IS live-verified (correctly\nempty). Re-check field names once a course with a real lesson\nexists, same caveat pattern as AssignmentSummary before a real\nassignment existed."
}
},
"title": "list_lessonsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/LessonSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_workshops
List Workshop (peer assessment) activities across one or more courses. Submitting or assessing work is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_workshopsArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list workshops for."
}
}
}{
"type": "object",
"$defs": {
"WorkshopSummary": {
"type": "object",
"title": "WorkshopSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"phase": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Phase",
"default": null,
"description": "Workshop phase: setup/submission/assessment/grading/closed."
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_workshop external API source --\nNOT yet verified against a live response. mod_workshop is not\npresent in any of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_workshops itself IS live-verified (correctly\nempty). Re-check field names once a course with a real workshop\nexists, same caveat pattern as AssignmentSummary before a real\nassignment existed."
}
},
"title": "list_workshopsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/WorkshopSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_feedbacks
List Feedback (survey) activities across one or more courses. Responding to a survey is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_feedbacksArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list feedback activities for."
}
}
}{
"type": "object",
"$defs": {
"FeedbackSummary": {
"type": "object",
"title": "FeedbackSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
},
"anonymous": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Anonymous",
"default": null
}
},
"description": "Schema based on Moodle 4.5's mod_feedback external API source --\nNOT yet verified against a live response. mod_feedback is not\npresent in any of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_feedbacks itself IS live-verified (correctly\nempty). Re-check field names once a course with real feedback\nexists, same caveat pattern as AssignmentSummary before a real\nassignment existed."
}
},
"title": "list_feedbacksOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/FeedbackSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_choices
List Choice (single-question poll) activities across one or more courses. Voting is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_choicesArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list choice activities for."
}
}
}{
"type": "object",
"$defs": {
"ChoiceSummary": {
"type": "object",
"title": "ChoiceSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_choice external API source -- NOT\nyet verified against a live response. mod_choice is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_choices itself IS live-verified (correctly\nempty)."
}
},
"title": "list_choicesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ChoiceSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_surveys
List Survey activities across one or more courses. Answering is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_surveysArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list survey activities for."
}
}
}{
"type": "object",
"$defs": {
"SurveySummary": {
"type": "object",
"title": "SurveySummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_survey external API source -- NOT\nyet verified against a live response. mod_survey is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_surveys itself IS live-verified (correctly\nempty)."
}
},
"title": "list_surveysOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/SurveySummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_scorms
List SCORM packaged-content activities across one or more courses. Launching/tracking a SCORM attempt is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_scormsArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list SCORM packages for."
}
}
}{
"type": "object",
"$defs": {
"ScormSummary": {
"type": "object",
"title": "ScormSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_scorm external API source -- NOT\nyet verified against a live response. mod_scorm is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_scorms itself IS live-verified (correctly\nempty)."
}
},
"title": "list_scormsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ScormSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_h5p_activities
List H5P interactive-content activities across one or more courses. Attempt results are not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_h5p_activitiesArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list H5P activities for."
}
}
}{
"type": "object",
"$defs": {
"H5pActivitySummary": {
"type": "object",
"title": "H5pActivitySummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_h5pactivity external API source\n-- NOT yet verified against a live response. mod_h5pactivity is not\npresent in any of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_h5p_activities itself IS live-verified\n(correctly empty)."
}
},
"title": "list_h5p_activitiesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/H5pActivitySummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_glossaries
List Glossary activities across one or more courses. Reading/ adding entries is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_glossariesArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list glossaries for."
}
}
}{
"type": "object",
"$defs": {
"GlossarySummary": {
"type": "object",
"title": "GlossarySummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_glossary external API source --\nNOT yet verified against a live response. mod_glossary is not\npresent in any of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_glossaries itself IS live-verified (correctly\nempty)."
}
},
"title": "list_glossariesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/GlossarySummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_database_activities
List Database ("mod_data") activities across one or more courses. Reading/adding entries is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_database_activitiesArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list database activities for."
}
}
}{
"type": "object",
"$defs": {
"DatabaseActivitySummary": {
"type": "object",
"title": "DatabaseActivitySummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_data external API source -- NOT\nyet verified against a live response. mod_data is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_database_activities itself IS live-verified\n(correctly empty)."
}
},
"title": "list_database_activitiesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/DatabaseActivitySummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_wikis
List Wiki activities across one or more courses. Reading/ editing pages is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_wikisArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list wikis for."
}
}
}{
"type": "object",
"$defs": {
"WikiSummary": {
"type": "object",
"title": "WikiSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_wiki external API source -- NOT\nyet verified against a live response. mod_wiki is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_wikis itself IS live-verified (correctly\nempty)."
}
},
"title": "list_wikisOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/WikiSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_chats
List Chat (real-time chat room) activities across one or more courses. Reading/sending chat messages is not supported by this server -- this tool is read-only coverage only.
{
"type": "object",
"title": "list_chatsArguments",
"required": [
"course_ids"
],
"properties": {
"course_ids": {
"type": "array",
"items": {
"type": "integer"
},
"title": "Course Ids",
"description": "One or more course ids to list chat rooms for."
}
}
}{
"type": "object",
"$defs": {
"ChatSummary": {
"type": "object",
"title": "ChatSummary",
"required": [
"id",
"course",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"intro": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intro",
"default": null
},
"course": {
"type": "integer",
"title": "Course"
}
},
"description": "Schema based on Moodle 4.5's mod_chat external API source -- NOT\nyet verified against a live response. mod_chat is not present in\nany of the 11 currently enrolled real courses (live scan,\n2026-10-17) -- list_chats itself IS live-verified (correctly\nempty)."
}
},
"title": "list_chatsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/ChatSummary"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_user_profile
Get a user's profile, scoped to a shared course (not a global user search -- see docs/pii_review.md).
{
"type": "object",
"title": "get_user_profileArguments",
"required": [
"course_id"
],
"properties": {
"userid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Userid",
"default": null,
"description": "User id to look up. Omit to get this account's own profile."
},
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id both accounts share."
}
}
}{
"type": "object",
"$defs": {
"UserPreference": {
"type": "object",
"title": "UserPreference",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Value",
"default": null
}
}
}
},
"title": "UserProfile",
"required": [
"id",
"fullname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Email",
"default": null,
"description": "Only populated for the caller's own profile or where the course context grants visibility -- see docs/pii_review.md."
},
"fullname": {
"type": "string",
"title": "Fullname"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Username",
"default": null
},
"department": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Department",
"default": null
},
"institution": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Institution",
"default": null
},
"preferences": {
"type": "array",
"items": {
"$ref": "#/$defs/UserPreference"
},
"title": "Preferences"
},
"profileimageurl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Profileimageurl",
"default": null
}
},
"description": "Result of core_user_get_course_user_profiles (issue #96) --\ncourse-scoped (not a global user search like get_users_by_field,\nwhich was NOT wired for privacy reasons -- see tools/user_profile.py's\nmodule docstring). Confirmed live against this account's own profile."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_private_files_info
Get a summary (file/folder count, total size) of this account's Moodle private files area.
{
"type": "object",
"title": "get_private_files_infoArguments",
"properties": {}
}{
"type": "object",
"title": "PrivateFilesInfo",
"properties": {
"filesize": {
"type": "integer",
"title": "Filesize",
"default": 0
},
"filecount": {
"type": "integer",
"title": "Filecount",
"default": 0
},
"foldercount": {
"type": "integer",
"title": "Foldercount",
"default": 0
}
},
"description": "Result of core_user_get_private_files_info (issue #96) -- confirmed\nlive against this account (0 files/folders at the time)."
}{
"readOnlyHint": true,
"openWorldHint": true
}get_user_preferences
Get this account's Moodle user preferences. Note: most of these are internal UI state (e.g. which dashboard sections are collapsed), not information meaningful on its own.
{
"type": "object",
"title": "get_user_preferencesArguments",
"properties": {}
}{
"type": "object",
"$defs": {
"UserPreference": {
"type": "object",
"title": "UserPreference",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Value",
"default": null
}
}
}
},
"title": "get_user_preferencesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/UserPreference"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}add_private_file
Upload a file to this account's Moodle private files area. IRREVERSIBLE once dry_run=False -- no delete tool exists for private files yet, so this permanently adds the file until the user removes it via PLATO's own UI. Only works when this server is running locally (stdio). Call with dry_run=True (default) first, show the preview to the user, and only call again with dry_run=False after they explicitly confirm.
{
"type": "object",
"title": "add_private_fileArguments",
"required": [
"file_path"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "If True (default), only preview the upload without doing it. Call again with dry_run=False (same parameters) to actually upload it."
},
"file_path": {
"type": "string",
"title": "File Path",
"description": "Local file path to upload."
}
}
}{
"type": "object",
"title": "WriteResult",
"required": [
"dry_run",
"executed",
"preview",
"message"
],
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run"
},
"message": {
"type": "string",
"title": "Message"
},
"preview": {
"type": "object",
"title": "Preview",
"additionalProperties": true
},
"executed": {
"type": "boolean",
"title": "Executed"
}
},
"description": "Standard return shape for every write tool.\n\ndry_run=True: `preview` describes what WOULD be submitted; nothing was\nsent to PLATO. dry_run=False: the write actually happened, `preview`\nstill shows what was submitted, and `executed` is True."
}{
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}get_my_course_groups
Get the groups this account belongs to within a course, if any.
{
"type": "object",
"title": "get_my_course_groupsArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"CourseGroup": {
"type": "object",
"title": "CourseGroup",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"default": null
}
},
"description": "Result of core_group_get_course_user_groups (issue #97) --\nconfirmed live (empty for this account, no groups configured in its\nreal courses)."
}
},
"title": "get_my_course_groupsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/CourseGroup"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_enrolled_users
Get the list of users enrolled in a course (classmates and instructors), with their role. Same data visible in PLATO's own participant list to any enrolled student.
{
"type": "object",
"title": "get_enrolled_usersArguments",
"required": [
"course_id"
],
"properties": {
"course_id": {
"type": "integer",
"title": "Course Id",
"description": "PLATO/Moodle numeric course id, e.g. from list_courses."
}
}
}{
"type": "object",
"$defs": {
"EnrolledUser": {
"type": "object",
"title": "EnrolledUser",
"required": [
"id",
"fullname"
],
"properties": {
"id": {
"type": "integer",
"title": "Id"
},
"roles": {
"type": "array",
"items": {
"$ref": "#/$defs/EnrolledUserRole"
},
"title": "Roles"
},
"fullname": {
"type": "string",
"title": "Fullname"
}
},
"description": "One row from core_enrol_get_enrolled_users (issue #97) -- real\nclassmate names, confirmed live. This is the same participant-list\ndata already visible in PLATO's own course UI to any enrolled\nstudent, not a new exposure -- but still real personal data, so\ntreated with the same care as other classmate-content fields (see\ndocs/pii_review.md)."
},
"EnrolledUserRole": {
"type": "object",
"title": "EnrolledUserRole",
"required": [
"roleid"
],
"properties": {
"roleid": {
"type": "integer",
"title": "Roleid"
},
"shortname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Shortname",
"default": null
}
}
}
},
"title": "get_enrolled_usersOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"$ref": "#/$defs/EnrolledUser"
},
"title": "Result"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-12-02: 3 of 3 checks answered
- 2026-12-03: 4 of 4 checks answered
- 2026-12-04: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1724 ms
- 95th percentile latency
- 1724 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1724 ms · metadata changed · 67 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s); warnings: Does not report a server version
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http plato-mcp https://plato-mcp.onrender.com/mcpCodex
codex mcp add plato-mcp --url https://plato-mcp.onrender.com/mcpCursor
{
"mcpServers": {
"plato-mcp": {
"url": "https://plato-mcp.onrender.com/mcp"
}
}
}Cline
{
"mcpServers": {
"plato-mcp": {
"type": "streamableHttp",
"url": "https://plato-mcp.onrender.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"plato-mcp": {
"type": "http",
"url": "https://plato-mcp.onrender.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http plato-mcp https://plato-mcp.onrender.com/mcpClaude Desktop
https://plato-mcp.onrender.com/mcpWindsurf
{
"mcpServers": {
"plato-mcp": {
"serverUrl": "https://plato-mcp.onrender.com/mcp"
}
}
}Let your agent find its tools
Find servers like PLATO MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.