Skip to main content
Glama

update_assignment

DestructiveIdempotent

Update an existing assignment's name, description, points, due date, submission types, or assignment group in a Canvas course.

Instructions

Update an existing assignment in a course.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_idYesThe Canvas course ID
assignment_idYesThe Canvas assignment ID
nameNoNew assignment name
descriptionNoNew assignment description (HTML supported)
points_possibleNoNew maximum points
due_atNoNew due date in ISO 8601 format (e.g. 2026-05-01T23:59:00Z)
submission_typesNoNew allowed submission types
assignment_group_idNoNew assignment group ID
Behavior3/5

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

Description adds no behavioral details beyond annotations. Annotations indicate destructive (modifying existing data), idempotent, and open world, but description could clarify partial update behavior or return values. No contradiction.

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?

Single sentence, no wasted words. While concise, it could be expanded with usage notes without losing clarity.

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?

Tool has 8 parameters, no output schema, and is a mutation. Description is too brief—lacks mention that only specified fields are updated (partial update), what the response is, or any side effects.

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% and all parameters are documented. Description does not add additional meaning beyond what schema provides, meeting baseline for high coverage.

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?

Description clearly states 'Update an existing assignment in a course', specifying the verb (update) and resource (assignment) with context. Distinct from sibling tools like create_assignment or delete_assignment.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like create_assignment or delete_assignment. Does not mention prerequisites (e.g., assignment must exist) or when not to use.

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