Skip to main content
Glama

canvas_list_announcements

Read-only

List announcements for one or more Canvas courses by passing required course context codes, with options to limit by date range or show active-only results.

Instructions

List announcements across one or more courses. contextCodes is required (e.g. ["course_123"]). Defaults to active-only.

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": {
      "contextCodes": "<contextCodes>"
    },
    "name": "canvas_list_announcements"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); "full" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. "full" keeps the HTML.
endDateNo
startDateNo
activeOnlyNo
contextCodesYesRequired. Array like ["course_123", "course_456"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.0
    • changedInput schema / properties / view / description
      Previous value: -"Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs."New value: +"Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. \"full\" keeps the HTML."
  2. Changed1 schema field changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changedv1.5.4
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  4. Addedv1.2.5

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds one genuinely new behavioral fact — that results default to active-only — which the activeOnly parameter does not document anywhere in the schema. It says nothing about pagination, result volume, or ordering across multiple courses.

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?

Three short clauses, front-loaded with the core action and resource, then the hard requirement, then the default. Every sentence carries information and nothing is padded, though the ordering puts a parameter detail ahead of any usage framing.

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?

For a 5-parameter, read-only listing tool with no output schema and only 40% schema coverage, the description is thin: it never addresses the two date parameters, multi-course aggregation behavior, or whether results are paginated. It is not misleading, just incomplete on the parts the schema leaves bare.

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 description coverage is only 40%, so the description must carry weight, and it partially does: it marks contextCodes as required with a concrete example format and explains the activeOnly default. But startDate and endDate are left completely undefined in both schema and description — no format, no inclusive/exclusive boundary, no interaction with activeOnly.

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 names a specific verb and resource ("List announcements") and scopes it ("across one or more courses"), so an agent can tell it apart from list tools for assignments, files, or courses. It does not, however, explicitly distinguish itself from the close sibling canvas_list_discussion_topics, which in Canvas is a near-neighbor resource.

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?

There is no when-to-use or when-not guidance, no named alternative, and no prerequisites (auth scope, course membership). The only guidance-adjacent content is the note that contextCodes is required, which is already implied by the schema's required array.

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