Skip to main content
Glama

create_batch

Create an LMS batch (cohort) with title, dates, times, instructor, courses, pricing, and enrollment settings.

Instructions

Create an LMS Batch (cohort).

Args: title: Batch title. start_date: Start date (YYYY-MM-DD). end_date: End date (YYYY-MM-DD). start_time: Start time (HH:MM:SS). end_time: End time (HH:MM:SS). timezone: Timezone, e.g. "Asia/Jakarta". description: Short description. batch_details: Full HTML details. instructor: Instructor User email/ID. courses: JSON list of course names to include, e.g. '["course-1","course-2"]'. published: Whether the batch is published. allow_self_enrollment: Allow students to self-enroll. seat_count: Number of seats (0 = unlimited). medium: "Online" or "Offline". paid_batch: Whether this is a paid batch. amount: Price amount (required if paid_batch). currency: Currency code (required if paid_batch). category: Category name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
amountNo
mediumNoOnline
coursesNo
categoryNo
currencyNo
end_dateYes
end_timeYes
timezoneYes
publishedNo
instructorYes
paid_batchNo
seat_countNo
start_dateYes
start_timeYes
descriptionYes
batch_detailsYes
allow_self_enrollmentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must disclose side effects and authorization needs. It only lists parameters without mentioning consequences like data persistence, cancellation policies, or access requirements. This is insufficient for a creation operation.

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 first line provides a clear summary, followed by a structured parameter list. Although lengthy due to 18 parameters, each line is concise and useful. No redundancy or filler.

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?

Given the large number of parameters and the presence of an output schema (as per context), the parameter descriptions are complete. However, missing usage guidelines and behavioral details reduce overall completeness. It's adequate but could be better.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description thoroughly explains every parameter with formats, defaults, and conditional requirements (e.g., 'required if paid_batch' for amount and currency). Since the input schema has 0% description coverage, this fully compensates, making parameter semantics very clear.

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?

The description clearly states the verb 'create' and the resource 'LMS Batch (cohort)', making the purpose immediately understandable. It distinguishes from sibling tools like list_batches by specifying it's for creation.

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 is provided on when to use this tool versus alternatives, or any prerequisites. The description lacks explicit 'when to use' or 'when not to use' context, leaving the agent to infer usage solely from the tool name.

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/anggun-indra/frape-lms-mcp-tools'

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