Skip to main content
Glama

Lesson schedule

wilma_schedule
Read-onlyIdempotent

Retrieve each child's school lessons for a day, week, specific date, or custom period, ordered by time with subject, teacher, and room details.

Instructions

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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wilma_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the period, YYYY-MM-DD (default: the Friday of from's week). At most 31 days.
dateNoA specific date, YYYY-MM-DD. Overrides 'when'.
fromNoStart of a period, YYYY-MM-DD. Overrides 'when'.
whenNoDefault: week. 'tomorrow' means the next school day.
studentNoChild's name or student number. Omit to include every child on the account.
weekdayNoNext occurrence of a weekday: mon..sun (Finnish ma..su also work). Overrides 'when'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "Start of a period, YYYY-MM-DD. Overrides 'when'.",
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "End of the period, YYYY-MM-DD (default: the Friday of from's week). At most 31 days.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: the returned fields (date, start/end, subject, teacher, room when available) and the edge case that a day without school returns no lessons. It stops short of describing error behavior for unknown students or empty periods.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence plus one follow-up covering return shape and exclusions — no filler. The dense enumeration of period options is slightly heavy to parse but each clause carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of describing results, and it does so adequately by listing the returned fields and the empty-day case. Remaining gaps are minor: nothing about invalid date ranges or what happens when a student name matches nothing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds intent the schema does not: that from/to can span several weeks to reveal the usual school-day pattern, and that weekday means the next occurrence of that weekday. It does not restate the precedence rules, which the schema already handles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — "List each child's lessons" — and bounds the scope to a day or a school week. It also names the sibling tools that hold the excluded data (wilma_upcoming_exams, wilma_homework), so an agent can distinguish it from adjacent tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Enumerates the concrete selection modes (today, next school day, this/next week, a date, next given weekday, or an arbitrary from/to period) and gives a rationale for the from/to case (looking weeks ahead to see usual school days). It also explicitly redirects exam and homework lookups to the sibling tools, covering the when-not case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.