Skip to main content
Glama

Cubite LMS: Learning Management System

Create course

course_create

Create a new course on this site from settings. It starts with a starter outline, an H2 "Getting started" section holding one empty H3 "Lesson 1" unit (content version 0), so the learner view shows a lesson from the start; to copy an existing course with its lessons, use course_duplicate. Every new course gets a slug (made from the name when you pass none, with -2, -3 and so on when taken) and with it a page at /course//about. isVisibleInCatalog (default true) decides only whether the catalog lists it: build with it false and publish later with course_update. A hidden course is unlisted, not private: anyone with its address can open that page. Prerequisites, application questions and certificateConfig (completion and certificate rules) are not accepted here; set them afterwards with course_update. New courses start with the reading-time gate on, so a text unit counts as complete only after a minimum reading time (course_update's certificateConfig turns it off). Creating a course emails no one and fires no webhook. A rejected call (bad value, unknown instructor, taken slug) creates nothing, but names need not be unique, so every successful call adds another course. Returns the new course's name, id and slug; write the lessons next with course_content_set, which replaces the starter outline.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "course_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
xpNoGamification points awarded (whole number).
nameYesCourse title (required, max 191 chars).
slugNoURL slug used in /course/<slug>/..., lowercased with other characters turned into hyphens. Must be unique across all Cubite sites (a taken slug is a 409 error). Omit it to have one made from the name.
levelNoDifficulty label shown in the catalog, e.g. "Beginner" (max 191 chars).
priceNoList price in US dollars; omit or 0 for a free course.
bannerNoWide banner image for the course about page.
topicsNoTopic tag names; an existing tag with the same name is reused, otherwise it is created.
creditsNoCredits/CEUs awarded on completion (decimals allowed).
endDateNoCourse end, ISO 8601 date or date-time.
discountNoSale price in US dollars that learners pay INSTEAD of `price` (the discounted price, not an amount off). Omit or 0 for no sale.
durationNoContent length in hours (whole number), shown in the catalog; not an access limit.
featuredNoHighlight the course in featured catalog slots (default false).
subjectsNoSubject tag names; an existing tag with the same name is reused, otherwise it is created.
metaTitleNoSEO meta title (<=60 chars recommended, max 191).
startDateNoCourse start, ISO 8601 date or date-time.
coverImageNoCatalog card image: absolute URL or Cloudinary public id (max 191 chars).
introVideoNoIntro video: a YouTube or Loom URL, or a direct video file URL (max 191 chars).
descriptionNoCatalog summary shown on the course page; not the lessons.
instructorsNoInstructor user ids. Each must already be on this site (a site role or site admin); one unknown id fails the call and nothing is created.
metaDescriptionNoSEO meta description (<=155 chars recommended).
discussionEnabledNoTurn on the course discussion forum (default false).
enrollmentEndDateNoWhen enrollment closes, ISO 8601.
isSyllabusVisibleNoShow the syllabus to visitors who are not enrolled (default true).
accessDurationDaysNoDays of access from each enrollment (whole number); omit for unlimited access.
isVisibleInCatalogNoList the course in the public catalog. Defaults to TRUE, so pass false while you are still building the course.
enrollmentStartDateNoWhen enrollment opens, ISO 8601.
requiresApplicationNoLearners must apply and be approved before they are enrolled (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"URL slug used in /course/<slug>/..., lowercased with other characters turned into hyphens. Must be unique across all Cubite sites (a taken slug is a 409 error). Without one the course is not listed in the catalog or reachable by learners."New value: +"URL slug used in /course/<slug>/..., lowercased with other characters turned into hyphens. Must be unique across all Cubite sites (a taken slug is a 409 error). Omit it to have one made from the name."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), the description discloses slug collision behavior (-2, -3, and cross-site uniqueness), that a page at /course/<slug>/about is created, that hidden means unlisted rather than private, and that no email or webhook fires. It also states atomicity on failure ("a rejected call ... creates nothing") versus non-idempotency on success (duplicate names allowed, so every success adds a course). The only gap is that the reading-time gate detail reads as tangential configuration trivia.

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?

It is front-loaded with purpose and the duplicate alternative before the details, and nearly every sentence carries non-redundant information (starter outline, slug rules, visibility semantics, failure atomicity, return value). It is, however, a single dense paragraph of roughly 250 words, and the reading-time-gate sentence is the weakest link in an otherwise well-ordered sequence.

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 27-parameter creation tool with no output schema, the description covers lifecycle (starter outline to be replaced by course_content_set), the returned fields (name, id, slug), failure modes, and post-creation configuration steps. An agent has everything needed to call it correctly and to know what to do immediately after.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, but the description adds semantics the schema does not: isVisibleInCatalog is framed as a build-then-publish switch with a privacy caveat, slug derivation rules are shown in context of the resulting URL, and the interaction between the default reading-time gate and course_update's certificateConfig is explained. It also clarifies that prerequisites, application questions and certificateConfig are deliberately absent parameters, which a schema cannot express.

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 first clause gives a specific verb and resource ("Create a new course on this site from settings") and the description immediately distinguishes it from the nearest sibling: copying an existing course with its lessons is course_duplicate's job. It also spells out the side effect that defines the result — a starter outline with an H2 "Getting started" and one empty H3 "Lesson 1" — so an agent knows exactly what state the resource lands in.

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?

Explicit routing is present in both directions: use course_duplicate to clone an existing course, and use course_update afterwards for prerequisites, application questions and certificateConfig, which this call rejects. It also gives sequencing guidance ("write the lessons next with course_content_set") and a build-then-publish pattern with isVisibleInCatalog=false.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources