Skip to main content
Glama

list_assignment_groups

Read-only

Retrieve assignment groups (e.g., Homework, Exams) from a Canvas course, optionally nesting assignments and including submission data, overrides, or score statistics.

Instructions

List assignment groups (categories like Homework, Exams) in a course. Use include=assignments to nest assignments under each group; other includes add submission, overrides, score_statistics, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesThe Canvas course ID
includeNoExtra fields to include (Canvas include[] param)
assignment_idsNoWhen combined with include=assignments, restrict nested assignments to these IDs
exclude_assignment_submission_typesNoExclude assignments whose submission_types match any of these values
override_assignment_datesNoApply assignment overrides to due/unlock/lock dates
grading_period_idNoScope to a specific grading period
scope_assignments_to_studentNoLimit assignments to what the current student can see
Behavior3/5

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

Annotations already mark tool as read-only and open-world. Description adds context about include parameter effects (nesting, additional data), but no mention of pagination, rate limits, or edge cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences; first states purpose, second provides key usage hint. No unnecessary information.

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?

Given no output schema, description hints at return structure (nested assignments when include=assignments) and mentions typical includes. Could specify that returns a list of group objects, but sufficient for a list 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 already covers all parameters with descriptions (100% coverage). Description adds value by explaining the effect of include=assignments and listing other include options, clarifying usage beyond enum values.

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?

Description clearly states 'List assignment groups' with examples (Homework, Exams), distinguishing it from sibling tools like list_assignments.

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?

Provides guidance on using include parameter to nest assignments, implying when to use this tool over list_assignments. Lacks explicit exclusions or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bruchris/canvas-lms-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server