Skip to main content
Glama

moodle_messages

Read-onlyIdempotent

Lists Moodle private chats and group conversations newest first, including participants, unread counts, and last messages; open a conversation by ID without marking messages as read.

Instructions

Your Moodle private chats and group conversations (newest first): who, unread count and the last message. Open one with moodle_conversation(conversation_id). Nothing is marked as read.

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

Input Schema

NameRequiredDescriptionDefault
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description earns credit for the non-obvious extras: results are newest-first and, importantly, viewing them marks nothing as read. That side-effect disclosure is exactly the kind of behavior an agent cannot infer from annotations or schema. It stops short of describing pagination or how unread counts are computed.

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?

Two short sentences, front-loaded with what you get and followed by the natural next action. Every clause carries information (fields, ordering, next tool, side-effect); nothing is redundant.

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 an output schema present, the description need not explain return values, and it still summarizes them usefully. For a single-optional-parameter list tool the definition is nearly complete; the only gap is any guidance on the limit parameter and result-size behavior.

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

Parameters2/5

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

There is one parameter, limit, with 0% schema description coverage, and the description never mentions it — no explanation of what it caps, whether it truncates the conversation list, or how it interacts with newest-first ordering. The default of 15 in the schema makes the tool callable, but the description does nothing to compensate for the coverage gap.

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 the resource precisely ("Your Moodle private chats and group conversations") and lists the payload it returns: who, unread count, last message, sorted newest first. It does not lead with an explicit verb like "list", but the scope and content are unambiguous and it is clearly separable from moodle_conversation, which it points to for opening a single thread.

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 concrete routing guidance: use this to browse conversations, then call moodle_conversation(conversation_id) to open one. It does not state exclusions (e.g., how it differs from moodle_notifications or moodle_updates), but for a list-and-drill-down pair the context is clear enough to act on.

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