Skip to main content
Glama

list_modules

Retrieve Canvas course modules by course ID or name, optionally including items, content details, search filtering, or student progress.

Instructions

List course modules in a Canvas course.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_modules"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoAdditional information to include (default: items)
courseIdNoThe Canvas course ID (numeric)
studentIdNoOptional student ID to get module progress for that student
courseNameNoThe course name (e.g., "Art 113N", "CMPEN 431"). If provided, courseId is not required.
searchTermNoOptional search term to filter modules by name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. "List" implies a read, but the description says nothing about permissions, pagination, ordering, or whether the call fails when a course cannot be resolved.

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?

It is a single front-loaded sentence with no redundant or hedged wording. Brevity is achieved, though partly at the cost of the information an agent would need to disambiguate usage.

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

Completeness2/5

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

This is a five-parameter tool with two mutually substitutable course identifiers, a student-progress option, and filtering, with no output schema to explain return shape. The description addresses none of that, so an agent gains no understanding of how courseId versus courseName or studentId affect the results.

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 every parameter, including the include enum and the courseId/courseName fallback, is already documented in structured fields. The description adds no syntax, format, or defaulting detail beyond what the schema states, which matches the baseline for a fully documented schema.

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?

The description names a specific verb and resource ("List course modules") and scopes it to a Canvas course, so an agent knows exactly what entity is returned. It does not, however, distinguish itself from sibling tools such as get_module_details or get_module_items, which an agent must infer.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no stated prerequisites, and no mention of alternatives. The sentence describes the resource but never says under which circumstances an agent should call this instead of the detail or item-level module tools.

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