lanis
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANIS_DATA_DIR | No | Optional directory where the session is stored in session.json so that a new login is not required after a restart. | |
| LANIS_PASSWORD | No | Your Lanis password. Required when authenticating with username and password. | |
| LANIS_USERNAME | No | Your Lanis username. Required when authenticating with username and password. | |
| LANIS_SCHOOL_ID | No | The school ID of your school. Required when authenticating with username and password, or with a session cookie. | |
| LANIS_SESSION_ID | No | A Lanis session cookie ID, used as an alternative to username and password authentication. Required when authenticating with a session cookie. | |
| LANIS_SCHOOL_CITY | No | The city of your school, used to look up the school by name and city. Required for authentication by school name and city. | |
| LANIS_SCHOOL_NAME | No | The name of your school, used to look up the school by name and city. Required for authentication by school name and city. |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_schoolsA | Return all schools registered in Schulportal Hessen (Lanis). Fetches the complete list of schools with their ID, name, and city. This tool does NOT require authentication and can be used to look up the school ID needed for configuring Lanis credentials. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of schools. JSON schema: { "count": int, "schools": [ { "id": str, "name": str, "city": str } ] } Error Handling: - Returns "Error: ..." on API failure - Returns "No schools found." if the list is empty |
| get_substitution_planA | Return today's substitution plan (Vertretungsplan) from Lanis. Fetches all substitutions for the current school day including class, subject, room, teacher/substitute, and any notices. Args: response_format: Output format - 'markdown' (default, human-readable) or 'json' (machine-readable). Returns: Substitution plan data with the following structure per substitution: - substitute: Abbreviation of the substitute teacher - teacher: Abbreviation of the original teacher - hours: Which school hours are affected (e.g. "3-4") - class_name: Affected class(es) - subject: Subject name (may be empty) - room: Room number/name - notice: Additional information Error Handling: - Returns "Error: Session expired..." if session needs renewal - Returns "No substitutions today." if there are none - Returns "No substitution plan published yet." before Lanis publishes one |
| get_calendarA | Return calendar events from Lanis for a given date range. Fetches school calendar events (Kalender) between the specified start and end dates. Args: params (CalendarInput): Validated input parameters: - start (str): Start date as YYYY-MM-DD - end (str): End date as YYYY-MM-DD - response_format (str): 'markdown' (default) or 'json' - include_responsible (bool): If True, fetch the responsible person for each event. Warning: makes one extra API call per event. Returns: Calendar events for the date range. JSON schema: { "start": "YYYY-MM-DD", "end": "YYYY-MM-DD", "count": int, "events": [ { "title": str, "description": str, "place": str, "start": "YYYY-MM-DD HH:MM", "end": "YYYY-MM-DD HH:MM", "whole_day": bool, "responsible": str # only present when include_responsible=True } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No events found ..." if calendar is empty |
| get_calendar_of_monthA | Return all calendar events for the current month from Lanis. Convenience shortcut for lanis_get_calendar that automatically uses the current month's date range. Args: response_format: Output format - 'markdown' (default) or 'json'. include_responsible: If True, fetch the responsible person for each event. Warning: makes one extra API call per event and may be slow. Returns: Same structure as lanis_get_calendar for the current month. When include_responsible=True, each event also includes a 'responsible' field with the responsible person's name. Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No events this month." if calendar is empty |
| get_tasksA | Return all tasks and homework from the 'Mein Unterricht' section of Lanis. Fetches tasks assigned to the user including subject, teacher, description, and download links for attachments. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of tasks. JSON schema: { "count": int, "tasks": [ { "title": str, "date": "YYYY-MM-DD", "subject_name": str, "teacher": str, "description": str, # may be empty "details": str, # may be empty "attachments": [str], # list of attachment filenames "attachment_url": str # zip download URL, may be empty } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No tasks found." if there are none |
| get_conversationsB | Return conversations from the 'Nachrichten' section of Lanis. Fetches message threads including sender, receivers, subject, and content. Args: params (ConversationsInput): Validated input parameters: - number (int): How many conversations to fetch (default: 10, -1 = all) - response_format (str): 'markdown' (default) or 'json' Returns: List of conversations. JSON schema: { "count": int, "conversations": [ { "id": str, "title": str, "teacher": str, "creation_date": str, "newest_date": str, "unread": bool, "receivers": [str], "special_receivers": [str], "content": str } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No conversations found." if there are none |
| get_appsA | Return all web applets (Apps) available in the user's Lanis portal. Lists every app tile visible on the Lanis dashboard including name, link, colour, icon symbol, and which folder/category it belongs to. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of apps. JSON schema: { "count": int, "apps": [ { "name": str, "link": str, "colour": str, "symbol": str, "folders": [str] # category/folder names } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No apps found." if none are available |
| get_available_appsA | Return the list of LanisAPI-supported apps that are available at this school. The LanisAPI library supports a specific subset of Lanis applets: Kalender, Mein Unterricht, Nachrichten - Beta-Version, Vertretungsplan. This tool checks which of those are enabled for the authenticated user's school. Returns: Plain text list of supported app names available at this school, or a message indicating none are supported. Error Handling: - Returns "Error: ..." on API or auth failure |
| get_foldersA | Return all folder/category groupings from the Lanis dashboard. Fetches the organizational folders that group apps on the Lanis portal. Each folder has a name, a symbol (Font Awesome / Glyphicons icon), and an optional colour. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of folders. JSON schema: { "count": int, "folders": [ { "name": str, "symbol": str, "colour": str # may be empty if no colour is set } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No folders found." if none are available |
| check_app_availabilityA | Check whether a specific Lanis app is available at the user's school. Checks one of the four LanisAPI-supported apps to see if it is enabled at the authenticated user's school. Args: app_name: The app to check. Must be one of: - "Kalender" - "Mein Unterricht" - "Nachrichten - Beta-Version" - "Vertretungsplan" Returns: A plain-text message indicating whether the app is available. Error Handling: - Returns "Error: ..." on API or auth failure - Returns "Error: Unknown app ..." for invalid app names |
| get_timetableB | Return the weekly timetable (Stundenplan) from Lanis. Fetches the current class timetable showing which subjects are taught on which day and hour, including room and teacher information. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: Timetable data. JSON schema: { "class_name": str, "valid_from": "YYYY-MM-DD", "entries": [ { "hour": str, # e.g. "erste Stunde" "time": str, # e.g. "08:00 - 08:45" "day": str, # e.g. "Montag" "subject": str, # subject code "room": str, # room number/name "teacher": str, # teacher abbreviation "info": str, # full info from title attribute "duration": int # number of school hours this lesson spans } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No timetable entries found." if the timetable is empty |
| get_learning_groupsA | Return the learning groups (Lerngruppen) the user belongs to. Fetches all learning groups/courses the authenticated user is enrolled in, including subject name, course code, semester, and teacher information. Use this tool to:
Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of learning groups. JSON schema: { "count": int, "groups": [ { "id": str, "semester": str, "course_name": str, "course_code": str, "teacher": str # full name and/or abbreviation } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No learning groups found." if there are none |
| get_file_storageA | Return the contents of the school file storage (Dateispeicher). Lists folders and files in the Lanis file storage system. By default returns the root level. Use folder_id to navigate into sub-folders. Args: folder_id: Optional folder ID to navigate into. Omit for root level. response_format: Output format - 'markdown' (default) or 'json'. Returns: Folder contents. JSON schema: { "folder_id": str, "folder_name": str, "folders": [ { "id": str, "name": str, "description": str } ], "files": [ { "id": str, "name": str, "description": str, "download_url": str } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No items found." if the folder is empty |
| get_file_distributionA | Return distributed files and announcements (Dateiverteilung / GRB Infos). Fetches files that have been distributed to the user via the Lanis file distribution system (Dateiverteilung). These are typically school-wide announcements or documents shared with specific groups. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of distributed files. JSON schema: { "count": int, "files": [ { "name": str, "description": str, "download_url": str, "date": str } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No distributed files available." if there are none |
| get_votesA | Return active votes and elections (Wahlen / GRB Wahlen) from Lanis. Fetches currently active school votes and elections, such as student council elections or other school-wide voting events. Args: response_format: Output format - 'markdown' (default) or 'json'. Returns: List of active votes. JSON schema: { "count": int, "votes": [ { "id": str, "title": str, "description": str, "status": str } ] } Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No active votes." if there are none |
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 15 tools
Most tools map cleanly to distinct Lanis sections (timetable, tasks, conversations, files, votes), but there are two overlapping clusters: get_available_apps vs check_app_availability (the latter is effectively a boolean filter of the former) and get_apps, which lists dashboard tiles in an adjacent scope. get_calendar vs get_calendar_of_month is explicitly documented as a shortcut, which mitigates confusion but is still redundant surface.
Fourteen of fifteen tools use a clean get_<noun> snake_case pattern with predictable resource names. The single outlier, check_app_availability, deviates in verb, though its meaning is still readable next to the other app tools.
Fifteen tools is at the top of the comfortable range and fits a school portal with many sub-modules (calendar, timetable, tasks, messages, files, votes). A couple of entries, notably check_app_availability and get_calendar_of_month, are convenience duplicates that don't strictly earn their place.
Read coverage of the domain is broad and covers all major Lanis applets with consistent markdown/JSON output. Gaps are mostly write-side operations (reply to a conversation, cast a vote, mark messages read) and the substitution plan only covers today, but agents can work around these for read-oriented use.