Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CANVAS_DATANoCache directory/data
CANVAS_DEPSNoDirectory with `vendor/` contents (pypdf)/deps
CANVAS_MODELNoEmbedding model, downloaded once and hash-checked$CANVAS_DATA/models/potion-base-8M
CANVAS_BASE_URLNoYour Canvas hosthttps://canvas.wisc.edu
CANVAS_MCP_PORTNoPort for `serve-http` (streamable HTTP on POST /mcp)8080
CANVAS_NTFY_URLNontfy topic URL; notifications are off without a URL
CANVAS_ACCESS_AUDNoOptional Cloudflare Access audience (AUD) for JWT verification
CANVAS_ACCESS_TEAMNoCloudflare Access team domain (e.g. `yourteam.cloudflareaccess.com`); required for remote HTTP clients
CANVAS_CREDENTIALSNoDirectory with `token` and optional `expires` (YYYY-MM-DD)/credentials
CANVAS_MAX_FILE_MBNoDownload limit in megabytes for individual files50
CANVAS_ACCESS_EMAILSNoAllowed email addresses for Cloudflare Access JWT verification; required for remote HTTP clients
CANVAS_SYNC_INTERVALNoSeconds between syncs1800
CANVAS_FILES_BUDGET_GBNoDownload budget in gigabytes for files8
CANVAS_NTFY_TOKEN_FILENoFile containing the ntfy token/ntfy/token

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only cache of the user's Canvas courses, synced periodically. Results carry synced_at; call canvas_status when data looks stale.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
canvas_statusA

When Canvas data was last synced and whether the API token still works.

list_coursesB

Credit courses in the cache with their current Canvas score; archived courses are from past terms.

get_upcoming_assignmentsA

Assignments due in the next N days. Each has state (graded, graded_hidden, submitted_ungraded, missing, past_due_unknown, upcoming), requires_student_action (true/false/null = unknown), requires_canvas_submission, submission_platform (canvas, gradescope, prairielearn, google form, ...) and completion (done/not_done/unknown). Work outside Canvas has completion 'unknown': do not drop it from to-do lists.

get_missing_assignmentsC

Assignments Canvas marks as missing.

get_gradesB

Canvas current scores for every course, or graded work for one course.

project_gradeA

Current percentage and the average needed to reach each letter cutoff (UW scale by default). Work is graded, remaining, or unknown (done or past due but score hidden/ungraded/missing; never counted as remaining). Canvas drop rules apply; weighted groups with nothing posted count as remaining. Supply syllabus policy Canvas lacks with future_work, group_weights and group_rules; duplicates of Canvas work are rejected. Present letters as definitive only when projection_complete is true; with unknown scores, needed_average_on_unscored_percent replaces needed_average_on_remaining_percent.

get_recent_announcementsC

Announcements posted in the last N days.

get_course_modulesA

A course's modules and their items, in order. Filter with module (name or week number, e.g. '14'); detail='summary' lists modules with item counts only, to save context.

get_pageB

The text of a course page by its title or URL slug (from get_course_modules).

get_syllabusA

A course's syllabus text with its links. Linked Canvas files and files named like a syllabus come back with file ids for read_course_file.

get_assignmentA

One assignment in full: instructions, links, rubric, dates, attempts, whether it needs a Canvas submission, and your submission status.

get_recent_changesA

What changed in the last N days: pages and files updated, assignments posted or edited, grades entered and announcements. Catches updates instructors post on pages instead of announcements. Each event has a stable id; poll with since (an ISO timestamp) instead of days.

list_course_filesC

Files in a course (slides, PDFs, notes), optionally filtered by name or folder.

read_course_fileA

Contents of a cached course file by id: the document itself (PDFs up to 10 MiB), or with as_text its extracted text per page, which also works for larger PDFs. Narrow long documents with first_page/last_page.

search_course_materialsA

Search syllabi, pages, assignment instructions, announcements, module items, file names and the text inside cached PDFs; hits cite file_id and page_number. mode=hybrid (default) fuses keyword matches (every term present) with semantic matches by meaning, so 'how electrons bond in molecules' finds molecular-orbital lectures; keyword or semantic alone are available. Each hit says how it matched; semantic hits carry a confidence (high/medium/low), and queries made only of words the model does not know return no semantic hits. Identical text in several files is one hit listing the others in also_in.

get_exam_scheduleA

Upcoming exams across courses (or one course): from the Canvas calendar and exam assignments (confidence 'canvas') and from dates in syllabi, syllabus PDFs and course pages (confidence 'syllabus text': confirm before relying on them). Exams carry kind (exam or makeup exam), start_at/end_at in Central time when the text gives a time, and structured sources (file_id, page_number, url). coverage says what was searched per course: no exams found is not no exams.

get_calendarA

One timeline for the next N days: Canvas calendar events, assignment deadlines (with submission status) and exams found in syllabus text.

get_feedbackA

Instructor comments and rubric notes on your submissions from the last N days, newest first. get_assignment shows one assignment's feedback with per-criterion scores.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 18 tools

Disambiguation4/5

Most tools target distinct resources (courses, grades, modules, pages, files, syllabus, feedback, exams), and descriptions actively disambiguate near-neighbors like get_recent_changes vs get_recent_announcements or get_assignment vs get_missing_assignments. The main overlap is among the time-window tools (get_upcoming_assignments, get_calendar, get_exam_schedule, get_missing_assignments), which a careful agent can separate but could occasionally misselect.

Naming Consistency4/5

Strong, predictable snake_case verb_noun pattern throughout (list_courses, get_assignment, read_course_file, search_course_materials). Only minor deviations break the pattern: canvas_status (noun-only) and project_grade (verb without a clear get_ prefix).

Tool Count4/5

At 18 tools the set is on the high end of the comfortable band, but each tool maps to a distinct Canvas surface (courses, assignments, grades, files, pages, modules, exams, calendar, search, status). No tool appears redundant filler, so the count is justified for an LMS domain.

Completeness4/5

Coverage is broad for a read-only student workflow: courses, assignments, grades and projections, modules, pages, syllabus, files, cross-material search, exams, calendar, feedback, and sync status. The notable gap is the absence of any write/submission actions (submit assignment, post, mark done), so lifecycle coverage is complete for reading but not for acting.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues