Skip to main content
Glama

update_assignment

Modify assignment details in a Canvas course, including title, description, due dates, points, grading type, submission types, and peer review options.

Instructions

Update an existing assignment in a course.

    Args:
        course_identifier: Course code or Canvas ID
        assignment_id: Assignment ID to update
        name: New assignment name/title
        description: New HTML description
        submission_types: Comma-separated types (online_text_entry, online_url, online_upload, discussion_topic, none, on_paper, external_tool)
        due_at: New due date in ISO 8601 format
        unlock_at: New available date in ISO 8601 format
        lock_at: New lock date in ISO 8601 format
        points_possible: New maximum points
        grading_type: One of: points, letter_grade, pass_fail, percent, not_graded
        published: Whether to publish the assignment
        assignment_group_id: Assignment group ID to move to
        peer_reviews: Enable peer reviews
        automatic_peer_reviews: Auto-assign peer reviews
        allowed_extensions: Comma-separated file extensions (e.g., "pdf,docx,txt")
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_identifierYes
assignment_idYes
nameNo
descriptionNo
submission_typesNo
due_atNo
unlock_atNo
lock_atNo
points_possibleNo
grading_typeNo
publishedNo
assignment_group_idNo
peer_reviewsNo
automatic_peer_reviewsNo
allowed_extensionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations present, the description must fully disclose behavioral traits. It only states 'Update,' indicating mutation, but omits critical details such as error conditions (e.g., missing assignment), side effects, required permissions, rate limits, or return value structure. This falls short of meaningful transparency.

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 description is front-loaded with the core purpose and uses a structured bullet-like list for parameters, which enhances readability. However, it is somewhat lengthy due to repeating parameter names, and could be slightly more compact. Overall, it is appropriately sized but not maximally concise.

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 15 parameters and the presence of an output schema (not shown), the description adequately covers parameter semantics but omits behavioral context such as what happens when an optional field is omitted or how the updated assignment is returned. While the parameter details are thorough, the overall usage context is incomplete without more on return value and error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the entire burden. It provides concise yet informative descriptions for all 15 parameters, including example values for enums and formats (e.g., 'Comma-separated types (online_text_entry, ...)', 'ISO 8601 format'). This adds substantial meaning beyond the schema's minimal titles.

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 begins with 'Update an existing assignment in a course,' which clearly states the action and resource. This verb+resource specification is specific enough to distinguish from unrelated tools, and there is no ambiguity with siblings like 'create_assignment' since the resource type differs.

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 description implies usage when an assignment needs modifying, but it provides no explicit guidance on when to use this tool versus alternatives, nor does it mention prerequisites or exclusions. While the context is clear, the lack of explicit when/when-not instructions makes it only adequate.

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