List assignments
list_assignmentsList assignments with due dates and submission status for your Moodle courses. Filter by course, semester, or due/open dates to find what's due or opened in a specific period.
Instructions
List assignments (with due dates and submission status) for the student's courses.
Scope, in priority order:
course_ids: if given, list assignments for exactly those Moodle course ids (from list_courses);semis ignored.sem: otherwise filter all enrolled courses by NCCU term code. Default (neither given) = latest semester; "1142" = that term; "all" = every course.
Filter by date (ISO dates in Taipei time, e.g. "2026-09-08"): due_from/due_to bound the DUE date, opens_from/opens_to bound the OPEN (submissions-from) date. Give any subset; compute ranges from today for 'due this week', 'opened last week', etc. This is the best way to answer 'what's due/opened in some period', since it also carries submission status.
By default only courses where you are a STUDENT are included (your own homework); set include_all_role true to also include courses where you are a teacher/TA.
Each assignment: {id, course_id, course, role, name, due, opens, cutoff, status, url}, where role is the user's role in that course (student/teacher/…) and status is 'graded' / 'submitted' / 'not submitted'. Times are Taipei time 'YYYY-MM-DD HH:MM'; null means unset. Sorted by due date.
Credentials come from the MCP settings headers, not from you.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_assignments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sem | No | NCCU term code, e.g. "1142". Omit for the latest semester; "all" for every semester. | |
| due_to | No | Only assignments due on/before this ISO date (Taipei tz). | |
| due_from | No | Only assignments due on/after this ISO date (Taipei tz). | |
| opens_to | No | Only assignments opening on/before this ISO date (Taipei tz). | |
| course_ids | No | Specific Moodle course ids (from list_courses). When given, overrides `sem`. | |
| opens_from | No | Only assignments opening on/after this ISO date (Taipei tz). | |
| include_all_role | No | Include courses where you are not a student (teacher/TA). Default false = only your student courses. |