Skip to main content
Glama

Build Course Module

build_course_module
Destructive

Create one module's video in a single step, like the Create video button: storyboard (when the module has none), AI visuals when the course has AI video on, narration and editable slides. Prefer this over build_course_storyboard + generate_course_module. Returns videoId at once (the video is in progress until the job completes; poll jobId). A module that is already ready is rebuilt and its video replaced. Costs credits. Returns 409 if the module is already being built.

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": {
      "courseId": "<courseId>",
      "moduleId": "<moduleId>"
    },
    "name": "build_course_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
filmNoHow this module's scenes are made: motion or premium, null for Simple. Omit to use the course's default. A styleId changes the look of the whole course from now on. Check the cost with the user first.
courseIdYes
moduleIdYes

Output Schema

NameRequiredDescriptionDefault
jobIdNo
videoIdNo
projectIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the video is asynchronous ("videoId at once... poll jobId"), existing videos are destroyed and replaced, credits are consumed, and a 409 is returned when a build is already running. This directly substantiates the destructiveHint and non-idempotent declarations with concrete consequences.

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?

Four tight sentences, front-loaded with the action, then the routing preference, then return/async semantics, then cost and failure modes. Nothing is padded and the ordering matches the order an agent needs the facts.

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 destructive, credit-consuming, async mutation this covers the essentials: what gets overwritten, that credits are spent, how progress is tracked, and the conflict case. An output schema exists, so the return-value explanation is a bonus rather than a requirement.

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 only 33%, and the description never names or explains the film parameter, its motion/premium enum, or its per-module cost implications beyond a generic "Costs credits." The film sub-schema is itself richly documented, so the practical gap is smaller than the coverage number suggests, but the description adds little parameter-level meaning of its own.

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 ("Create one module's video in a single step") and enumerates what the step bundles: storyboard, AI visuals, narration, editable slides. It explicitly distinguishes itself from build_course_storyboard + generate_course_module, so an agent can route 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 Guidelines4/5

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

Gives a clear routing rule: "Prefer this over build_course_storyboard + generate_course_module." It also states the rebuild-without-warning consequence and the 409 conflict condition. No explicit when-not-to-use case is given (e.g. what to choose when the storyboard must be edited first), which keeps it below a 5.

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