waterloo-learn-mcp
This MCP server provides read-only access to your University of Waterloo LEARN account and an optional Google Drive folder. Key capabilities:
List courses: Retrieve enrolled courses with IDs.
View announcements: Read instructor announcements with dates and attachments.
Browse course content: Navigate modules, topics, files, and links as a nested table of contents.
Inspect lecture files: Render PDF or PowerPoint slides as images, specifying pages/slides (e.g.,
"4","2-6").Check grades: View grade items, scores, weights, and feedback.
Manage assignments: See due dates, instructions, attachments, submission status, and feedback.
Track upcoming deadlines: Get calendar events and due dates for assignments, quizzes, exams (configurable look-ahead).
Access course outline: Fetch the full syllabus with grading scheme and schedule.
Search Google Drive: If configured, search for past assessments (quizzes, tests, exams) by keyword.
Inspect Drive files: Render Drive-based PDFs, PowerPoints, Google Docs/Slides as images.
Provides tools for searching and retrieving files from a configured Google Drive folder, including past exams and quizzes, using the Google Drive API.
Allows rendering Google Slides presentation files as page images, so AI models can read their content visually.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@waterloo-learn-mcpWhat's due this week in my CS 246 course?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
waterloo-learn-mcp
Read-only local MCP server for University of Waterloo LEARN courses, slides, deadlines, grades, assignments, announcements, and course outlines.
It uses STDIO: ChatGPT desktop or Codex starts the Node process locally and talks to it through pipes. There is no public URL, tunnel, open port, MCP OAuth or token, Developer mode, or manually created plugin.
Connect to ChatGPT desktop (Windows)
1. Install the requirements
ChatGPT desktop, signed in
Node.js 20 or newer
Git
Confirm Node and Codex are available in PowerShell:
node --version
codex --version2. Download and set up the server
git clone https://github.com/LargoLardo/waterloo_learn_mcp.git
cd waterloo_learn_mcp
npm run setupA browser opens. Sign in to LEARN with WatIAM, approve Duo, and wait for the
terminal to print Setup complete. Setup installs dependencies, builds the
server, saves the LEARN session to ignored auth.json, and registers the local
MCP in the configuration shared by ChatGPT desktop and Codex.
At the start of every study session: run
npm run loginand complete WatIAM and Duo. Running MCP processes detect the refreshedauth.jsonon the next tool call, so you do not need to restart ChatGPT desktop.
3. Enable and test it in ChatGPT desktop
Fully quit ChatGPT desktop, including its Windows system-tray process, then reopen it.
Start a new chat and type
/mcp. You can also check Settings > MCP servers; some app versions show the list under Plugins.Confirm
waterloo-learn-mcpis present and enabled.Auth unsupportedis normal for a local STDIO server.Ask: “List my Waterloo LEARN courses.”
Do not enable Developer mode or use Plugins > + to create a connection. That flow is for remote HTTPS MCP servers; this server is registered locally.
PDF slides work immediately. PowerPoint files require LibreOffice:
winget install TheDocumentFoundation.LibreOfficeManual registration
If automatic setup reaches the login step but the MCP does not appear, run:
npm install
npx playwright install chromium
npm run build
npm run login
codex mcp add waterloo-learn-mcp -- node C:\absolute\path\to\waterloo_learn_mcp\dist\index.js
codex mcp listThen fully restart ChatGPT desktop once to load the MCP registration. Later
npm run login refreshes the running MCP automatically without another restart.
Related MCP server: Canvas MCP Server
Authentication
There are two separate connections:
ChatGPT → MCP: local STDIO pipes. No OAuth or bearer token is needed, so the UI may report
Auth unsupported.MCP → LEARN: authenticated HTTPS using the WatIAM/Duo browser session in
auth.json.
auth.json is never returned as MCP output. Requested course data is returned
to ChatGPT so it can answer you.
Tools
Tool | Purpose |
| List enrolled courses and IDs |
| Read announcements and attachments |
| Browse modules, topics, files, and links |
| Render selected PDF/PPT/PPTX slides as images |
| Read grades, weights, and feedback |
| Read assignments, submissions, and feedback |
| Read upcoming events and due dates |
| Read the official course outline/syllabus |
| Search an optional configured Drive folder |
| Render an allowed Drive file as page images |
All tools are read-only. Slide tools accept pages such as "4", "2-6", or
"2,4,7-9" and return up to 30 page images per call.
Optional configuration
Copy .env.local.example to .env.local only if you want login autofill,
custom cache paths, or Google Drive search. .env.local is ignored by Git.
For Drive search, enable the Google Drive API and set either
GOOGLE_DRIVE_API_KEY for a public/shared folder or a short-lived
GOOGLE_DRIVE_ACCESS_TOKEN with the drive.readonly scope. Limit searchable
folders with GOOGLE_DRIVE_FOLDER_IDS.
GitHub safety
Never commit auth.json, .env.local, or cache/. They are ignored, but check
before pushing:
git diff --cached
git ls-files auth.json .env.local "cache/**"The second command must print nothing.
Development
npm test
npm run buildDisclaimer
This unofficial project is not affiliated with the University of Waterloo or D2L. Use it only with your account, respect university policies and course copyright, and verify important grades, deadlines, and policies in LEARN.
Available Tools
10 toolsget_announcementsGet AnnouncementsA
Get announcements/news posted by instructors for a course. Returns title, body, posted date, and attachments. Use to answer: "Any new announcements?", "What did the professor post?"
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 |
Output Schema
| Name | Required | Description |
|---|---|---|
| announcements | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses return fields (title, body, posted date, attachments) and implies a read-only operation via 'Get', but it does not explicitly state permissions, side-effect-free behavior, or other traits like sorting or filters.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the primary action and return values, and contains no filler. Every sentence adds value, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one parameter), an output schema exists, and the description covers the core function, return values, and use cases. Minor details like sorting or limits are not mentioned, but they are not essential given the tool's simplicity and the presence of an output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% coverage for the single parameter courseId, including a description and example. The tool description adds no additional parameter meaning, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states 'Get announcements/news posted by instructors for a course' and lists return fields, providing a specific verb, resource, and scope. This clearly distinguishes it from sibling tools like get_assignments and get_grades.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives concrete example queries ('Any new announcements?', 'What did the professor post?') that indicate clear usage context. It does not explicitly mention when not to use the tool or name alternatives, but the examples effectively guide the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_assignmentsGet AssignmentsA
Get assignments (dropbox folders) for a course: due date, instructions, attached problem sheets, your submission status (submitted/unsubmitted), submitted files, and released feedback/score. Use to answer: "Have I submitted Assignment 5?", "What is still due?", "What feedback did I get?"
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 |
Output Schema
| Name | Required | Description |
|---|---|---|
| assignments | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the returned data types and the user-centric nature ('your submission status', 'your feedback'), which is meaningful behavioral context. It does not explicitly state side effects, but as a read-only getter, the verb 'get' and the listed outputs make the behavior clear enough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core purpose, and the second sentence provides concrete usage examples. Every word contributes value, with no redundancy or unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, output schema present), the description fully covers the purpose, the returned fields, and typical use cases. The output schema handles the return format details, and the description adequately positions the tool among siblings.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% coverage with a detailed description for courseId, explaining it comes from list_courses and providing an example. The tool description adds no additional parameter meaning beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool gets assignments (dropbox folders) for a course and enumerates the specific information returned (due date, instructions, attached problem sheets, submission status, submitted files, feedback/score). This specific verb+resource+scope distinguishes it from sibling tools like get_grades or get_upcoming.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides example user questions such as 'Have I submitted Assignment 5?' and 'What feedback did I get?' which clearly indicate when to use this tool. However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_contentGet Course ContentA
List the content modules and materials (lectures, slides, files, links) for a course as a nested table of contents. Use this as the primary source for course activity questions like "what did we do today?", "what was in today's tutorial/lab/lecture?", "what is this week's work?", "what materials are in week 3?", or "where are the lecture slides?". After identifying relevant topics, call get_topic_file to inspect PDFs or PowerPoints.
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 |
Output Schema
| Name | Required | Description |
|---|---|---|
| modules | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It states the output format ('nested table of contents') but does not mention any edge behaviors such as whether only published content is included, pagination, or access requirements. The description is adequate but not rich; however, the presence of an output schema lessens the need to detail return fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loaded with the main purpose, and uses space efficiently by including usage examples and a pointer to a sibling tool. Every sentence adds value, with no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one parameter, no nested objects) and has an output schema, so return values are covered elsewhere. The description provides strong usage context and links to get_topic_file. The only gap is not explicitly distinguishing from get_course_outline, which might also relate to course content, but this is a minor omission given the overall clarity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%: the only parameter (courseId) is fully described in the schema as the 'course org unit (ou) ID from list_courses'. The description adds no additional parameter details beyond referencing 'a course'. This matches the baseline of 3 for well-covered schemas.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'List the content modules and materials (lectures, slides, files, links) for a course as a nested table of contents.' This clearly distinguishes it from siblings by focusing on content modules and materials, not announcements, grades, or assignments. It also names the complementary tool get_topic_file, further differentiating functions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit usage guidance is provided: 'Use this as the primary source for course activity questions like...' followed by concrete examples. It also states what to do after using this tool ('After identifying relevant topics, call get_topic_file to inspect PDFs or PowerPoints'). This tells the agent exactly when and how to use the tool versus alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_course_outlineGet Course OutlineA
Fetch the official syllabus and return its full text. Use to answer: "What is the grading scheme?", "How much is the midterm worth?", "What is the late policy?", Use this tool WHENEVER user asks about content with chronological language,like "today", "this week", etc.Outlines have a week-by-week schedule, ALWAYS use it to orient chronologically — then call get_content & get_topic_file to pull matching lecture materials. If no outline link exists, check get_content
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | Yes | |
| text | Yes | |
| title | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the disclosure burden. It conveys read-only behavior ('Fetch... return its full text'), the content structure ('week-by-week schedule'), and a fallback behavior when no outline link exists. It does not mention permissions or error conditions, but for a fetch tool the essential behavior is covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a bit lengthy but front-loaded with the core purpose. The examples and workflow instructions earn their place; however, the block of quoted questions could be condensed without losing meaning. Overall, it is concise enough for the value it provides.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With only one parameter and an output schema present, the description need not detail return values. It thoroughly covers when to use, how to chain with sibling tools, and a fallback case, making it fully complete for its intended context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with courseId already described as 'The course org unit (ou) ID from list_courses, e.g. 123456'. The description adds no extra parameter context beyond the schema, so a baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it 'Fetch the official syllabus and return its full text,' using a specific verb and resource. It also distinguishes itself from siblings by framing its role in chronological orientation and referencing get_content and get_topic_file as follow-ups.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly lists when to use the tool ('Use to answer...', 'WHENEVER user asks about content with chronological language') and provides alternatives ('If no outline link exists, check get_content'). It also instructs to call get_content & get_topic_file afterward, making the intended workflow very clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_drive_fileGet Google Drive File as Page ImagesA
Download and inspect a file returned by search_drive_files. PDFs, PowerPoints, Google Docs, and Google Slides are rendered as readable page images. Access is restricted to files inside the configured Drive folder.
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Pages/slides to render, e.g. "4", "1-5", or "2,4,7-9". Default: first 30 pages. | |
| fileId | Yes | The fileId returned by search_drive_files |
Output Schema
| Name | Required | Description |
|---|---|---|
| note | No | |
| pages | Yes | |
| filename | Yes | |
| totalPages | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses supported file types, the rendering behavior, and the configured Drive folder restriction. However, it doesn't mention what happens with unsupported file types, required permissions, or any side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loaded with the main action and supported file types. Every word earns its place, with no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With full parameter documentation in the schema and an output schema present, the description is largely complete. It clearly references the workflow with search_drive_files and covers access restrictions. It could mention error cases or unsupported file behavior, but overall it's well-rounded.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions fully cover both parameters (fileId and pages) with examples and a default. The tool description adds no additional parameter semantics, but with 100% schema coverage, the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool downloads and inspects files returned by search_drive_files, rendering PDFs, PowerPoints, Google Docs, and Slides as page images. This specific verb+resource combination distinguishes it from sibling tools like search_drive_files.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly references search_drive_files as the source of the fileId, establishing its role in the workflow. It doesn't name alternative tools or exclusions, but the context is clear enough for an agent to know when this tool is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_gradesGet GradesA
Get your grades for a course: each grade item with displayed grade, points, weight, and feedback. Use to answer: "What are my grades?", "How did I do on the midterm?"
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 |
Output Schema
| Name | Required | Description |
|---|---|---|
| grades | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently states the tool returns grade items with displayed grade, points, weight, and feedback, which conveys its read-only, non-destructive nature for a get-type tool. It does not mention side effects or auth, but none are expected for a read operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, front-loaded with the core purpose, and efficiently includes example use cases. Every sentence earns its place with no redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with one well-documented parameter and an output schema, so the description adequately covers the necessary context. It fully answers what the tool does and when to use it, and the output schema handles return-value details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% coverage for the single parameter courseId, with a clear description including source (list_courses) and an example. The tool description adds no additional parameter information, so it meets the baseline for high schema coverage but does not exceed it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Get' and clearly identifies the resource 'your grades for a course', listing the return fields. It is distinct from sibling tools like list_courses and get_assignments, so it unambiguously differentiates its purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit usage context by giving example questions ('What are my grades?', 'How did I do on the midterm?') that signal when to invoke the tool. It does not explicitly name alternatives or when-not-to-use, but the context is clear enough given the sibling list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_topic_fileGet Topic File as Slide ImagesA
Download a lecture file (PDF or PowerPoint) from course content and return each page/slide as an image you can read — including diagrams and figures. topicId is the id of a topic from get_content. Slide N = page N; pass pages like "4" or "2-6" to fetch specific slides instead of the whole deck. Use after get_content to answer: "Summarize lesson 2", "What is the diagram on slide 4?"
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Pages/slides to render, e.g. "4", "1-5", or "2,4,7-9". Default: the whole document (capped at 30 per call; the response notes how to fetch the rest). | |
| topicId | Yes | The topic `id` from get_content, e.g. "1234567" | |
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 |
Output Schema
| Name | Required | Description |
|---|---|---|
| note | No | |
| pages | Yes | |
| filename | Yes | |
| totalPages | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses page-to-slide mapping, the ability to fetch specific pages via the pages parameter, and a 30-per-call cap with a note in the response. This is substantial behavioral context, though it doesn't mention auth requirements or error handling, so a slight deduction is warranted.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences with front-loaded purpose, a precise usage example, and no filler. Every sentence contributes value. The structure is clean and easily scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema, the description adequately covers purpose, usage, and behavior. It explains the relationship to get_content, page selection, and the default cap. It lacks explicit exclusions (e.g., 'not for non-lecture files'), but the examples and context make the tool's scope clear enough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description restates parameter origins (topicId from get_content, courseId from list_courses) and provides examples, but these largely mirror the existing schema descriptions. It adds minimal new semantic meaning beyond reinforcing the page-number convention.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool downloads a lecture file (PDF/PowerPoint) from course content and returns each page/slide as an image, including diagrams. It distinguishes itself from siblings like get_content (list content) and get_drive_file (Drive files) by specifying 'from course content' and the topicId linkage.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit guidance is given: 'Use after get_content' with concrete example queries like 'Summarize lesson 2' and 'What is the diagram on slide 4?'. This establishes both prerequisite and use cases, effectively guiding the agent when to select this tool over alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_upcomingGet Upcoming Due DatesA
Get upcoming calendar events and due dates (assignments, quizzes, exams) for a course. Use to answer: "What is due this week?", "When is the next deadline?", or "what work is due today?". This does not list lecture/tutorial materials; pair it with get_content for "what did we do today/this week?"
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course org unit (ou) ID from list_courses, e.g. 123456 | |
| daysAhead | No | How many days ahead to look (default 30) |
Output Schema
| Name | Required | Description |
|---|---|---|
| events | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the scope of results (calendar events, assignments, quizzes, exams) and an important limitation (excludes lecture/tutorial materials), adding context beyond the name. It doesn't mention ordering or read-only behavior, but for a retrieval tool this is a reasonable level of transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the core purpose and followed by usage examples and alternatives. It is concise, structured, and contains no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has only two parameters, full schema descriptions, and an output schema. The description covers the primary use cases, exclusions, and a complementary sibling tool. It is complete for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add parameter-specific details beyond the schema, though it implicitly references courseId via 'for a course'. The schema already documents parameters effectively.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Get' and clearly identifies the resource: 'upcoming calendar events and due dates (assignments, quizzes, exams) for a course'. It also explicitly distinguishes itself from siblings by stating it does not list lecture/tutorial materials and references get_content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides concrete example questions ('What is due this week?', 'When is the next deadline?') that indicate when to use the tool. It also gives an explicit exclusion ('does not list lecture/tutorial materials') and suggests an alternative tool ('pair it with get_content'), offering complete usage guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_coursesList CoursesA
List the courses you are enrolled in on Waterloo LEARN. Returns course names and their ou (org unit) IDs, which the other tools take as courseId. Use to answer: "What courses am I taking?"
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| courses | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, but the description discloses the key behavioral aspect: returns names and ou IDs used as courseId by other tools. This gives enough transparency for a simple read-only list operation, though it omits potential details like ordering or filtering behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with action and resource, no redundant text. Each clause adds value: what it returns and how the output is used by other tools.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless list tool with an output schema, the description is complete. It covers purpose, return content, integration with sibling tools, and the question it answers. No gaps are apparent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the description carries no param burden. Baseline 4 applies; no additional parameter explanation is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear verb 'List' with specific resource 'courses you are enrolled in on Waterloo LEARN'. It explicitly states what is returned (course names and ou IDs) and differentiates from sibling content-focused tools by being the course-level listing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides an explicit usage example: 'Use to answer: "What courses am I taking?"'. It implies typical use as a starting point since other tools consume the returned courseId, though it doesn't explicitly name alternatives or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_drive_filesSearch Past Assessments in Google DriveA
Recursively search the configured Google Drive folder for relevant past quizzes, tests, midterms, exams, practice material, and solutions. Search by course code and useful terms, for example "CS 135 quiz" or "MATH 136 midterm". With no query, returns assessment-like files. Use get_drive_file to inspect a result.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default 20) | |
| query | No | Course code and/or assessment terms, e.g. "CS 135 quiz" |
Output Schema
| Name | Required | Description |
|---|---|---|
| files | Yes | |
| query | Yes | |
| folderIds | Yes | |
| indexedFiles | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses key behaviors: recursive search, use of a configured folder, and no-query fallback. It does not mention auth or rate limits, but for a search operation these are not critical, and the description adds context beyond what the name/schema imply.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, with the main purpose front-loaded, examples integrated naturally, and a clear pointer to the next step. Every sentence contributes value—no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 2-parameter search tool with an output schema, the description covers all essential aspects: what it searches, how to query, default behavior, and how to inspect results. The output schema provides return structure, so the description need not elaborate further.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (both parameters have descriptions), so the baseline is 3. The description enriches the 'query' parameter meaning by providing examples and noting the no-query behavior, making the parameter's purpose and usage clearer than the schema alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('recursively search') and clearly identifies the resource ('configured Google Drive folder') and scope ('past quizzes, tests, midterms, exams, practice material, and solutions'). It distinguishes from the sibling tool get_drive_file by explicitly directing users to it for inspecting results.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides concrete usage examples ('CS 135 quiz', 'MATH 136 midterm') and explains behavior with no query ('returns assessment-like files'). It tells users to use get_drive_file for inspection, but does not explicitly contrast with other alternatives or describe scenarios where this tool should not be used.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
10 tool updates
v0.1.0- First observed
get_announcements - First observed
get_assignments - First observed
get_content - First observed
get_course_outline - First observed
get_drive_file - First observed
get_grades - First observed
get_topic_file - First observed
get_upcoming - First observed
list_courses - First observed
search_drive_files
TDQS
Each tool targets a distinct resource: courses, announcements, content, files, grades, assignments, upcoming events, outlines, and drive files. Slight overlap exists between get_content, get_course_outline, and get_upcoming, but their descriptions clarify different intents (materials vs. schedule vs. deadlines).
All tools follow a consistent verb_noun pattern: list_courses, get_announcements, get_content, get_topic_file, get_grades, get_assignments, get_upcoming, get_course_outline, search_drive_files, get_drive_file. The verbs (list, get, search) are used appropriately and predictably.
10 tools is well-scoped for an LMS integration. Each tool earns its place, covering course discovery, content access, assessment tracking, and file retrieval without unnecessary redundancy or bloat.
The set covers core user workflows: listing courses, reading announcements, browsing content, inspecting files, checking grades, tracking assignments, seeing upcoming deadlines, retrieving the outline, and searching Drive for practice material. Minor gaps exist (e.g., no discussion board tool or assignment submission), but these are not central to the server's stated purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Read-only MCP server for RZ AI Labs — query its services, workshops, and contact info.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- FlicenseAqualityBmaintenanceAn MCP server that gives desktop AI apps access to your Waterloo LEARN courses, enabling listing courses, getting announcements, content, grades, and upcoming events through natural language.52-
- AlicenseNot gradedqualityDmaintenanceMCP server that provides tools to read UBC Canvas LMS data, including courses, assignments, announcements, submissions, and calendar, for use with Claude Desktop, Claude Code, or n8n AI agents.19MIT
- AlicenseNot gradedqualityDmaintenanceA powerful Model Context Protocol (MCP) server that seamlessly integrates AI assistants with Moodle Learning Management System. Enable your AI assistant to access courses, retrieve educational content, download resources, and search through your learning materials.18MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects AI assistants to university D2L Brightspace and Piazza, enabling query of courses, grades, assignments, deadlines, files, and Piazza posts.7MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LargoLardo/waterloo_learn_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server