Skip to main content
Glama

moodle_forum

Read-onlyIdempotent

List forums in a Moodle course or fetch recent discussions from a specific forum to review course conversations and announcements.

Instructions

List a course's forums (no forum_id), or the latest discussions in one forum (forum_id from that list).

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": {
      "course": "<course>"
    },
    "name": "moodle_forum"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
courseYes
forum_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds the mode switch and the word "latest," which implies recency ordering, but it does not say how many discussions are returned, how ordering works, or whether paging exists. Marginal added context over annotations.

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?

A single sentence that front-loads the primary mode and folds the alternate mode plus its required input into a parenthetical. No filler, no restatement of the tool name.

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 values need not be explained, and the two-mode behavior is captured compactly. What is missing is the accepted format for `course` and the scope of `limit`, which an agent would still have to guess at for a 3-parameter 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 description coverage is 0%, so the description must carry the parameter burden. It does explain the most important one — forum_id present vs. absent selects a different result shape — but leaves `course` (string format: id, shortname, or name?) and `limit` (default 15, and whether it caps forums or discussions) entirely unexplained. Partial compensation, not full.

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?

States a concrete verb ("List") and two concrete resources (a course's forums, or a single forum's latest discussions), so an agent can tell it apart from siblings like moodle_discussion. The dual-mode framing is clear, though the description never says what distinguishes the returned forums beyond 'a course's forums'.

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?

The parenthetical "(forum_id from that list)" explicitly encodes the call sequence: omit forum_id to enumerate forums, then feed one of those ids back in. That is real routing guidance. It does not state when to prefer a different sibling (e.g. moodle_discussion) for deeper thread work, so it stops short of a 5.

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