List Moodle courses
list_coursesLists enrolled Moodle courses with your role, filtered by semester. Omit semester for current term, specify a term code, or use 'all' for every course.
Instructions
List the student's enrolled Moodle courses (with the user's role in each), filtered by semester.
By default (no sem), returns ONLY the latest semester's courses (the current term). Pass sem as an NCCU term code (e.g. "1142") to get that semester; pass "all" to return every enrolled course.
Each course is returned as an object with:
id (int) Moodle course id, usable in other course tools
name (str) full course title
url (str) direct link to the course
semester (str) NCCU term code the course belongs to (e.g. "1151")
current (bool) true if it is in the current (latest) semester
role (str) the user's role: 'student', 'teacher', 'editingteacher', 'teachingassistant', … (null if unknown)
Credentials come from the MCP settings headers, not from you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sem | No | NCCU term code, e.g. "1142". Omit for the latest semester; "all" for every semester. |