Skip to main content
Glama

moodle_conversation

Read-onlyIdempotent

Read the latest messages from a Moodle conversation, oldest first, without marking them as read. Use a conversation ID from moodle_messages to review discussion history.

Instructions

Read the latest messages of one Moodle conversation (conversation_id from moodle_messages), oldest first. Nothing is marked as read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversation_id": "<conversation_id>"
    },
    "name": "moodle_conversation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description earns credit by adding two behaviors not in the annotations: results are ordered oldest first, and nothing is marked as read — a genuine side-effect disclosure. It stops short of explaining how limit interacts with 'latest'.

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 with no filler. The primary action and ordering come first, followed immediately by the no-read-marking caveat.

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?

An output schema exists, so return-shape detail is unnecessary, and for a two-parameter read tool this covers the essentials: source of the id, ordering, and side effects. The only omission is limit semantics, which is minor given the default is visible in the schema.

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 must carry the load. It does explain where conversation_id comes from, which is the highest-value semantic detail. However, limit is never explained — the reader must infer that it caps how many of the newest messages are returned.

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 gives a specific verb and resource: read the latest messages of exactly one Moodle conversation. The parenthetical '(conversation_id from moodle_messages)' implicitly separates it from the conversation-listing sibling, though it does not name the contrast explicitly.

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 states the prerequisite workflow — obtain conversation_id from moodle_messages first — which is the key usage condition an agent needs. It does not spell out when to prefer other tools or what to do with an invalid id, but the context is clear enough to route the call.

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