Skip to main content
Glama

List messages

wilma_list_messages
Read-onlyIdempotent

Lists Wilma messages newest first across inbox, archive, outbox, drafts, and appointments, filtered by child or student number. Check school communications and invitation statuses.

Instructions

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.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
folderNoDefault: inbox.
studentNoChild's name or student number. Omit to include every child on the account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds the newest-first ordering, enumerates the returned fields, and explains the non-obvious invitationStatus values ("Applied", "ExpiredReg", null) so the agent can interpret results without guessing.

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?

Three dense sentences, front-loaded with what is returned and correctly ordered before the alternative-tool pointer. The parenthetical field lists are information-bearing rather than filler; only the nested quotes around "Applied" and the double explanation of invitation timing add slight density.

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 returns and does so (message fields plus invitation-specific fields and status semantics). The main remaining gap is pagination/limit behaviour — how many messages come back by default and whether the newest-first ordering interacts with limit — which matters for a listing tool.

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 67%, so the baseline is 3. The description meaningfully expands on folder="appointments" by explaining it holds event invitations with the family's answer, which the enum alone does not convey; however, it says nothing about the limit parameter's behaviour or the student parameter beyond what the schema already documents.

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?

"Wilma messages, newest first" plus the explicit field list (subject, sender, date, id, unread, replyCount) makes clear this is a message-listing tool with a defined sort order and return shape. Sibling differentiation is partial: it distinguishes itself from wilma_read_message but not from other 'list' siblings like wilma_list_news or wilma_list_printouts, which the name and title carry instead.

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

Usage Guidelines4/5

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

Explicitly routes the agent: "Use wilma_read_message for the full text, and for an invitation's time slots" tells the caller exactly when this tool is insufficient. It also signals that the appointments folder is a distinct use case worth selecting, though it gives no guidance on when to omit or narrow the student/limit parameters.

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