Skip to main content
Glama

get_teacher_enrollments_by_planned_course_id

Read-onlyIdempotent

Fetch teacher enrollments for a planned course using its ID. Supports pagination with cursor and per_page parameters for efficient data retrieval.

Instructions

Get all teacher enrollments for given planned course.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planned_course_idYesID of the parent resource
cursorNoCursor for fetching the next page of results
per_pageNoNumber of results per page (default: 25)
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds 'all' but does not clarify pagination behavior or other constraints. No contradiction with annotations, but minimal added value.

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 a single concise sentence conveying the core purpose. It is appropriately sized but could benefit from additional context without being verbose.

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

Completeness2/5

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

The description lacks essential details about pagination (cursor usage, default per_page) and does not set expectations for the response structure. For a tool with pagination, this is incomplete.

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?

Input schema has 100% description coverage for all parameters. The tool description adds no meaning beyond the schema descriptions for planned_course_id, cursor, and per_page. Baseline score of 3 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?

The description clearly states the action ('Get all teacher enrollments') and the resource ('for given planned course'). It distinguishes from create/delete/update teacher enrollment tools and from get_teacher. However, it lacks mention of pagination behavior, and there is no differentiation from broader get_enrollments or get_teacher tools.

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 guidance on when to use this tool versus alternatives like get_enrollments, get_teacher, or other enrollment-related tools. The description simply states what it does without context for selection.

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/martijnpieters/eduframe-mcp'

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