Skip to main content
Glama

Discussions

get_discussions
Read-only

Retrieve discussion topics for a Canvas course, including unread counts, by course ID or name; use limit and page to browse long lists.

Instructions

Discussion topics for one Canvas course, with unread counts. Pass course_id as the Canvas course ID or as the course name. Pass limit and page to step through long lists, 20 topics by default. Example: "What discussions are open in my Canvas Networking 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": "get_discussions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoOptional, which page of items to show, starting at 1. Defaults to 1.
limitNoOptional, how many items to show per list. Defaults to 20.
course_idYesCanvas course ID, the number Canvas shows for the course, or the course name such as "Networking 1". Ask get_my_courses for the list of IDs and names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.10
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Optional, how many items to show per list. Defaults to 20.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "description": "Optional, which page of items to show, starting at 1. Defaults to 1.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. First observedv0.1.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds useful behavior: unread counts are returned and lists default to 20 topics per page with paging. It says nothing about ordering, whether announcements are included, or what happens on invalid course names.

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

Conciseness4/5

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

Three short sentences, front-loaded with the resource and scope, followed by parameter guidance and a concrete example. No filler, though the example sentence is somewhat redundant with the earlier course_id instruction.

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 read-only listing tool with 100% schema coverage and no output schema, the description covers scope, key parameters, defaults, and example usage. The main gap is return-shape hints beyond unread counts, which is a minor omission given the annotations.

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%, so course_id, limit, and page are already fully documented. The description largely restates the schema (course ID or name, default page size, paging), adding no new format or edge-case detail, so it sits at the baseline.

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 resource (discussion topics) scoped to one Canvas course, plus an extra attribute (unread counts). This distinguishes it from get_announcements and get_course_content without needing the schema, though it never uses an explicit verb like 'list' or 'fetch'.

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?

Gives clear context for when to use it and how, including a worked example question and instructions to page through long lists. It lacks explicit exclusions (e.g., 'use X for announcements or replies'), so it stops short of full when-not guidance.

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