Skip to main content
Glama

get_gradebook_categories

Retrieve a course's gradebook categories (assignment groups) and their weights by course ID or name to understand how grades are calculated.

Instructions

Get gradebook categories (assignment groups) and their weights for a course

Input Schema

NameRequiredDescriptionDefault
courseIdNoThe Canvas course ID
courseNameNoThe name of the course (alternative to courseId)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/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. It does disclose the returned content (categories and their weights), which implies a read-only operation, but says nothing about permissions required, what happens when a course has weighting disabled, or whether it fails for non-enrolled users.

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?

A single tight sentence with the resource front-loaded and the parenthetical synonym placed where it aids recognition. Nothing is wasted or padded.

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?

For a simple two-parameter read tool with full schema coverage and no output schema, the description covers the resource and its returned content adequately. The only gaps are permission and weighting-disabled edge cases, which are secondary for a basic lookup.

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% and both parameters are documented in the schema, including the anyOf either/or requirement, so the description's phrase "for a course" adds no new syntax or constraint information. Baseline 3 applies when the schema does the heavy lifting.

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 states a specific verb and resource ("Get gradebook categories") and disambiguates the domain term by equating categories with Canvas assignment groups, plus notes that weights are included. It does not explicitly differentiate itself from nearby siblings like get_grades or get_assignment_details, but the resource is concrete enough to select on.

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 or when-not-to-use guidance, no mention of prerequisites (e.g. teacher vs student access), and no routing to alternatives such as get_grades when the agent actually needs per-student scores. Usage is only implied by the resource name.

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