Built LMS Help Center
MCP ServerPrompt Reference

Assign compliance training to a group and report completion

Enroll every member of a group in a compliance course, then produce a completion report for that course.

Assign compliance training to a group and report completion

Enroll every member of a group in a compliance course, then produce a completion report for that course.

The prompt assign_compliance_training appears in prompts/list only when the token can see every tool listed below.

Arguments

ArgumentRequiredDescription
group_idyesUUID of the group to assign the course to.
course_idyesUUID of the compliance course.
report_idyesReport id from list_reports, such as course-completion-summary.

Steps

  1. get_group: Read the group and collect every member user id, following member_cursor until all members are read.
  2. save_enrollment: The API has no group-level enrollment. Call this once for each member with course_id, no id, and a distinct idempotency_key.
  3. start_report_job: Run the report with report_id, course_ids set to the course and group_ids set to the group.
  4. get_report_job: Confirm the job status is completed; if failed, report its error.
  5. download_report: Download the finished report and summarize completion for the group.

Tools Needed

ToolScopes
get_grouppeople:read
save_enrollmentenrollments:write
start_report_jobanalytics:write
get_report_jobanalytics:read
download_reportanalytics:read

On this page