Skip to main content
Glama

get_courses

Read-onlyIdempotent

Retrieve a paginated list of all courses from your LearnWorlds school, with filtering by category, access level, and page number. Sorted by most recent first.

Instructions

🟢 READ-ONLY · Courses · GET /v2/courses

Get all courses

Returns a list of all courses of the school. The courses are in sorted order, with the most recently created course appearing first, and the list is paginated, with a limit of 50 courses per page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoFilter by the page number. In case page number is higher than the maximum one, the results of last page will be returned
accessNoFilter by course access. This can be an array of strings if you want to query with multiple access values or just a string. Possible values are: paid, free, coming_soon, private, draft, enrollment_closed
categoriesNoFilter by course categories. For several categories, a comma separated string can be provided.
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint. The description adds value by specifying the sorting order, pagination behavior, and limit of 50 courses per page, which are beyond what annotations provide.

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

Conciseness4/5

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

The description is informative with a clear structure: read-only indicator, HTTP method, short description, then details. It is not overly verbose, though the emoji and title line could be considered extra. Still, it is efficient.

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 description covers ordering and pagination, but with no output schema, it lacks details on the structure of returned course objects. For a simple list tool, this is acceptable but not complete.

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%, so the parameters are well-documented in the schema. The description does not add further parameter semantics beyond what is already there, so baseline score of 3 applies.

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

Purpose5/5

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

The description clearly states the tool returns all courses, sorted by most recent first and paginated. This distinguishes it from sibling tools like get_course (single course) and get_courses_enrollments_user (user-specific enrollments).

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?

The description explains the function but does not provide explicit guidance on when to use this tool versus alternatives like filtered course queries or other list endpoints. The usage is implied but not fully specified.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohneben/Learnworlds-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server