Skip to main content
Glama

canvas_prepare_quiz

Read-onlyIdempotent

Preview starting a Classic Quiz, saving question answers, or finishing an attempt before changes are sent for approval.

Instructions

Preview starting a Classic Quiz, saving the specified question answers, or finishing the current attempt. Starting may use an attempt and start a timer. Answer values follow the Canvas question type.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "courseId": "<courseId>",
      "quizId": "<quizId>",
      "action": "<action>"
    },
    "name": "canvas_prepare_quiz"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
quizIdYes
answersNo
courseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Goes beyond the annotations by warning that starting may consume an attempt and begin a timer, which is exactly the kind of consequence an agent needs. However, it never resolves whether those side effects occur on this call or only after confirmation, and that ambiguity is material for a tool annotated readOnlyHint=true and idempotentHint=true.

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?

Two dense sentences, front-loaded with the three supported operations, with no filler. Slightly under-specified rather than over-written, so the brevity is close to optimal for the space used.

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?

With four parameters, no output schema, and zero schema coverage, the description should say what a 'preview' returns and whether a follow-up confirmation is required. Neither is present, so an agent cannot tell what it will get back or what the next step is.

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 0%, and courseId/quizId are undocumented in both places (though their numeric-string pattern and names are self-evident). The one genuinely valuable addition is 'Answer values follow the Canvas question type', which explains the otherwise opaque free-form anyOf in the answers schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (Classic Quiz attempt) and enumerates the three modes it covers (start / answer / finish), matching the action enum. The word 'Preview' at the front qualifies all three, which is informative but leaves the reader unsure whether 'start' actually starts or merely simulates starting.

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 choose this tool over the sibling canvas_confirm_quiz, nor on the expected prepare-then-confirm sequence. It also does not say when to pick 'answer' versus 'finish', so the agent must infer the workflow from the action enum alone.

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