Skip to main content
Glama

Course modules

get_course_content
Read-onlyIdempotent

Retrieve Canvas course's ordered modules and items—files, pages, links, assignments, quizzes, discussions, headers—with lock dates, prerequisites, completion rules, and recent changes.

Instructions

A course's modules and their items (files, pages, outside links, assignments, quizzes, discussions, and text headers) in order, with lock/unlock dates, prerequisites, completion requirements, last-updated dates, what changed since the student last looked, and the call that reads each item. Text headers (SubHeaders) often carry syllabus links, recording links and instructions.

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

Input Schema

NameRequiredDescriptionDefault
courseIdYes
maxDepthNoHide items indented deeper than this
moduleTitleNoOnly modules whose name contains this

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the description is free to spend its words on richer signal — ordering, lock/unlock dates, prerequisites, completion requirements, last-updated, and change-since-last-view. That change-tracking hint is behavior an agent could not get from the annotations. It still omits any note about size or pagination for large courses.

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 resource, one dense sentence of return-field disclosures plus a short second sentence flagging that SubHeaders carry syllabus/recording links. The parenthetical type list is long but each item is genuinely differentiating; no filler sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return shape, and it does so thoroughly — item types, ordering, dates, prerequisites, completion state, and follow-up call pointers. For a read-only, single-course outline tool with one required parameter, that covers everything an agent needs to call and interpret it.

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?

The description says nothing about courseId, maxDepth, or moduleTitle. Two of the three parameters already carry schema descriptions ('hide items indented deeper than this', 'only modules whose name contains this'), but courseId — the required parameter — is undocumented in both the schema and the description. At 67% coverage this lands at the baseline rather than above it.

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?

States a specific resource (a course's modules and their items) enumerating exactly what item types come back (files, pages, links, assignments, quizzes, discussions, SubHeaders). The clause 'the call that reads each item' implicitly distinguishes it from the reader siblings (read_content, get_file_page) without naming them, so an agent can infer this is an outline/index tool rather than a content reader.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: the mention of 'the call that reads each item' suggests this is the map you consult before fetching item bodies. There is no explicit when-to-use, when-not-to, or named alternative, so the agent must infer that read_content/get_file_page is the follow-up for actual content.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.