Skip to main content
Glama

update_quiz_item

Modify existing New Quiz questions by updating specific fields like text, choices, or correct answer IDs. Ideal for assigning correct answers after question creation.

Instructions

Update an existing question (item) in a New Quiz. Only include fields you want to change. Commonly used after create_quiz_item to set the correct answer IDs in scoring_data once the choice IDs are known.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoQuestion title
item_idYesThe quiz item ID to update
positionNoPosition in the quiz
course_idYesCanvas course ID
item_bodyNoQuestion text/prompt (HTML)
scoring_dataNoUpdated correct answer data
assignment_idYesThe assignment ID of the New Quiz
points_possibleNoPoint value
feedback_neutralNoUpdated feedback text (HTML)
interaction_dataNoUpdated choices/answers structure
interaction_typeNoQuestion type
Behavior4/5

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

With no annotations provided, the description must carry the full burden. It discloses critical behavior: 'Only include fields you want to change' indicates a partial update (PATCH) semantics, preserving omitted fields. It also explains the timing for scoring_data updates. It does not cover return values or permissions, but the core mutational behavior is well conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the primary purpose, and directly addresses usage. The second sentence packs important behavioral and workflow details without unnecessary words. Every sentence earns its place, making it highly concise and well-structured.

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?

The tool has 11 parameters, nested objects, no output schema, and no annotations. The description covers the primary use case and the most important behavioral nuance (partial update), and it leverages the schema's comprehensive parameter descriptions for the rest. It doesn't explain interactions between scoring_data and interaction_data or edge cases, but for a typical update flow it is reasonably complete.

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?

The input schema already describes all 11 parameters (100% coverage), so the baseline is 3. The description adds value by specifically highlighting the role of scoring_data in the create-then-update workflow and clarifying that only included fields are changed. This goes beyond the schema's generic descriptions, justifying a 4.

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 'Update an existing question (item) in a New Quiz', which combines a specific verb (update) with a specific resource (question in a New Quiz). This distinguishes it from sibling tools like create_quiz_item, delete_quiz_item, and get_quiz_item. It also adds the key detail that only included fields are changed, reinforcing the update purpose.

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

Usage Guidelines4/5

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

The description gives explicit usage context: 'Commonly used after create_quiz_item to set the correct answer IDs in scoring_data once the choice IDs are known.' This prescribes a workflow and indicates when to use this tool relative to creation. It lacks explicit exclusions or mention of alternatives, but the provided scenario is detailed and actionable.

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/hughsibbele/Canvas-Agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server