Skip to main content
Glama

Cubite LMS: Learning Management System

Get course content

course_content_get
Read-only

Get a course's lessons as EditorJS blocks (H2 headers are sections, H3 headers are units): the current version, or an older saved revision when you pass version (list revisions with course_version_list). This is the authoring source with each block's id and data; course_get returns the course's settings and fetch only its catalog summary. Returns {courseId, version, blocks}, plus savedAt for an older revision; version 0 means nothing has been written yet (a new course holds its starter outline there, an older one no blocks), and a version number that does not exist is a not-found error. Read the current version before course_content_set so you can keep each block's id. To roll back, read the old version and write its blocks with course_content_set, which saves a new version rather than erasing history.

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_content_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCourse id.
versionNoVersion number to read, from course_version_list (0 is the starter outline a new course begins with). Omit for the current version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / version / description
      Previous value: -"Saved version number to read (1 or higher, from course_version_list). Omit for the current version."New value: +"Version number to read, from course_version_list (0 is the starter outline a new course begins with). Omit for the current version."
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description builds on that with return shape {courseId, version, blocks} plus savedAt for old revisions. It discloses edge-case behavior the annotations cannot: version 0 semantics differ for new vs. older courses, and a non-existent version is a not-found error.

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?

Front-loaded with the core purpose and the content model before the sibling disambiguation, so scanning works well. The prose is dense — long parenthetical clauses and a four-part final sentence pack several distinct ideas together, which costs a little readability.

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?

There is no output schema, and the description compensates by naming the exact return fields and the conditional savedAt. It also covers error behavior and the authoring-source distinction, which is everything an agent needs to call this correctly on a two-parameter read tool.

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?

Schema coverage is 100%, so the schema already documents both parameters; the description still adds value by explaining why version 0 exists and that omitting `version` returns the current version. The added meaning is genuine but partly redundant with the schema's own parameter text, so it stops short of 5.

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 ('Get a course's lessons as EditorJS blocks') and immediately clarifies the content model (H2 = sections, H3 = units). It explicitly distinguishes itself from three siblings — course_version_list (for listing revisions), course_get (settings) and fetch (catalog summary) — so an agent can pick correctly without opening schemas.

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 explicit when-to-use rules: pass `version` for an older revision, call course_version_list to discover revisions, and read the current version before course_content_set to preserve block ids. It also describes the rollback workflow (read old version, write with course_content_set) and notes that history is not erased.

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