Skip to main content
Glama

Canvas MCP Server

bulk_delete_announcements

Remove multiple announcements from a Canvas course in a single operation, with options to handle errors and continue processing remaining items.

Instructions

Delete multiple announcements from a Canvas course. Args: course_identifier: The Canvas course code or ID announcement_ids: List of announcement IDs to delete stop_on_error: If True, stop processing on first error; if False, continue with remaining Returns: String with detailed results including successful and failed deletions Example usage: results = bulk_delete_announcements( "60366", ["925355", "925354", "925353"], stop_on_error=False )

Input Schema

NameRequiredDescriptionDefault
announcement_idsYes
course_identifierYes
stop_on_errorNo

Input Schema (JSON Schema)

{ "properties": { "announcement_ids": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "title": "Announcement Ids", "type": "array" }, "course_identifier": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Course Identifier" }, "stop_on_error": { "default": false, "title": "Stop On Error", "type": "boolean" } }, "required": [ "course_identifier", "announcement_ids" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vishalsachdev/canvas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server