Skip to main content
Glama

List a user's courses

talentlms_list_user_courses
Read-only

The courses a user is enrolled in, with their role (learner/instructor), enrollment and completion dates, completion status and percentage, score and total time. GET /api/v2/users/{id}/courses.

Input Schema

NameRequiredDescriptionDefault
user_idYesThe user id (a positive integer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

readOnlyHint=true already establishes the safety profile, so the description's added value is the return-shape disclosure: role per course, enrollment and completion dates, completion status and percentage, score and total time. That is genuinely useful context beyond annotations. It stops short of stating pagination behavior or what an empty result means, which keeps it off a 5.

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?

Two tight sentences with zero filler, and the substantive content (returned fields) is front-loaded. The trailing GET path adds traceability but is mostly noise for an agent already given the required parameter.

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 single-parameter read tool with annotations covering safety and no output schema, the description supplies the returned-field inventory an agent would otherwise lack. Only listing-completeness details (pagination, empty-result semantics) are missing.

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 coverage is 100% and the single user_id parameter is fully documented in the schema as a positive integer. The description adds no syntax or format guidance for user_id, so the baseline 3 for high-coverage schemas applies.

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 verb+resource: the courses a user is enrolled in, plus the exact fields returned (role, enrollment/completion dates, status, percentage, score, time). This clearly separates it from list_course_users (users in a course) and list_courses (catalog), though it does not explicitly name those siblings.

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: you have a user_id and want their enrollments. There is no explicit when-to-use, no mention of alternatives such as get_course_progress for unit-level detail or list_user_certificates, and no preconditions (e.g., user must exist, empty list when not enrolled).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.