Skip to main content
Glama

Get My Enrollments

get_my_enrollments
Read-only

Lists your own course enrollments and your role in each, returning active courses by default with an option to include concluded ones.

Instructions

List the courses YOU are enrolled in, with your role in each.

Use this — not check_enrollment — for any question about your own enrollment. check_enrollment reads the course roster, which requires roster-admin rights your token probably does not have.

Input Schema

NameRequiredDescriptionDefault
include_concludedNoAlso include concluded/completed courses (default False = active courses only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. Addedv1.8.0

TDQS

A4.5/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe read, and the description adds useful context about personal scope and the role value returned. It also explains an authorization constraint on the alternative, though it does not describe pagination or full return structure.

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

Conciseness5/5

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

Two concise sentences, with the core purpose front-loaded and the alternative-route guidance immediately following. Every sentence contributes useful selection or authorization context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-optional-parameter read tool with no output schema, the description supplies the key return context (enrolled courses and your role) and enough routing guidance to choose it over check_enrollment. The schema fully documents the only parameter.

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 include_concluded is already documented in the schema as controlling whether concluded/completed courses are included. The description adds no parameter-specific detail beyond that, so the baseline of 3 is appropriate.

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?

States a specific verb and resource: list the courses YOU are enrolled in, plus your role in each. It clearly distinguishes this personal-enrollment scope from the roster-oriented check_enrollment sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use this instead of check_enrollment for questions about your own enrollment. It also explains why: check_enrollment reads the course roster and likely requires roster-admin rights the token lacks.

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

Deploy Server

Other Tools