Skip to main content
Glama

get_discussions

Retrieve discussion topics from a Canvas course, filtered by title or limited to announcements, with optional ordering by recent activity, position, or title.

Instructions

Get discussion topics in a Canvas 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": "get_discussions"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderByNoOrder discussions by (default: recent_activity)recent_activity
courseIdNoThe Canvas course ID (numeric)
courseNameNoThe course name (e.g., "Art 113N", "CMPEN 431"). If provided, courseId is not required.
searchTermNoOptional search term to filter discussions by title
onlyAnnouncementsNoOnly list announcements (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, yet it only states the purpose. It does not state that this is a read-only listing operation, whether authentication or course enrollment is required, how results are paginated, or how announcements are handled.

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?

The description is a single front-loaded sentence with no wasted words. It is slightly too terse to provide structure or context, but it is not verbose or redundant.

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?

The fully documented schema compensates for the lack of parameter detail, and the tool is a straightforward list operation. However, without annotations or an output schema, the description should do more to explain return behavior, announcement inclusion, and any access constraints.

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 the input schema already documents all five parameters with descriptions, defaults, and an enum for orderBy. The description adds no extra meaning beyond the schema, so a baseline score of 3 is appropriate.

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 ('Get') and resource ('discussion topics') scoped to a Canvas course. It is clear enough to distinguish from sibling tools like get_courses or get_assignments, though it does not explicitly differentiate listing announcements versus discussions, which the onlyAnnouncements parameter implies.

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?

The description offers no when-to-use guidance, no prerequisites, and no alternative tools. It does not explain when to use onlyAnnouncements or searchTerm, leaving all filtering decisions to the schema.

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