Skip to main content
Glama

get_courses

Retrieve your Canvas courses for the authenticated user, filtered by enrollment state (active, completed, or all), to support grade, assignment, and deadline workflows.

Instructions

Get your Canvas courses for the authenticated user

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

Input Schema

NameRequiredDescriptionDefault
enrollmentStateNoFilter courses by enrollment state (default: active)active

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add one real behavioral fact: results are scoped to the authenticated user's identity, not an arbitrary user. However, it omits return shape, result volume/pagination behavior, and whether it is strictly read-only beyond the implied 'Get'.

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 short sentence with zero filler, front-loading the resource and the identity scope. Nothing is wasted and nothing needs to be reordered.

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 one-parameter list tool with no annotations and no output schema, the description is adequate on identity scoping but silent on pagination, result volume, and what a course object contains. Enough to select the tool, not quite enough to invoke it confidently at scale.

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%: the single enrollmentState parameter is documented with an enum and default inside the schema, so the description need not repeat it. The description adds no meaning beyond the schema, which is the expected baseline here.

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 ('Get your Canvas courses') and scopes it to 'the authenticated user', which separates it from per-course detail siblings like get_course_navigation or get_course_syllabus. It does not explicitly name a sibling or state what it is not, so it stops short of a 5.

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?

Usage is only implied: an agent can infer this is the top-level course listing used before calling the many per-course tools, but the description never says when to use it versus alternatives or any prerequisite. No when-not guidance or exclusions are offered.

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