Skip to main content
Glama

canvas_list_sections

Lists all sections in a Canvas course by course ID to help you review section structure and organize course communication.

Instructions

List all sections in a course.

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": {
      "course_id": "<course_id>"
    },
    "name": "canvas_list_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYesThe Canvas course ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/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 nothing beyond the basic operation. It does not say whether the call is read-only, whether results are paginated, whether an empty course returns an empty array or an error, or what happens with an invalid course_id.

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

Conciseness3/5

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

The single sentence is efficient with no filler and is front-loaded with the verb, but its extreme brevity is under-specification rather than genuine conciseness. It has room to add a clause on return shape or role requirements without becoming bloated.

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?

For a tool with no annotations and no output schema, the description should at least sketch the return shape (a list of section records with names and IDs) and any access caveats. It does neither, leaving the agent to guess at what comes 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 one parameter at 100% schema description coverage, so the schema already explains that course_id is 'The Canvas course ID'. The description only restates 'in a course' and adds no format or sourcing guidance (e.g., where to obtain the ID, that it is numeric rather than the SIS ID), 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?

The description gives a specific verb and resource ('List all sections'), and the scope ('in a course') signals it is scoped to a single course rather than the account. It does not name any sibling or contrast with course-level listing tools, but the resource noun is distinct enough to separate it from siblings like canvas_list_modules or canvas_list_enrollments.

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 statement of when to use this tool versus alternatives, no prerequisites (e.g., needing an instructor/TA role to see sections), and no exclusions. The agent must infer everything about selection from the name alone.

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