Skip to main content
Glama

list_courses

Read-onlyIdempotent

Retrieves the courses a user is enrolled in and filters them by status such as in-progress, future, past, favourites, or hidden so AI agents can find relevant learning content.

Instructions

Courses the user is enrolled in.

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": "list_courses"
  }
}

Input Schema

NameRequiredDescriptionDefault
classificationNoinprogress | all | future | past | favourites | hiddeninprogress

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered by structured data. The description adds no behavioral context of its own — no mention of ordering, pagination, or what an empty result means — and its phrase 'enrolled in' arguably sits awkwardly with the classification values 'future'/'hidden'/'favourites', which include non-enrolled or hidden items.

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 is a single short clause with no waste, but it is a fragment rather than a structured sentence, and brevity here comes at the cost of specification rather than from tight writing.

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?

The tool is simple (one optional enum parameter, rich annotations, and an output schema), so the description needn't explain return values. Still, for a listing tool it should say what the list contains and how it is scoped; the current text leaves the agent to infer the rest from the name and 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 100% and the single classification parameter already enumerates inprogress | all | future | past | favourites | hidden with a default. The description adds nothing about how classification filters results, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Courses the user is enrolled in' identifies the resource (courses) and the scope (the current user's enrolments), which separates it from the singular get_course sibling. However, it is a noun phrase with no verb (list/return/fetch), so the operation is only inferred from the tool name rather than stated in the description.

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 at all — nothing tells an agent when to call this versus get_course for a single course, or how it relates to get_deadlines/get_grades. The only implied context is 'user is enrolled', which the agent must extrapolate.

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