Get the FREE Ultimate OpenClaw Setup Guide →

canvas-discussion-facilitator

Scanned
npx machina-cli add skill vishalsachdev/canvas-mcp/canvas-discussion-facilitator --openclaw
Files (1)
SKILL.md
10.1 KB

Canvas Discussion Facilitator

Facilitate discussion forum activity in Canvas LMS -- browse topics, read posts, reply to students, create new discussions, and monitor participation. Works for both students and educators.

Prerequisites

  • Canvas MCP server must be running and connected to the agent's MCP client.
  • The authenticated user can have any Canvas role (student, TA, or instructor). Tool access is governed by Canvas API permissions.
  • FERPA compliance (educators): Set ENABLE_DATA_ANONYMIZATION=true in the Canvas MCP server environment to anonymize student names in output.

Steps

1. Identify the Course

Ask the user which course to work with. Accept a course code, Canvas ID, or ask them to pick from a list.

If the user does not specify, use list_courses to show active courses and prompt:

Which course should I look at discussions for?

2. Browse Discussion Topics

Call the MCP tool list_discussion_topics with the course identifier to retrieve all discussion forums.

Parameters:

  • course_identifier -- course code or Canvas ID
  • include_announcements -- set to false (default) to see only discussions, or true to include announcements

Data to surface per topic:

  • Topic ID and title
  • Author name
  • Posted date
  • Number of entries (if available)
  • Whether the topic is pinned or locked

Present the list so the user can pick a topic to drill into.

3. View Posts in a Discussion

Once the user selects a topic, call list_discussion_entries to retrieve posts.

Parameters:

  • course_identifier -- course code or Canvas ID
  • topic_id -- the selected discussion topic ID
  • include_full_content -- set to true to see complete post bodies
  • include_replies -- set to true to see threaded replies

Data to surface per entry:

  • Author name
  • Posted date
  • Message content (or preview)
  • Number of replies
  • Entry ID (needed for replying)

4. Read a Specific Post in Full

If a post is truncated or the user wants the complete text, call get_discussion_entry_details.

Parameters:

  • course_identifier -- course code or Canvas ID
  • topic_id -- the discussion topic ID
  • entry_id -- the specific entry ID
  • include_replies -- set to true to also fetch all replies to this entry

Present the full post content along with any replies, timestamps, and author information.

5. Reply to a Post

When the user wants to respond to a specific post, call reply_to_discussion_entry.

Parameters:

  • course_identifier -- course code or Canvas ID
  • topic_id -- the discussion topic ID
  • entry_id -- the entry being replied to
  • message -- the reply content (HTML is supported)

Before sending, always:

  1. Show the draft reply to the user for confirmation
  2. Reference the original post so the user can verify context
  3. Only send after explicit approval

6. Post a New Top-Level Entry

When the user wants to add a new post to an existing discussion (not a reply), call post_discussion_entry.

Parameters:

  • course_identifier -- course code or Canvas ID
  • topic_id -- the discussion topic ID
  • message -- the post content (HTML is supported)

Show the draft to the user and confirm before posting.

7. Create a New Discussion Topic

When the user needs an entirely new discussion forum, call create_discussion_topic.

Parameters:

  • course_identifier -- course code or Canvas ID
  • title -- the discussion title
  • message -- the opening post / prompt for the discussion
  • delayed_post_at -- (optional) ISO 8601 datetime to schedule the discussion to appear later
  • lock_at -- (optional) ISO 8601 datetime to automatically lock the discussion
  • require_initial_post -- set to true if students must post before seeing classmates' responses
  • pinned -- set to true to pin the topic to the top of the discussion list

Confirm the title, content, and any scheduling options with the user before creating.

Educator Use Cases

Monitor Participation

  1. Call list_discussion_topics to get all discussion forums in the course.
  2. For each topic, call list_discussion_entries to retrieve all posts.
  3. Cross-reference posters against the class roster (use list_users or list_submissions to get enrolled students).
  4. Identify students who have not posted in any active discussion.

Present participation as a summary:

## Discussion Participation: [Course Name]

### Topic: "Week 5 Reading Response" (due Mar 3)
- **Posted:** 28 / 32 students (88%)
- **Not posted:** Student_a1b2c3d, Student_e4f5g6h, Student_i7j8k9l, Student_m0n1o2p

### Topic: "Case Study Analysis" (due Mar 5)
- **Posted:** 15 / 32 students (47%)
- **Not posted:** [17 students listed]

### Students Missing Multiple Discussions
- Student_a1b2c3d -- missing 2 discussions
- Student_e4f5g6h -- missing 2 discussions

Send Reminders About Participation

After identifying non-participants, offer to:

  1. Post an announcement using create_announcement with a general reminder about discussion deadlines.
  2. Message specific students using send_conversation to contact students who are behind on participation.

Draft Thoughtful Replies

When an educator wants to reply to student posts:

  1. Read the full post with get_discussion_entry_details (include replies for context).
  2. Draft a reply that acknowledges the student's points, asks follow-up questions, or connects ideas to course material.
  3. Show the draft for educator review and revision before calling reply_to_discussion_entry.

Student Use Cases

Browse and Catch Up on Discussions

  1. Call list_discussion_topics to see all active discussions.
  2. Call list_discussion_entries with include_full_content=true to read posts.
  3. Summarize key themes or arguments across posts to help the student catch up quickly.

