Skip to main content
Glama

Update Course

update_course
DestructiveIdempotent

Rename a course, change the planner instructions, its pace or AI video setting, file it under a project folder, or set who may take it and what counts as finishing a module. Pace and AI video apply the next time each module is generated. Modules and status are owned by the pipeline and can't be set here. Settings are merged, so a partial update leaves the rest alone.

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>"
    },
    "name": "update_course"
  }
}

Input Schema

NameRequiredDescriptionDefault
filmNonull goes back to Simple. Applies the next time each module is created.
paceNoHow modules are written and cut. "snackable": 1-3 minute modules, short fast scenes, casual voice, big captions (social-video style). "course" (default): 3-6 minute modules, friendly explainer. "inDepth": 5-12 minute modules, calm and thorough.
titleNo
aiVideoNoAI-generated pictures and short clips instead of stock photos. Business and Enterprise plans only. Costs more credits: roughly 30-100 extra per module, depending on pace. The source's own images still come first.
courseIdYes
settingsNoMerged into the course's existing settings — fields you leave out are kept.
projectIdNo
accessCodeNoShared code learners must enter. Empty or null clears it.
userInstructionsNo

Output Schema

NameRequiredDescriptionDefault
idNo
filmNo
paceNo
errorNo
titleNo
sourceNo
statusNo
aiVideoNo
expressNo
createdAtNo
projectIdNo
updatedAtNo
activeJobIdNo
moduleCountNo
aiProvenanceNo
instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag the mutation profile (readOnly=false, destructive=true, idempotent=true), and the description adds genuinely new behavior: settings are deep-merged so partial updates preserve untouched fields, and pace/AI video only take effect on the next module generation rather than immediately. That deferred-effect disclosure is exactly the kind of context annotations can't express.

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?

Four dense sentences, front-loaded with the covered operations before the caveats about deferred application and merge semantics. The enumerative first sentence is long but every clause corresponds to a real parameter group, so there is little waste.

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?

An output schema exists, so return values need no explanation, and the description covers the parts that matter for a destructive, merged mutation: what is mutable, what is not, when changes take effect, and that unspecified settings survive. Remaining omissions (film, accessCode clearing, credit/plan gating) are documented in the schema itself.

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 56% schema coverage and heavy nesting, the description usefully maps opaque fields to intent — "planner instructions" for userInstructions, "file it under a project folder" for projectId, "who may take it and what counts as finishing a module" for the settings.access/completion blocks — and restates the merge rule. It does not mention film or accessCode (including that null clears the code), leaving two params to the schema alone.

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 opening sentence names the verb (rename/change/set/file) and enumerates the exact resource facets this tool owns: title, planner instructions, pace, AI video, project folder, access and completion rules. It also draws a firm boundary — "Modules and status are owned by the pipeline and can't be set here" — which separates it from sibling tools like update_module and course_progress.

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?

It gives a clear when-to-use scope plus an explicit when-not (modules and status are out of bounds, handled by the pipeline). What it lacks is a named alternative for the excluded cases, so an agent must still guess which sibling to call for module-level edits.

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