Skip to main content
Glama

Canvas MCP Server

delete_announcement

Remove an announcement from a Canvas course by specifying the course identifier and announcement ID. This tool handles deletion of discussion topics that function as announcements in the Canvas LMS.

Instructions

Delete an announcement from a Canvas course. Announcements are technically discussion topics in Canvas, so this uses the discussion_topics endpoint to delete them. Args: course_identifier: The Canvas course code (e.g., badm_554_120251_246794) or ID announcement_id: The Canvas announcement/discussion topic ID to delete Returns: String describing the deletion result with status and title Raises: HTTPError: - 401: User doesn't have permission to delete the announcement - 404: Announcement not found in the specified course - 403: Editing is restricted for this announcement Example usage: result = delete_announcement("60366", "925355") print(f"Result: {result}")

Input Schema

NameRequiredDescriptionDefault
announcement_idYes
course_identifierYes

Input Schema (JSON Schema)

{ "properties": { "announcement_id": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Announcement Id" }, "course_identifier": { "anyOf": [ { "type": "string" }, { "type": "integer" } ], "title": "Course Identifier" } }, "required": [ "course_identifier", "announcement_id" ], "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