Skip to main content
Glama

create_assignment

Create a regular assignment in a Canvas course, configuring due dates, points, instructions, and submission options.

Instructions

Create a new regular assignment in a course. For graded discussions, use create_discussion with points_possible instead. For New Quizzes, use create_new_quiz instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAssignment name
due_atNoDue date (ISO 8601)
lock_atNoAvailable until date (ISO 8601)
positionNoPosition within the group
course_idYesCanvas course ID
publishedNoPublish immediately
unlock_atNoAvailable from date (ISO 8601)
descriptionNoInstructions/description (HTML supported)
points_possibleNoPoint value
submission_typesNoe.g. ['online_text_entry','online_upload','online_url','discussion_topic','external_tool']
assignment_group_idNoAssignment group ID to place it in
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It clarifies the scope (regular assignments only) but does not disclose behavioral traits such as default publication state, permission requirements, or side effects. It is not misleading, but lacks depth beyond the purpose statement.

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 two sentences, front-loaded with the main purpose and followed by concise exclusions. Every word earns its place, with no redundancy or filler.

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?

Given the 11 parameters, full schema coverage, and no output schema, the description provides sufficient context for a basic create operation. It explains the tool's scope and exclusions effectively, though it omits any mention of prerequisites or error behavior. This is acceptable, as the schema covers parameters.

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 the baseline is 3. The description does not add meaning to individual parameters; it only points to alternative tools for other assignment types. The schema fully documents parameter meanings, so no deduction is needed.

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 tool creates a new regular assignment in a course, using a specific verb and resource. It explicitly distinguishes itself from sibling tools by directing graded discussions to create_discussion and New Quizzes to create_new_quiz.

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

Usage Guidelines5/5

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

It provides explicit when-to-use guidance ('Create a new regular assignment in a course') and when-not-to-use guidance with named alternatives for graded discussions and New Quizzes. This leaves no ambiguity about tool selection.

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/hughsibbele/Canvas-Agent'

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