Skip to main content
Glama

canvas_list_groups

Lists all groups the current user belongs to or all groups in a specified Canvas course, helping you find group memberships and course groups by course ID.

Instructions

List all groups the current user belongs to, or all groups in a 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": "canvas_list_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idNoCourse ID to list groups for. If omitted, lists user's groups.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about permissions required, whether membership in a course is needed to list its groups, pagination, or result shape. 'List' implies a read operation, but that is the only behavioral signal an agent gets.

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?

One sentence, front-loaded with the verb and resource, and the two branches are stated compactly with no filler. Nothing could be trimmed without losing the scope distinction.

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

Completeness3/5

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

For a simple read tool with one optional parameter this is close to sufficient, but with no output schema the description should at least hint at what a group record contains or whether results are paginated. As written, an agent knows what it asks for but not what it gets back.

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?

There is a single optional parameter at 100% schema coverage, and the schema already explains that course_id selects course groups while omission yields the user's groups. The description adds no format, type, or edge-case detail (e.g. invalid course_id behavior) beyond that, so baseline 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?

States a specific verb (List) and resource (groups) with two explicit scopes: the current user's groups, or a course's groups. It differentiates from the closest siblings (canvas_list_group_categories, canvas_list_outcome_groups) by implication of what it returns, though it never names an alternative.

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 two operating modes are stated ('or all groups in a course'), which implies the selection condition on course_id, but no when-to-use against alternatives or prerequisites (e.g. must be enrolled in the course) are given. The condition is also already present in the schema's course_id description, so the guidance is largely duplicative.

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