Skip to main content
Glama

canvas_list_courses

Lists all courses a user is enrolled in, returning course names, codes, term info, and enrollment type. Filter by active, completed, or invited state and optionally include student counts.

Instructions

List all courses the user is enrolled in. Returns course names, codes, term info, and enrollment type.

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

Input Schema

NameRequiredDescriptionDefault
enrollment_stateNoFilter by enrollment state. Defaults to active.
include_total_studentsNoInclude total student count per course

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the return shape (course names, codes, term info, enrollment type), which partially substitutes for the absent output schema, but says nothing about pagination, result limits, whether inactive or completed courses are included by default, or permission requirements.

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?

Two short sentences with the resource and scope front-loaded and the return fields following. There is no filler, though the second sentence could be trimmed if an output schema existed.

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?

This is a simple zero-required-parameter list tool with a fully documented schema and no output schema, and the description compensates by naming the returned fields. Missing pagination and default-inclusion behavior are minor gaps for a tool of this complexity.

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 description coverage is 100%, so both parameters are already documented in the schema, including the enum values and the active default for enrollment_state. The description adds no filtering syntax or behavioral detail beyond what the schema states, so the baseline of 3 applies.

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 all courses") and narrows the scope to courses the user is enrolled in, which distinguishes it from a single-course fetch like canvas_get_course. It does not explicitly distinguish itself from enrollment-oriented siblings such as canvas_list_enrollments, but the resource is unambiguous.

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?

The enrollment scope ("the user is enrolled in") implies when this tool applies, but there is no explicit when-to-use guidance, no mention of prerequisites such as a course or user id, and no pointer to alternatives like canvas_get_course for a single course. Usage must be inferred from the resource name and scope phrase.

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