Skip to main content
Glama

List my courses

moodle_list_courses
Read-only

Retrieve the courses a user is enrolled in, including course ID, name, and category, and filter by all, in-progress, future, or past status.

Instructions

Courses the user is enrolled in (id, name, category).

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_list_courses"
  }
}

Input Schema

NameRequiredDescriptionDefault
classificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/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 carried by structured data. The description adds nothing beyond a restatement of the return fields: no note about pagination, completeness of the result set, or whether enrolment scope includes hidden/suspended courses — despite openWorldHint suggesting remote variability.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It's a single short fragment with zero waste and the scope is front-loaded, which is good. But it is terse to the point of under-specification — brevity here comes at the cost of the filter and behavioral context rather than from efficient packaging.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only list tool with no output schema, naming the returned fields is a reasonable substitute for a return-value description. It is incomplete mainly around the one input parameter and result-set behavior, which are not covered anywhere else.

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?

Schema description coverage is 0%, so the description must compensate, and it does not: the single 'classification' filter (all/inprogress/future/past) is never mentioned. The enum labels are semi-self-explanatory, but an agent gets no statement that filtering by course state is even possible.

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?

Names a specific resource and scope — courses the user is enrolled in — and pre-declares the returned fields (id, name, category), which distinguishes it from the quiz/question siblings. It lacks an explicit verb like 'list', but the intent is unambiguous even for a fragment.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no indication of when another sibling (e.g., a category or quiz listing) would be the right call, and no mention of the fact that results can be filtered. The agent must infer everything about invocation context from the name alone.

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