Skip to main content
Glama
D2L BrightSpace MCP

D2L BrightSpace MCP

Get Course Content

get_course_content
Read-only

Retrieves a course's content tree of modules, topics, files, and links to locate course materials. Filter by module title or depth to find specific lecture slides, uploads, or module structure.

Instructions

Fetch the content tree for a course showing modules, topics, files, and links. Use this when the user asks about course materials, lecture slides, uploaded files, content structure, or what's in a course module. Use moduleTitle to filter to a specific module (e.g. 'Labs', 'Staff', 'Homeworks') instead of fetching the entire tree. Use maxDepth to limit recursion depth for a table-of-contents view. Example: "Where are the lecture slides for week 4?"

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
courseIdYesCourse ID to get content tree for.
maxDepthNoLimit recursive depth of the content tree. Depth 1 returns top-level modules with direct children only. Useful for getting a table of contents without all nested content.
typeFilterNoOptional filter to narrow results by content type.all
moduleTitleNoCase-insensitive substring match on module titles. Only returns modules whose title contains this string (e.g. 'Labs', 'Staff', 'Homeworks'). Children of matching modules are included in full.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no output schema, the description carries useful weight by disclosing the shape of the returned tree (modules → topics → files/links) and that unfiltered fetches return the entire tree, hinting at payload size. Annotations already cover read-only and open-world nature, so the added structural and scoping context is a meaningful supplement.

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 action, then progressively adds usage triggers, filtering guidance, and a concrete example. Slightly redundant because moduleTitle and maxDepth are re-explained in near-identical terms to their schema descriptions.

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?

Adequately complete for a read-only retrieval tool: purpose, triggers, filtering strategy, and return structure are all present, and annotations remove the need to discuss safety. Missing only guidance on expected response size limits or behavior for very large courses with no depth limit.

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 100%, so all four parameters are already documented, including enum values and the moduleTitle substring semantics. The description's moduleTitle examples ('Labs', 'Staff', 'Homeworks') merely repeat the schema text; no additional format or edge-case meaning is contributed.

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 verb+resource: 'Fetch the content tree for a course', and enumerates what the tree contains (modules, topics, files, links). The resource is clearly distinct from siblings like get_assignment_files or get_syllabus, though no sibling is named explicitly for contrast.

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 concrete trigger conditions ('when the user asks about course materials, lecture slides, uploaded files, content structure') plus a worked example question. Explains how to narrow with moduleTitle and maxDepth, but never states when NOT to use this or names an alternative tool for overlapping needs (e.g. assignment-attached files).

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