Reply to Classmates

  1. Read the target post with get_discussion_entry_details.
  2. Help the student draft a reply that engages substantively with the original post.
  3. Confirm and send via reply_to_discussion_entry.

Post a New Entry

  1. Review existing posts with list_discussion_entries to avoid duplicating points already made.
  2. Help the student draft a post that adds a distinct perspective or builds on the conversation.
  3. Confirm and send via post_discussion_entry.

MCP Tools Used

ToolPurpose
list_coursesFind the target course
list_discussion_topicsBrowse all discussion forums in a course
list_discussion_entriesView posts within a discussion topic
get_discussion_entry_detailsRead a single post with full content and replies
get_discussion_topic_detailsGet metadata about a discussion topic
reply_to_discussion_entryReply to an existing post
post_discussion_entryAdd a new top-level post to a discussion
create_discussion_topicCreate a new discussion forum
create_announcementPost a course announcement (educator)
send_conversationMessage specific students through Canvas (educator)
list_usersGet enrolled students for participation tracking (educator)

Best Practices

  • Read before replying. Always read the full post and its replies before drafting a response. This avoids repeating points and shows engagement with the conversation.
  • Check for existing similar posts. Before posting a new entry, scan existing posts to avoid duplicating what others have already said. Build on or respectfully challenge existing arguments instead.
  • Reference specific points. When replying, quote or paraphrase specific parts of the original post. This makes the reply more substantive and shows careful reading.
  • Confirm before sending. Always show draft content to the user for approval before calling any write tool (reply_to_discussion_entry, post_discussion_entry, create_discussion_topic, create_announcement).
  • Respect discussion settings. Some discussions require an initial post before viewing others (require_initial_post). If a student cannot see other posts, they need to post first.
  • Mind the timing. Check delayed_post_at and lock_at dates on topics. Do not attempt to post to locked discussions.
  • Anonymization for educators. When reviewing student participation, rely on anonymous IDs if anonymization is enabled. The Canvas MCP server preserves functional user IDs for messaging while anonymizing display names.

Example

User (educator): "Show me who hasn't posted in the Week 5 discussion for CS 101."

Agent: Calls list_discussion_topics to find the Week 5 topic, then list_discussion_entries to get all posts, then cross-references with enrolled students. Outputs a participation summary listing students who have not posted.

User: "Send them a reminder."

Agent: Drafts a reminder message referencing the discussion deadline, shows it for confirmation, then calls send_conversation to message the non-participating students.


User (student): "I need to reply to Maria's post in the Case Study discussion."

Agent: Calls list_discussion_topics to find the Case Study topic, then list_discussion_entries to locate Maria's post, then get_discussion_entry_details to read the full content. Helps draft a reply that references Maria's key arguments, shows the draft for confirmation, then calls reply_to_discussion_entry.

Notes

  • This skill pairs well with canvas-morning-check for educators who want a full course status before diving into discussions.
  • Discussion entries support HTML content. When drafting posts, use paragraph tags for readability but avoid overly complex markup.
  • Canvas API permissions determine what each user can do. Students cannot create discussion topics unless the course allows it. Educators have full access.
  • For courses with many discussions, suggest filtering by recent or pinned topics to keep the workflow focused.

Source

git clone https://github.com/vishalsachdev/canvas-mcp/blob/main/skills/canvas-discussion-facilitator/SKILL.mdView on GitHub

Overview

Facilitates Canvas LMS discussion forums by enabling students and educators to browse topics, read posts, reply to discussions, and create new discussions. It helps instructors monitor participation and surface essential metadata to drive engagement.

How This Skill Works

The skill uses MCP API calls to enumerate courses and discussion topics with list_discussion_topics, surface posts via list_discussion_entries, and fetch full content with get_discussion_entry_details. For creating or replying, it uses reply_to_discussion_entry, post_discussion_entry, and create_discussion_topic, with parameters like course_identifier, topic_id, and include flags; drafts are shown for user confirmation before sending.

When to Use It

  • When you need to browse and pick a discussion topic for a course
  • When you want to read posts in a topic and preview content before engaging
  • When you want to reply to a specific post and reference the original message
  • When you want to create a new top-level post or a new discussion topic
  • When FERPA-compliant output is required and you need anonymized data

Quick Start

  1. Step 1: Identify the course (e.g., use list_courses or specify course_identifier)
  2. Step 2: Browse topics with list_discussion_topics and pick a topic, adjusting include_announcements as needed
  3. Step 3: View posts with list_discussion_entries, then read, reply, or post using get_discussion_entry_details, reply_to_discussion_entry, or post_discussion_entry

Best Practices

  • Always confirm the target course before listing or acting on discussions
  • Use include_announcements=false by default to focus on regular discussions unless you need announcements
  • Present topic data: Topic ID, title, author, posted date, number of entries, and whether pinned or locked
  • Show the draft reply or post to the user for explicit confirmation before sending
  • Enable ENABLE_DATA_ANONYMIZATION on the Canvas MCP server if educator outputs require anonymized data

Example Use Cases

  • A TA lists discussion topics for a course and selects one to respond to a student question
  • An instructor schedules a new discussion topic with a delayed_post_at time and a prompt
  • A student reads a topic with include_full_content to understand context, then drafts a reply
  • A student browses discussions across a course to find relevant threads and posts a new contribution
  • An educator checks a topic's engagement by reviewing author names, dates, and number of replies

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers