uni-toolkit
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KOHA_PROXY | No | `KOHA_PROXY=0` if your network reaches the library directly. | |
| CANVAS_BASE | No | Any Canvas school (`CANVAS_BASE`). SHH disables the pages index; pages are read through module items. | |
| UNITOOLKIT_GROUP | No | Optional: `UNITOOLKIT_GROUP=H26SK` (your student group) so `today` can show the cohort's timetable. | |
| UNITOOLKIT_TOOLS | No | Lists eleven question-shaped tools by default; `UNITOOLKIT_TOOLS=all` lists all 38, and every tool stays callable by name either way. |
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 access to a student's own school systems: Canvas, Ladok, the library, the timetable, and the subscribed research databases. Start with today for 'what do I need to do', find_sources for 'find me sources'. When anything fails, run doctor: it names the fix, which is always a human action (sign in once, renew a token). Never type a password. Set UNITOOLKIT_TOOLS=all to list every tool.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| todayA | START HERE for 'what do I need to do?'. Everything due in the next N days (default 14) from every system at once: Canvas deadlines not yet submitted, Ladok registration windows open now or opening soon, this week's timetable, and (library=true) library loans due back. Each section reports its own error, so one dead session never hides the rest. |
| registryA | Which university systems an agent can read, per institution: the adapter, status, last verified date and the gotchas that break it. Ask before writing an adapter or debugging an SSO/cookie failure. Filters: system='ladok', institution='shh', status='ok'|'partial'|'fail'|'untested', text='cloudflare'. No filters returns every row. |
| doctorA | Health check of every session the toolkit depends on (Canvas token and its expiry date, agent browser, Ladok, database proxy, library, timetable link). Each row has the fix, which is always a human action. Run it when another tool fails. only='canvas,ladok' limits the checks. |
| find_sourcesA | THE citation tool: one query across several databases (default cinahl, pubmed, cochrane; also psycinfo, wos), deduplicated by DOI, each hit with an APA 7 reference built from the publisher's own DOI metadata. Use this for 'find me sources on X'. |
| db_fulltextA | Full text of one article, by DOI, through the school's subscription (EZproxy). Saves the PDF under ~/.local/share/unitoolkit/fulltext and returns path, pages and the extracted text. Says why when there is no route (publisher outside the proxy: order it via fjärrlån; or an open-access copy exists). Capped at 20 downloads an hour: the licences allow reading for study, not bulk downloading. |
| searchA | Full-text search inside one course: pages, assignments with rubrics, modules, discussions, files. Operators: "phrase", -exclude, +required, OR, type:sida|uppgift|fil|modul|diskussion, filetype:pdf, intitle:word, before:YYYY-MM-DD, after:YYYY-MM-DD, plus regex/fuzzy toggles. source='mirror' searches a local mirror (fast, may be stale), 'api' fetches live from Canvas, 'auto' prefers the mirror. include_docs=true also searches the document text built by the docs tool. |
| assignmentC | One Canvas assignment with description and rubric as plain text. |
| libraryA | The school library (Koha). With query: catalogue search with availability per copy. Without: the student's own loans with due dates and days left, holds and fines. |
| scheduleA | Timetable for any course code (1SPRY2), student group (H26SK) or room, for any period, from TimeEdit without a login. kind=code|group|room|subject. start/end as YYYY-MM-DD or TimeEdit relative form (0.d = today, 4.w = four weeks). Course NAMES are not indexed: search the code or the group. |
| free_roomsA | Which student-bookable rooms are free on a date (default today), as gaps between bookings within the booking rules (Mon-Fri 08-20, up to 3 days ahead, max 4 h). Read-only: booking itself is done by the student in TimeEdit. |
| announcementsA | Course announcements, newest first, with body text. Canvas hides these from the plain discussion list, so this is the only way to see what a teacher posted. |
| discussionsB | Discussion topics across courses with read state and reply count, so a group discussion that is waiting for an answer does not go unnoticed. Announcements are separate. |
| onedriveA | The student's OneDrive and files shared with them in the school's Office 365, read only, via the signed-in agent browser. action=status|ls|shared|recent|search|download. ls takes path= (own drive) or drive_id+item_id (any folder); shared takes query= (name or owner filter); search takes query=; download takes name= or drive_id+item_id, plus out= (dir, default ~/courses/onedrive; never overwrites). |
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 13 tools
Most tools map cleanly to distinct systems or resources: Canvas search, library catalogue, timetable, citations, OneDrive, diagnostics, and aggregation. The main fuzziness is around `today` versus the individual sources it aggregates, and between diagnostic tools like `registry` and `doctor`, but the descriptions make those boundaries workable.
All names are lowercase snake_case and readable, but the set mixes nouns (`assignment`, `library`, `schedule`), a verb (`search`), a verb-noun phrase (`find_sources`), and compound labels (`db_fulltext`). There is no predictable operation naming pattern, though the names are not chaotic or vague.
At 13 tools, the surface is well within a healthy range for a multi-system university toolkit. Each tool covers a distinct slice of student workflows, and the aggregator and diagnostic tools earn their place as cross-cutting helpers.
The toolkit has strong read coverage across Canvas, Ladok registration windows, timetable, library, OneDrive, and literature search/full text. There are minor gaps such as no course/list discovery tool and no write actions like submitting assignments, posting replies, or booking rooms, but several are explicitly out of scope and others can be worked around through `today` or `search`.