Skip to main content
Glama

Discussions

get_discussions
Read-onlyIdempotent

List Canvas course discussion topics with due dates, points, reply and unread counts, or open a topic to read its prompt and newest posts; use a cursor for older replies.

Instructions

Course discussions. Without topicId: every topic with due date, points, reply counts, unread counts and whether you must post first. With topicId: the prompt in full and the newest posts (maxPosts, default 10) with authors and replies, plus a cursor call for older posts.

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": {
      "courseId": "<courseId>"
    },
    "name": "get_discussions"
  }
}

Input Schema

NameRequiredDescriptionDefault
beforeNoCursor from a previous call: skip this many newest posts
offsetNo
postIdNoRead one post (or reply) in full
topicIdNo
courseIdYes
maxPostsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world semantics, so the description isn't needed for safety signaling. It instead adds genuine payload context: topics carry due date, points, reply counts, unread counts and a must-post-first flag; posts include authors and replies; older posts require paging via cursor. Pagination limits on maxPosts are left to the schema.

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?

Two compact sentences with a parallel 'Without / With' structure that front-loads the dominant branch. Minor waste in the trailing 'plus a cursor call for older posts', which is vague about how the cursor actually works.

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?

With six parameters, no output schema and no nested objects, the description correctly spends its words on what each mode returns rather than on return typing. Gaps remain around offset, postId and paging mechanics, but the core call paths are covered.

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 only 33%, so the description must compensate and it does partially: topicId's dual role is explained and maxPosts' default plus before's cursor role are implied. But offset and postId are never mentioned in the description, and postId is only explained by its own schema text.

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 opens with the resource (course discussions) and then splits behavior into two explicit modes — topic listing without topicId, single-topic prompt plus newest posts with topicId — so an agent can tell what data it will get in each case. It does not name a sibling alternative, so it falls short of the top score, but the verb+resource+payload detail is concrete.

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?

The without/with topicId branching is effectively a when-to-use rule: omit topicId to survey all topics, supply it to read one. Defaults (maxPosts=10) and the fallback to a cursor call for older posts are stated. It never addresses the postId or offset paths, and it offers no guidance versus siblings like read_content or find_content, so it is clear context without exclusions.

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