Skip to main content
Glama

moodle_discussion

Read-onlyIdempotent

Retrieve all posts from a Moodle forum discussion by passing its discussion ID, so you can review the full conversation thread.

Instructions

Read all posts of one forum discussion (discussion_id from moodle_forum).

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": {
      "discussion_id": "<discussion_id>"
    },
    "name": "moodle_discussion"
  }
}

Input Schema

NameRequiredDescriptionDefault
discussion_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/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. The description adds that ALL posts are returned rather than a subset, but says nothing about pagination, truncation on large discussions, or ordering.

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?

One short sentence with the action front-loaded and the parameter provenance attached inline. There is no filler or redundant 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?

With an output schema present, return values need not be described, and with full annotations the safety profile is covered. The only material gap is behavior on very large discussions (pagination or truncation) for a tool that reads 'all' posts.

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

Parameters4/5

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

The single parameter has 0% schema description coverage, so the schema alone tells the agent nothing. The description compensates by identifying discussion_id as an identifier obtained from moodle_forum, which is real meaning beyond the bare integer type.

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 a specific verb ('Read all posts') and resource ('one forum discussion'), which is unambiguous. It also implicitly separates itself from moodle_forum by noting discussion_id originates there, though it doesn't state what moodle_forum itself returns.

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

Usage Guidelines3/5

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

Usage is only implied: the parenthetical '(discussion_id from moodle_forum)' tells the agent where to get the identifier, effectively making it a follow-up call. There is no explicit when-to-use/when-not guidance or mention of alternatives such as moodle_conversation or moodle_updates for other content types.

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