Skip to main content
Glama

Lesson notes and absences

wilma_lesson_notes
Read-onlyIdempotent

Retrieve teachers’ lesson notes for a child or all children, including absences, lateness, and feedback, by date, recent days, or a from/to period.

Instructions

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).

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_lesson_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the period, YYYY-MM-DD (default today; may be after today).
dateNoYYYY-MM-DD, default today.
daysNoThe last N days up to today, instead of one date.
fromNoStart of a period, YYYY-MM-DD, instead of a date or days.
studentNoChild's name or student number. Omit to include every child on the account.

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, instead of a date or days.",
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "End of the period, YYYY-MM-DD (default today; may be after today).",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish the read-only, idempotent, closed-world safety profile, so the description only needs to add behavior beyond that. It does: notes are teacher-authored, verbatim text is included 'when given' (implying the field may be absent), and a future-dated period is legitimate because teachers can log upcoming make-up exams. That last point is non-obvious and prevents an agent from wrongly clamping the date range.

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?

Two sentences, front-loaded with what the tool returns before moving to the query modes. Nothing is redundant, though the second sentence packs three modes and a future-date caveat densely enough that a reader may need a second pass.

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?

For a five-parameter, no-required-parameter read tool with no output schema, the description covers content, defaults, mode selection and the future-date edge case. The remaining gap is the return shape — whether results are grouped per child or per note, and whether empty days appear — which is left implicit since no output schema exists.

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

Parameters3/5

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

Schema coverage is 100%, so all five parameters are already documented at a baseline of 3. The description adds two useful interpretive points — the modes are alternatives to one another and from/to may extend past today — but it does not clarify precedence when more than one parameter is supplied or how student combines with the date modes.

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

Purpose4/5

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

The description names a specific resource (teacher-logged lesson notes / merkinnät) and enumerates its contents: absences, lateness, praise, missing books or homework, including the teacher's own words. This is enough for an agent to distinguish it from wilma_homework, wilma_grades or wilma_schedule without opening the schema. It stops short of explicitly naming a sibling to route away from, so it is a clear 4 rather than a 5.

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

Usage Guidelines3/5

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

It explains the three temporal query modes (single day defaulting to today, last N days, from/to period) and even notes the period may reach into the future, which is real invocation guidance. However, it gives no guidance on when to prefer this over alternatives such as wilma_lesson_notes_summary or wilma_upcoming_exams, so routing must be inferred from the tool name.

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