Skip to main content
Glama

Generate Course Module

generate_course_module
Destructive

Build one module into a video made of editable slides (one per storyboard scene, each with its own voiceover). The module needs a storyboard first. With AI video on, this also makes the module's AI pictures and clips (charged per success; a few extra minutes). Async and expensive — poll the returned jobId, then get_course for the new videoId. Returns 409 if it's already generating.

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": "generate_course_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes
moduleIdYes

Output Schema

NameRequiredDescriptionDefault
jobIdNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations (destructiveHint=true, non-idempotent, open-world) by disclosing that the operation is async and expensive, that charges accrue per successful generation, that it takes a few extra minutes with AI video, and that a 409 is returned when generation is already in flight. It also states the downstream polling pattern, which is exactly the operational context an agent needs.

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 what is produced, then the prerequisite, then cost/latency, then the error case. No restatement of the name or title and no filler.

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, async, chargeable generation tool, the description covers prerequisite, cost, latency, job polling, follow-up lookup, and the 409 conflict. With an output schema present, it does not need to describe return values, and nothing essential to invoking 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 0%, so the description would need to carry parameter meaning, and it does not explain what courseId and moduleId identify beyond implying a module inside a course. The names are largely self-describing and only two required params exist, so the gap is modest rather than severe.

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?

Uses a specific verb and resource — 'Build one module into a video made of editable slides (one per storyboard scene, each with its own voiceover)' — which tells an agent exactly what artifact is produced. The scope ('one module') and prerequisite ('needs a storyboard first') sharpen it further, though it never explicitly contrasts with adjacent generation tools, so it falls just short of a 5.

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 precondition (a storyboard must exist), a cost/behavioral caveat (AI video adds pictures and clips, charged per success, extra minutes), and explicit next steps (poll jobId, then get_course). No explicit when-not-to-use or named alternative is offered, so it stops at 4.

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