Search my courses
search_coursesFind enrolled NCCU Moodle courses by keyword—course code, Chinese, or English—across all terms or a specific semester.
Instructions
Search the user's enrolled courses by keyword — the Moodle app's "filter my courses" box. query is matched as a case-insensitive substring of each course name, which contains the NCCU term code, the Chinese title and the English title — so a course code, a Chinese word or an English word all work (e.g. "物件導向", "Object-oriented", "703009").
Searches ALL enrolled courses across every term by default, so a keyword finds the course whatever semester it is in. Pass sem as a term code (e.g. "1142") to scope the search to one semester, or "latest" for the current term only.
Returns the same fields as list_courses: {id, name, url, semester, current, role}, newest term first. An empty query returns everything in scope (same as list_courses).
Credentials come from the MCP settings headers, not from you.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sem | No | Term to search: 'all' (default, every enrolled course), a term code like '1142', or 'latest' for the current term. | all |
| query | Yes | Keyword to match against the course name (code / 中文 / English). |