Skip to main content
Glama

Show Course Enrollments

list_enrollments
Read-onlyIdempotent

Retrieve active enrollments and student progress for a specific course using its ID; filter by enrollment date and sort order for reporting.

Instructions

Fetch active enrolled students and student progress for a specific course.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private school profile label; not a provider identity or authorization proof.
course_idYesReturn enrollments for a specific course by the unique course ID.
sort_directionNoEnrollments are sorted by the 'enrolled_at' datetime. You can choose the direction by including the sort_direction param.
enrolled_in_afterNoSearch for students who are enrolled after a specific date/time. Formatted in ISO8601.
enrolled_in_beforeNoSearch for students who are enrolled before a specific date/time. Formatted in ISO8601.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds one useful behavioral fact — only 'active' enrollments are returned — but says nothing about pagination, result volume, or how progress data is shaped.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though so terse that it omits information an agent would benefit from.

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?

With a 5-parameter schema fully documented and annotations covering the safety profile, the description is close to sufficient. But it omits return-shape/pagination expectations and leaves the 'student progress' claim unclarified relative to get_course_progress, so it is only minimally adequate.

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%, so every parameter (including sort_direction, enrolled_in_after/before, and account) is documented in the schema itself. The description only restates that a course is required, adding no syntax or filtering nuance beyond the schema.

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 ('Fetch'), resource ('active enrolled students'), and scope ('for a specific course'), so the operation is understandable at a glance. It does not differentiate itself from siblings like get_course_progress or list_users, and the phrase 'and student progress' is ambiguous since a separate get_course_progress tool exists.

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?

No when-to-use guidance is given. The description never mentions alternatives such as create_enrollment, unenroll_user, or get_course_progress, nor the condition that should pick this tool over them. Context is implied only by the name.

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