Skip to main content
Glama

Get Content Export

get_content_export
Read-only

Check a content export's status and fetch the time-limited download URL once the export completes. Solves the problem of waiting for and retrieving finished export files.

Instructions

Get the status of a content export. When workflow_state is "exported", attachment.url contains a time-limited download link — download it promptly, as the URL expires (re-fetch to get a fresh one). Returns attachment: null while still "created"/"exporting" or on "failed".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesThe Canvas course ID
export_idYesThe export ID returned by create_content_export
Behavior4/5

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

Even though annotations already mark readOnlyHint=true and openWorldHint=true, the description adds valuable context: the work flow states, URL expiry and the need to re-fetch, and the null attachment behavior. This goes beyond the annotations and helps the agent understand transient behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, two sentences, with the core purpose front-loaded. It efficiently covers the essential behavior without unnecessary verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a status-checking tool, the description fully covers the relevant behavior: the states, the download link, expiry handling, and null attachment cases. With no output schema, the description explains what to expect, making it complete for the tool's complexity.

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%, with both parameters (course_id and export_id) fully described in the schema. The description adds no new parameter-level information; it only mentions the export ID's source, which is already in the schema. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Get the status of a content export' which specifies the verb and resource. It also distinguishes from siblings like list_content_exports (which lists exports) and create_content_export (which creates them) by focusing on a single export's status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied through the mention of 'export ID returned by create_content_export' in the schema, but the description doesn't explicitly state when to use this versus alternatives like list_content_exports. It doesn't specify preconditions or exclusions, so guidance is not explicit.

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

Install Server

Other Tools

Latest Blog Posts

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/bruchris/canvas-lms-mcp'

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