Skip to main content
Glama

update_assignment

DestructiveIdempotent

Modify an existing Canvas assignment by updating its title, due date, points, grading type, submission settings, or availability. Specify the course and assignment ID to apply changes.

Instructions

Update an existing assignment in a course.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew assignment name/title
due_atNoNew due date in ISO 8601 format
lock_atNoNew lock date in ISO 8601 format
publishedNoWhether to publish the assignment
unlock_atNoNew available date in ISO 8601 format
descriptionNoNew HTML description
grading_typeNoOne of: points, letter_grade, pass_fail, percent, not_graded
peer_reviewsNoEnable peer reviews
assignment_idYesAssignment ID to update
points_possibleNoNew maximum 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 to move to
automatic_peer_reviewsNoAuto-assign peer reviews
Behavior3/5

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

The annotations already declare idempotentHint=true and destructiveHint=true, which covers safety and mutation expectations. The description adds the precondition that the assignment must already exist, but it does not describe overwrite/null semantics, response behavior, or other operational details beyond the annotations.

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 one short, front-loaded sentence with no filler, repetition, or extraneous detail. Every word contributes to identifying the tool's purpose.

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?

Given the rich 15-parameter schema and clear annotations, the tool is reasonably invocable. However, with no output schema and no mention of partial-update behavior, null-field handling, or return value, the description alone is not fully complete for a complex mutation tool.

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 every parameter is already documented with meaningful descriptions. The tool description itself adds no parameter-level meaning, which is acceptable given the schema's completeness.

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 ('Update'), the target ('an existing assignment'), and the scope ('in a course'). This distinguishes it from create_assignment, list_assignments, and get_assignment_details without ambiguity.

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?

The word 'existing' implies the tool is for modifying already-created assignments rather than creating new ones, but it does not explicitly mention alternatives or state when this should be preferred over create_assignment. Some usage context is implied, not fully specified.

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