Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WILMA_TENANTNoWilma address (https://<school>.inschool.fi) or city/school name. Optional alternative to a saved login.
WILMA_PASSWORDNoWilma password. Optional alternative to a saved login.
WILMA_USERNAMENoWilma username. Optional alternative to a saved login.
WILMA_TOTP_SECRETNoAuthenticator setup key, if the account uses two-step verification.
WILMAI_CONFIG_PATHNoOverride the saved login config path (default: ~/.config/wilmai/config.json or $XDG_CONFIG_HOME/wilmai/config.json).
WILMAI_NO_UPDATE_CHECKNoSet to 1 to disable the daily npm update check.
WILMAI_NO_SESSION_CACHENoSet to 1 to disable caching the current Wilma session.

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
wilma_summaryA

Daily briefing per child: today's and the next school day's lessons, upcoming exams (with start times when given), recent homework, lesson notes since the previous school day (teachers' feedback and absences), recent bulletins, and recent and unread messages (ids, unread, replyCount; event invitations with invitationStatus, as in wilma_list_messages). What Wilma didn't give is listed in unavailable ("news": this Wilma doesn't show this account its bulletins). The best starting point for any question about school.

wilma_scheduleA

List each child's lessons for one day or a school week: today, the next school day, this or next week (Monday to Friday), a date, or the next given weekday; or any other week or period with from/to (e.g. a week further ahead, or several weeks to see the usual school days). Lessons come in time order with the date, start and end time, subject, teacher and room (when Wilma gives one); a day without school has no lessons. Exams and homework are in wilma_upcoming_exams and wilma_homework.

wilma_homeworkA

List the homework teachers have entered for each child, newest first: the date, subject, teacher and what to do. It reads the homework Wilma's front page lists (Wilma decides how far back that goes). wilma_summary already includes the last few days' homework.

wilma_upcoming_examsA

List each child's exams from today on that have no grade yet, soonest first: the date, start time (when the school gives one), exam name, subject, topic (what to study) and teacher. Graded exams are in wilma_grades.

wilma_gradesA

List each child's graded exams, newest first: the date, exam name, subject, grade as Wilma shows it (e.g. 8+, 9½, S), the teacher's notes and when a guardian marked it seen. It reads the exams Wilma's front page lists (Wilma decides how far back that goes); with from, Wilma's list of past exams for that period instead, as far back as the school keeps them, including exams still waiting for a grade (grade: null). For course, term and report-card grades use wilma_gradebook.

wilma_lesson_notesA

Lesson notes (merkinnät) teachers logged: absences, lateness, and feedback such as praise or missing books or homework, with the teacher's own words when given. One day (default today), the last N days, or a period with from/to, which can reach ahead (a teacher may note a make-up exam on a coming lesson).

wilma_lesson_notes_summaryA

Lesson notes counted by kind (e.g. absences for health reasons, unexplained absences, lateness, praise, missing study materials): this school year by default, or from a date.

wilma_gradebookA

Get each child's gradebook (Suoritukset): completed courses and their grades, grouped by subject (subject > syllabus > course), with course codes, credits and completion dates, plus term and school-year (report card) grades. Use it for course and report-card grades; single exam grades are in wilma_grades.

wilma_contactsA

Each child's class (e.g. 9A), class teacher and other supervisors with their role as Wilma names it (e.g. Luokanvalvoja), and the child's own teachers as Wilma's message recipients list them, with the subjects each teaches the child in this and next week's timetable (empty when none). Other school staff aren't included. Lessons with times and rooms are in wilma_schedule.

wilma_list_printoutsA

PDF documents the school offers (Tulosteet), such as report cards or absence reports. Fetch one with wilma_get_printout.

wilma_get_printoutA

Fetch one printout PDF so you can read it. Set save=true to also save it to the user's Downloads folder.

wilma_list_messagesA

Wilma messages, newest first (subject, sender, date, id, unread, replyCount). The appointments folder holds event invitations (parents' evenings, learning discussions) with the family's answer as Wilma lists it: invitationStatus ("Applied": signed up, the time in invitationInfo; "ExpiredReg": sign-up closed; null: no answer shown). Use wilma_read_message for the full text, and for an invitation's time slots.

wilma_read_messageA

Full text of one Wilma message, including thread replies.

wilma_list_newsA

School bulletins (tiedotteet): the newest dated ones, then pinned ones (pinned: true, e.g. the school-year bulletin), and with include_older also older bulletins (archived: true). Use wilma_read_news for the full text and attachments. unavailable: ["news"] means this Wilma doesn't show this account its bulletins, which isn't the same as having none.

wilma_read_newsA

Full text of one bulletin plus its linked resources (attachments and links). Fetch a resource with wilma_get_news_attachment.

wilma_get_news_attachmentA

Fetch a file linked from a bulletin (e.g. a PDF letter or menu) so you can read it. Returns the file content when it is a file, or 'not_a_file' with the URL when the link is a web page. Set save=true to also save it to the user's Downloads folder.

wilma_accountA

Which Wilma logins are connected: each one's Wilma, username, role ("guardian", or "student" for a student's own login) and the children it lists. Families with children on different Wilmas connect one login per Wilma (wilma_login adds another). When two logins on one Wilma list the same child (a parent's and the child's own), tools read that child through the guardian's login, and the other login's entry for the child says readVia. A child unticked on the login page (a profile Wilma lists twice) has hidden: true and isn't read.

wilma_find_schoolA

Search Finland's Wilma addresses by city or by school or organisation name. Most city schools share their city's Wilma (big cities don't list each school), while many colleges, private schools and small municipalities' schools have their own. Use it to help the user pick their Wilma, e.g. when setting WILMA_TENANT; several can serve one city, so ask which is theirs.

wilma_loginA

Open a login page in the user's browser to connect a Wilma account, or add another one (for a child at a school with a different Wilma). The password is entered on that page, never in the chat.

wilma_logoutA

End WilmAI's Wilma session, as Wilma's own Log out does. Wilma allows one session per account, so use this when the user wants to use Wilma in their browser or asks to log out. The login stays saved: the next Wilma tool call logs in again, and that ends the user's session in the browser, so don't call other Wilma tools afterwards unless the user asks.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 20 tools

Disambiguation4/5

Most tools target distinct Wilma resources or actions, and the descriptions explicitly distinguish overlapping areas such as homework vs. lesson notes, grades vs. gradebook, and news list/read/attachment. Some overlap remains around summary vs. individual listing tools and lesson_notes vs. lesson_notes_summary, but the boundaries are generally well explained.

Naming Consistency4/5

All tools use a consistent wilma_ prefix and snake_case, with predictable list/get/read verbs for retrieval tools. A few tools are noun-only (wilma_homework, wilma_schedule, wilma_grades, wilma_contacts), which is a minor deviation from a strict verb_noun pattern but remains readable and predictable.

Tool Count4/5

The 20 tools cover a broad school-portal domain and each has a recognizable purpose, but the set is slightly larger than the ideal 3-15 range and includes several closely related retrieval tools. It is reasonable for the breadth of Wilma, though not as tightly scoped as an ideal toolset.

Completeness4/5

The surface covers login/account discovery, schedules, homework, exams, grades, gradebook, lesson notes, messages, news, printouts, and contacts, giving strong read coverage of the portal. Minor gaps remain around write actions such as sending or replying to messages and acting on invitations, which agents cannot perform through this toolset.

Maintenance

ActivityActive
ResponsivenessUsually handled