Skip to main content
Glama

list_messages

Read-only

Lists a child's school messages newest first, returning message_id and thread_id needed by get_message and get_attachment. Filter by date or unread status and page through results.

Instructions

List messages for one child, newest first. Returns message_id and thread_id for each message, which get_message and get_attachment need. child (first name or id from list_children) is required when several children are linked. since is an ISO date (YYYY-MM-DD). limit is clamped to 1-50. Pass the returned cursor to get the next page.

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": "list_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
childNo
limitNo
queryNo
sinceNo
cursorNo
unread_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnly and openWorld, so the description adds real value: newest-first ordering, the 1-50 clamp on `limit`, the returned identifiers, and cursor-based pagination. It stops short of saying whether `query` searches subjects, bodies, or senders, which matters for a listing tool with an open-world hint.

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

Conciseness5/5

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

Five compact sentences with zero filler, front-loaded with purpose and ordering, then the return contract, then parameter facts, then pagination. Every sentence conveys information the agent would otherwise have to guess.

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?

There is no output schema, and the description compensates by naming the returned fields (message_id, thread_id) and the cursor mechanism. With six parameters and no schema descriptions, the omission of `query` and `unread_only` semantics is the one substantive gap for a tool of this complexity.

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 description coverage is 0%, so the description carries the full burden, and it only documents four of six parameters: `child` (name or id from list_children), `since` (YYYY-MM-DD), `limit` (clamped 1-50), and `cursor` (pagination). `query` and `unread_only` are left entirely undefined, and the most ambiguous of those is `query`.

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?

The description opens with a specific verb and resource ('List messages for one child') plus an ordering guarantee ('newest first'), and it names the sibling tools (get_message, get_attachment) that consume the returned IDs, so the agent can distinguish it from the single-message getter without opening a schema.

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?

It gives a concrete conditional for the required-parameter case ('`child` ... is required when several children are linked') and tells the agent how to continue ('Pass the returned cursor to get the next page'). It does not explain when to prefer this over get_message, and it never mentions the `query` or `unread_only` filters, so there is no guidance on those paths.

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