Skip to main content
Glama

create_assignment

Create a new assignment in a Canvas course by providing the course ID, assignment name, and optional settings like due date, points, and submission type.

Instructions

Create a new assignment in a course.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAssignment name/title
due_atNoDue date in ISO 8601 format
lock_atNoLock date in ISO 8601 format
publishedNoWhether to publish immediately (default: False)
unlock_atNoAvailable date in ISO 8601 format
descriptionNoHTML description
grading_typeNoOne of: points, letter_grade, pass_fail, percent, not_graded
peer_reviewsNoEnable peer reviews
points_possibleNoMaximum points
submission_typesNoComma-separated types (online_text_entry, online_url, online_upload, discussion_topic, none, on_paper, external_tool)
course_identifierYesCourse code or Canvas ID
allowed_extensionsNoComma-separated file extensions (e.g., "pdf,docx,txt")
assignment_group_idNoAssignment group ID
automatic_peer_reviewsNoAuto-assign peer reviews
Behavior2/5

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

The annotations indicate idempotentHint=false and destructiveHint=false, but the description adds no further behavioral context such as side effects, permission requirements, or consequences of duplicate calls. It simply states the action without elaborating on what happens upon creation.

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 a single, clear sentence with no unnecessary words. It is well-structured and directly to the point, making it easy to parse.

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

Completeness2/5

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

Given the tool's complexity (14 parameters, many optional), the description does not explain the effects of omitted parameters, default behaviors, or how the assignment interacts with other course elements. It lacks context about the impact of setting fields like 'published' or 'grading_type', leaving the user without enough information to anticipate outcomes.

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?

The schema provides descriptions for all 14 parameters (100% coverage), so the baseline is 3. The tool description does not add any clarification beyond the schema's own terse parameter descriptions, leaving the meaning of fields like 'assignment_group_id' or 'allowed_extensions' to the user's interpretation.

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 the action: 'Create a new assignment in a course.' It specifies the resource (assignment) and the context (course), distinguishing it from other tools like 'update_assignment' or 'create_discussion_topic'.

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

Usage Guidelines1/5

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

The description provides no guidance on when to use this tool versus alternatives such as 'update_assignment' or 'create_announcement'. It does not mention any prerequisites, typical scenarios, or conditions that would make this the appropriate choice.

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

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