Skip to main content
Glama

Set Student New Quiz Accommodation

set_student_new_quiz_accommodation
Destructive

Apply extra time or attempts to a student's New Quizzes in a Canvas course, targeting all quizzes or a specific subset with a time multiplier and additional attempts.

Instructions

Apply a time and/or attempts accommodation for a student across all New Quizzes in a course (course-level, single Canvas API call when no assignment_ids are given) or for a specified subset of New Quizzes (per-quiz fan-out when assignment_ids are given). New Quizzes use a time_multiplier (ratio, e.g. 1.5 for 1.5× time), not absolute minutes. For Classic Quizzes (quiz_type: assignment / practice_quiz / etc.) use set_student_quiz_accommodation instead. Partial per-quiz failures are tolerated — a failure on one quiz does not abort the rest. In per-quiz mode, fan-out is sequential (one Canvas API call per assignment ID, awaited in series). Canvas errors on the course-level path (no assignment_ids) propagate as a top-level error (no envelope). Returns a uniform envelope: scope ("course" or "per_quiz"), applied[], failed[], and summary. 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
course_idYesCanvas course ID
assignment_idsNoLimit accommodation to these specific New Quiz assignment IDs. Omit to apply a course-level accommodation (covers all New Quizzes in the course with a single Canvas API call). When provided, fans out one call per assignment ID.
extra_attemptsNoAdditional attempts to grant beyond each quiz's default attempt limit.
time_multiplierNoTime multiplier for New Quizzes (e.g. 1.5 for 1.5× time, 2.0 for double time). This is the native New Quizzes field; Canvas applies it to each quiz's time limit. Must be > 1.0. Mutually exclusive with nothing — can be combined with extra_attempts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.18.11
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv1.18.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations include destructiveHint: true and openWorldHint: true, which already signal mutating and broad effects. The description goes beyond by explaining behavior: course-level is a single API call, per-quiz fans out sequentially, partial failures are tolerated, and Canvas errors on the course-level path propagate as top-level errors without an envelope. It also discloses the return envelope structure. The only minor gap is not detailing what happens to existing accommodations (overwrite? merge?), but the provided details are substantial.

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 information-dense but well-organized, front-loading the core purpose and scope. It uses clear segmentation (course-level vs per-quiz, Classic vs New) and keeps sentences purposeful. Slightly long but each sentence contributes necessary detail; no redundancy.

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?

Given the tool's complexity (two modes, error handling, envelope), the description covers critical operational details: fan-out behavior, failure tolerance, error propagation, envelope shape, user_id resolution, and differentiation from Classic Quizzes. With a 100% schema and no output schema, this is complete enough for an agent to call correctly. Minor missing details like exact response fields for failed[] are not essential.

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 coverage is 100%, so parameters are already documented. The description adds significant value by explaining the time_multiplier is a ratio (e.g., 1.5 for 1.5×), clarifying that extra_attempts is additional attempts beyond default, and the meaning of omitting assignment_ids (course-level). It also adds clarification that time_multiplier must be >1.0. This goes beyond schema descriptions.

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 a time and/or attempts accommodation for students across New Quizzes. It distinguishes between course-level and per-quiz modes h, explicitly names the sibling tool (set_student_quiz_accommodation) for Classic Quizzes, and specifies the target resource (New Quizzes). This makes the purpose unmistakable and separates it from the Classic Quiz sibling.

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 provides explicit when-to-use (New Quizzes) and when-not-to-use (Classic Quizzes, directing to set_student_quiz_accommodation). It explains the two modes (course-level vs per-quiz with assignment_ids) and even a prerequisite (resolve_pseudonym if pseudonymization is enabled). This is exceptionally clear guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools