Skip to main content
Glama

Cubite LMS: Learning Management System

Duplicate course

course_duplicate

Copy a course into a new hidden course named " (Copy)" on this site, the fastest way to start a new cohort or a variant of a template; use course_create for a blank course. The copy gets the source's settings, its current lessons as version 1 (graded blocks get fresh ids so learner records stay separate; a source created with the starter outline passes that outline on as version 0 too, and one still at its starter is copied as version 0 only), SCORM/xAPI packages, discussion topics and prompts, tags, certificate template and instructors, plus authorId (default: the connection's owning user), who is added to its instructors and recorded as the author of the copied versions. It does NOT copy enrollments or other learner data, the slug, or the certificate statement-code prefix and numbering: the copy gets its own slug made from its new name (change it with course_update), and like any hidden course it is unlisted, not private. Large SCORM/xAPI packages make the copy slow; if the call times out, check course_list before retrying so you do not create a second copy (a copy that fails is rolled back). Returns the new course object.

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": {
      "id": "<id>"
    },
    "name": "course_duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCourse to duplicate (must be on this site).
authorIdNoUser credited as the copy's author and added to its instructors; must belong to this site. Defaults to the connection's owning user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / authorId / description
      Previous value: -"User credited as the copy's author and added to its instructors; must belong to this site. Defaults to the site's first admin."New value: +"User credited as the copy's author and added to its instructors; must belong to this site. Defaults to the connection's owning user."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes far beyond the annotations by enumerating exactly what is copied (settings, versions, packages, topics, tags, certificate template, instructors, authorId) and what is not (enrollments and learner data, slug, certificate statement-code prefix/numbering). It discloses side effects and state the agent could not otherwise predict: hidden/unlisted rather than private, fresh block ids isolating learner records, version-0/version-1 starter-outline nuances, slug regeneration, performance risk from large SCORM/xAPI packages, and rollback on failed copies.

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 core action and the result name are front-loaded, and the copy/no-copy inventory plus timeout caveat are each information-bearing. It is dense, however, with deeply nested parentheticals in the middle sentence that slow parsing, and could be broken into shorter sentences without losing content.

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?

Complete for a mutation tool with no output schema: it states the return value ('Returns the new course object'), the rollback semantics on failure, the visibility state of the created resource, and how to remediate the two follow-up actions an agent will need (slug via course_update, retry via course_list). Nothing needed to invoke it correctly is missing.

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 both parameters are already fully documented, and the description largely restates them ('authorId (default: the connection's owning user), who is added to its instructors'). The added value is marginal: it clarifies the author is also recorded as author of the copied versions and that the id must be on this site, but supplies no format or syntax guidance beyond the schema.

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?

Opens with a specific verb and resource ('Copy a course into a new hidden course') and states the resulting name pattern '<name> (Copy)', so an agent knows exactly what gets produced. It also explicitly contrasts with course_create for a blank course, making it distinguishable from the nearest sibling without opening either schema.

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?

Gives concrete when-to-use framing ('fastest way to start a new cohort or a variant of a template') and names the alternative tool plus the condition that selects it ('use course_create for a blank course'). It also supplies operational guidance for a failure mode: if the call times out, check course_list before retrying to avoid a duplicate.

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