DSBmobile

v1.6.0
io.github.udondan/dsbmobile Checked 2 hours ago Published 2 days ago

Unofficial DSBmobile server: substitution plans, timetables, news and documents of a school

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_timetables Get DSBmobile Substitution Plans

Retrieves all available substitution plan (Vertretungsplan) entries from DSBmobile. Returns a list of substitution plan entries, each with: - id: Unique identifier for the plan entry - title: Plan name (e.g., "Vertretungen-heute" for today's substitutions) - date: Last updated timestamp in DD.MM.YYYY HH:MM format - url: URL to the HTML page containing the actual substitution plan table - previewUrl: URL to a preview image of the plan (optional) The substitution plan HTML pages contain the detailed schedule showing which classes have substitutions, which teachers are replaced, which rooms are…

get_substitutions Get DSBmobile Substitution Entries

Fetches and parses the actual substitution plan (Vertretungsplan) pages from DSBmobile, returning structured substitution entries for each class. Returns a list of substitution plans (one per day), each containing: - date: ISO date string (e.g., "2026-03-20") - lastUpdated: When the plan was last updated - entries: Array of substitution entries, each with: - className: The class (e.g., "05b", "Q2_Kra") - type: Substitution type (e.g., "Vertretung", "Statt-Vertretung", "Entfall") - period: Lesson period(s) (e.g., "3" or "5 - 6") - originalTeacher: Abbreviation of the absent teacher -…

ParameterTypeDescription
classNamestringOptional: filter results to a specific class name (e.g. '05b', 'Q2_Kra'). Case-insensitive. Defaults to the DSB_CLASS environment variable if set.

get_news Get DSBmobile News and Announcements

Retrieves all news and announcements posted on DSBmobile. Returns a list of news items, each with: - id: Unique identifier for the news item - title: News headline or title - detail: News content, URL to more details, or plain text announcement - date: Publication date in DD.MM.YYYY HH:MM format - tags: Associated tags or categories (may be empty) Use this tool when: - A user asks about school announcements or news - A user wants to know about upcoming school events - A user asks "What's new at school?" Returns "No news available" if no news items are currently published. Error handling: -…

get_documents Get DSBmobile Documents

Retrieves all documents and files available on DSBmobile. Returns a list of document entries, each with: - id: Unique identifier for the document - title: Document name or title - url: Download URL for the document (typically a PDF or image) - date: Upload date in DD.MM.YYYY HH:MM format Use this tool when: - A user asks about school documents or files - A user wants to download a specific document - A user asks "Are there any documents on DSBmobile?" Returns "No documents available" if no documents are currently published. Error handling: - Returns an error message if authentication fails…