Skip to main content
Glama

Export All Courses

export_all_courses

Package every active Canvas course or chosen courses into downloadable .imscc archives in one step, leaving course content unchanged. Preview and confirm before export.

Instructions

Ask Canvas to package every active course (or the ones you pick) as a downloadable .imscc archive, in one step. Nothing in the courses changes. Use before the term ends. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_all_courses"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true together with confirm_token to carry out a request you already previewed.
course_idsNoCourse IDs; omit for all active courses.
confirm_tokenNoThe one-time token from the preview. Only use it after the user has said yes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to actually execute. Omit or set false to get a dry-run preview first."New value: +"Set to true together with confirm_token to carry out a request you already previewed."
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "description": "The one-time token from the preview. Only use it after the user has said yes.",
      +  "type": "string"
      +}
  2. Addedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say destructiveHint=false and readOnlyHint=false; the description supplies the crucial extra behavior that nothing in the courses is modified and that a preview/confirm_token handshake is mandatory before the export executes. It does not say whether the archive is produced synchronously or must be polled, which is the main remaining behavioral unknown.

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?

The effect and scope are front-loaded in the first two sentences, and the bracketed confirmation block, while long, carries safety-critical procedure rather than filler. The '[NEEDS CONFIRMATION: ...]' framing is slightly awkward but not wasteful.

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?

For a bulk export with no output schema, the description covers scope, side-effect profile, timing, and the required confirmation workflow, which is what an agent needs to avoid firing the export accidentally. It stops short of explaining whether a finished export must be retrieved via get_content_export and whether any special permission is required.

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 100%, so all three parameters are already documented, and the description's 'or the ones you pick' only lightly reinforces course_ids. The confirmation restatement of confirm/confirm_token adds procedural meaning but nothing about format or constraints beyond the schema baseline.

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 states a specific verb and resource ('package every active course (or the ones you pick) as a downloadable .imscc archive') and names the output format, which the name alone does not convey. It is clear what the tool produces, but it never names its closest sibling, export_course_archive, so an agent must infer the all-vs-single distinction from the tool name.

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?

'Use before the term ends' gives a concrete timing condition, and the confirmation block spells out the exact two-call protocol (preview, then same arguments with confirm=true and the token). No alternative tools are named, so an agent choosing between this and export_course_archive or create_content_export gets no explicit routing.

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

Deploy Server

Other Tools