Skip to main content
Glama

moodle_courses

Read-only

List enrolled Moodle courses with IDs, filterable by in-progress, future, past, or all.

Instructions

List enrolled courses with their ids. which: inprogress (default) | future | past | all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whichNoinprogress

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.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 and openWorldHint=true, so the safety profile is covered. The description adds real value by scoping results to *enrolled* courses and stating that ids are returned, but says nothing about ordering, pagination, or result size.

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 sentences, front-loaded with the action and resource, with the parameter values compactly enumerated. No filler; every clause earns its place.

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?

For a one-optional-parameter list tool with no output schema, the description covers what is returned (ids) and how to filter it. Only ordering/pagination and the precise semantics of each 'which' value are unaddressed, which is minor at this complexity.

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?

Schema description coverage is 0% and the schema has no enum, so the description carries the burden — it enumerates all four accepted values (inprogress | future | past | all) and marks the default. It does not explain what 'inprogress' means operationally (active vs. recently viewed), leaving a small 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?

States a specific verb ('List') and resource ('enrolled courses') plus the returned field ('ids'), which cleanly separates it from moodle_course_contents and moodle_assignments. It never names a sibling alternative, so it stops short of full differentiation.

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: calling it returns the user's enrolled courses, and the 'which' values hint at the natural filtering cases. There is no explicit when-to-use statement, no prerequisites, and no pointer to alternatives such as moodle_deadlines or moodle_course_contents.

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