Skip to main content
Glama

set_student_quiz_accommodation

Destructive

Apply extra time and/or extra attempts to a specific student across all or selected Classic Quizzes in a Canvas course.

Instructions

Apply extra time and/or extra attempts to a specific student across all Classic Quizzes in a course (or a specified subset). Fans out to the Canvas quiz extensions API for each quiz. New Quizzes (quiz_type quizzes.next) are skipped — use set_student_new_quiz_accommodation instead. Only applies to quizzes that exist at call time; re-run after creating new quizzes. Assignment due-date overrides are not handled here (separate fast-follow feature). Note: for courses with many quizzes this makes one Canvas API call per quiz. Partial failures are tolerated — a failure on one quiz does not abort the rest. Returns the standard fan-out envelope: separated applied[], skipped[] (each with a skip_reason), and failed[] (each with an error) arrays, a not_found list of any requested quiz_ids absent from the course, and a summary of counts. Provide user_id as the real Canvas user ID. If CANVAS_PSEUDONYMIZE_STUDENTS is enabled, call resolve_pseudonym first to obtain the real user_id from a pseudonym.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesReal Canvas user ID of the student to accommodate
quiz_idsNoLimit accommodation to these specific quiz IDs. Omit to target all Classic Quizzes in the course.
course_idYesCanvas course ID
extra_attemptsNoAdditional attempts to grant beyond the quiz default.
time_multiplierNoRelative time multiplier (e.g. 1.5 for 1.5× time). extra_minutes = round(quiz.time_limit * (multiplier - 1)), minimum 1 minute. Quizzes with no time limit are skipped for extra_time (extra_attempts is still applied if provided). Mutually exclusive with extra_time_minutes.
extra_time_minutesNoAbsolute extra time in minutes to add to each quiz. Mutually exclusive with time_multiplier.
Behavior5/5

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

Annotations indicate destructive action, and description adds critical behavioral details: partial failures tolerated, fan-out pattern, return structure, and handling of time_limit-less quizzes. These go beyond what annotations provide.

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?

Description is a single paragraph but well-organized, starting with purpose then scope, behavior, returns, and parameter notes. Every sentence adds value, though could be slightly more structured (e.g., bullet points) for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 params, no output schema), the description covers all essential aspects: what, when, how, errors, performance, and parameter details. It is fully self-contained for an agent to use correctly.

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?

Schema has 100% coverage, so baseline is 3. Description adds value by explaining parameter interdependencies (mutual exclusivity of time parameters), the formula for extra_time_minutes, and the requirement for real user ID vs pseudonym.

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 applies extra time and/or attempts to a student across Classic Quizzes, with optional quiz subset. It uses specific verbs and resources, and distinguishes from the sibling tool set_student_new_quiz_accommodation.

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?

Provides explicit when-to-use and when-not-to-use: skips New Quizzes and directs to sibling tool. Mentions re-running after creating new quizzes, and that due-date overrides are separate. Also advises calling resolve_pseudonym if needed.

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