portflow-docent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CANVAS_BASE_URL | No | Jouw Canvas-omgeving | https://fontysict.instructure.com |
| PORTFLOW_BASE_URL | No | Portflow-host (controleer in DevTools) | https://portfolio.drieam.app |
| PORTFLOW_AUTO_LOGIN | No | true: Portflow-token automatisch vernieuwen via je Canvas-token (zie risico's) | false |
| PORTFLOW_REVIEW_DIR | No | De enige map waarin de server schrijft | ~/Portflow-beoordelingen |
| PORTFLOW_PSEUDONYMIZE | No | true: studenten heten student-<canvas-id> in plaats van hun naam | false |
| PORTFLOW_LTI_TOOL_PATH | No | Alleen voor automatisch inloggen: het pad in de adresbalk als je in Canvas op Portfolio klikt | /accounts/1/external_tools/23360?launch_type=global_navigation |
| PORTFLOW_MAX_OUTPUT_CHARS | No | Maximale lengte van een tool-antwoord; zet lager (bv. 12000) voor lokale modellen met een klein contextvenster | 120000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| token_statusB | Check the Portflow and Canvas login, and show where local review files are stored. |
| whoamiA | Your own Portflow user profile (to confirm you are logged in as the teacher). |
| list_my_coursesC | Canvas courses where you are a teacher. |
| list_assignmentsC | Assignments in a Canvas course (id, name, due date, submission types, whether a rubric is attached). |
| get_assignment_rubricA | Assignment description and its Canvas rubric (criteria, ratings, points). Use this as the assessment framework when drafting an oordeel. |
| list_submissionsB | Submissions for a Canvas assignment, with any Portflow links (submitted snapshots) extracted. Returns a student_label per submission: use that label for download_evidence_file and save_assessment_draft. |
| get_submitted_portfolioA | Overview of a submitted portfolio snapshot (Portflow 'frozen portfolio'): its metadata plus sections and collections. The returned portfolio_id works with list_collections, get_collection, list_evidence, get_evidence and list_goals. Get the id from list_submissions → frozen_portfolio_id, from resolve_portflow_link, or from DevTools in SpeedGrader (request /api/v1/frozen-portfolios/). |
| resolve_portflow_linkA | EXPERIMENTAL. Given a Portflow link from a submission (see list_submissions → portflow_links), try likely Portflow API paths to fetch the submitted snapshot/portfolio. Reports every path tried. If none work, use portflow_get with the path you see in DevTools when you open that link yourself. |
| portflow_getA | Read-only GET on any Portflow API path under /api/v1 (for endpoints this server has no dedicated tool for, e.g. snapshots or portfolios shared with you). Example path: /portfolios/123/shares?page=1. Set all_pages to follow pagination. |
| list_collectionsA | Collections in a portfolio, grouped by section. portfolio_id = the student's portfolio (from a link or portflow_get). |
| get_collectionA | Full view of one collection: description, goals with their evidence, evidence not in a goal, and feedback. |
| list_evidenceC | Evidence items in a portfolio, newest first. |
| get_evidenceA | Full view of one evidence item: details, latest version (with file ids), version history, goals, collections and feedback. |
| list_goalsC | Goals and goal sets (learning outcomes) in a portfolio, plus progress reviews. |
| download_evidence_fileA | Download a file attached to an evidence version into the local review folder (//bestanden/), so you can open it yourself. file_id comes from get_evidence → latest_version.files[].id. |
| save_assessment_draftA | Save a DRAFT assessment (oordeel) as a Markdown file in the local review folder: //oordeel.md. An existing draft is kept as oordeel-.md, never overwritten. Nothing is sent to Canvas or Portflow. Structure it along the rubric criteria (get_assignment_rubric), cite the evidence you based each judgement on, and mark anything the teacher still has to verify. The teacher decides the final grade. |
| read_assessment_draftB | Read the current draft assessment for a student. |
| list_review_folderB | List the files in the local review folder (all assignments, or one). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Most tools target a clear resource+action (list_assignments, get_evidence, save_assessment_draft), but three tools overlap on fetching portfolio data: get_submitted_portfolio, resolve_portflow_link (explicitly 'EXPERIMENTAL') and portflow_get all aim at the same goal via different paths. token_status and whoami also both answer 'am I logged in?', which invites misselection.
The dominant pattern is verb_noun snake_case (list_collections, get_evidence, download_evidence_file, save_assessment_draft), applied consistently across most of the surface. Deviations are minor: whoami and token_status are not verb_noun, and portflow_get inverts the convention (namespace_verb instead of get_portflow).
At 18 tools the set is on the heavy side for a single review workflow, and a few slots are arguably redundant (resolve_portflow_link as an experimental fallback alongside the generic portflow_get). The core read/write pipeline does justify most of the count, so it is borderline rather than bloated.
The surface covers the full teacher workflow end to end: auth check, course/assignment/rubric discovery, submissions, portfolio and evidence traversal, file download, and draft assessment read/write plus folder listing. Gaps are minor—no delete/cleanup of drafts, no edit-in-place beyond re-save, and no way to push feedback back, though that appears intentionally out of scope.