Skip to main content
Glama

Create Assignment Override

create_assignment_override
Destructive

Set custom due, unlock, or lock dates for an assignment for specific students, a course section, or a group, leaving unspecified dates unchanged.

Instructions

Create a due-date / availability override for a specific assignment, targeting a set of students, a course section, or a group. Exactly one of student_ids, course_section_id, or group_id must be provided. At least one date field (due_at, unlock_at, lock_at) should be provided; omit a date field to leave the corresponding date unchanged for the override target. Dates must be ISO 8601 strings (e.g. "2026-09-15T23:59:00Z"). Canvas returns a 422 if a student-set override already exists for the same students on this assignment — use list_assignment_overrides to audit first. Provide student_ids as real Canvas user IDs. If CANVAS_PSEUDONYMIZE_STUDENTS is enabled, call resolve_pseudonym first to resolve pseudonyms to real user IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoHuman-readable label for this override (e.g. "Disability accommodation — Jane D").
due_atNoNew due date in ISO 8601 format. Pass null to remove the due date for this target.
lock_atNoAvailability close date in ISO 8601 format. Pass null to remove.
group_idNoID of the group to override. Mutually exclusive with student_ids and course_section_id.
course_idYesCanvas course ID
unlock_atNoAvailability open date in ISO 8601 format. Pass null to remove.
student_idsNoReal Canvas user IDs to grant the override to. Mutually exclusive with course_section_id and group_id.
assignment_idYesCanvas assignment ID
course_section_idNoID of the course section to override. Mutually exclusive with student_ids and group_id.
Behavior4/5

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

Annotations already provide openWorldHint and destructiveHint; the description enriches this with the 422 conflict behavior, the omit-a-date-to-leave-unchanged semantics, and the pseudonym gotcha. However, given destructiveHint is true, it would be helpful to explain what makes this destructive, and no contradiction exists, just a modest gap.

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?

At roughly 110 words across 6 sentences, the description is dense but every sentence earns its place, covering purpose, constraints, error behavior, and a configuration caveat. It's effectively front-loaded with the core purpose and would only be slightly improved by trimming.

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?

For a complex 9-parameter tool with no output schema, the description covers the critical ground: target selection, date constraints, format, an error case, and an environment-conditional prerequisite. Minor gaps remain — return behavior is unspecified (no output schema note) and the destructiveHint flagged in annotations is unaddressed.

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

Parameters4/5

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

User-schema description coverage is 100%, so the baseline is 3. The description adds meaningful cross-parameter constraints not in the schema: the exact-one-target and at-least-one-date rules, the ISO 8601 format with example, and the 'omit to leave unchanged' date semantics. This goes beyond what the schema states.

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 first sentence, 'Create a due-date / availability override for a specific assignment, targeting a set of students, a course section, or a group,' uses a specific verb+resource and clearly scopes the target types. This distinguishes it from nearby siblings like list_assignment_overrides and set_student_assignment_dates.

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?

The description gives explicit usage rules: mutual exclusivity ('Exactly one of student_ids, course_section_id, or group_id must be provided'), the required date-field constraint, an explicit alternative ('use list_assignment_overrides to audit first'), and a conditional prerequisite ('If CANVAS_PSEUDONYMIZE_STUDENTS is enabled, call resolve_pseudonym first'). This is exemplary when-to-use guidance.

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