Skip to main content
Glama

canvas_confirm_quiz

Destructive

Confirm an approved Canvas quiz action using its token, then submit the quiz attempt only after confirmation is verified.

Instructions

Apply the exact quiz action after user approval. Completion submits the attempt.

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": {
      "confirmationToken": "<confirmationToken>",
      "confirmed": "<confirmed>"
    },
    "name": "canvas_confirm_quiz"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedYes
confirmationTokenYes

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?

The annotations already declare destructiveHint=true, non-idempotent, and open-world, so the safety profile is partly covered. The description adds real value by disclosing that completion submits the attempt, which is a meaningful consequence beyond the annotations. It still does not say whether the submission is final/irreversible or what happens to an in-progress attempt.

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 short sentences with the effect front-loaded and no filler. The phrase 'exact quiz action' is slightly under-specified rather than verbose, but the structure is efficient.

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?

For a destructive, non-idempotent tool with two undocumented parameters and no output schema, the definition is too thin. It should clarify the confirmationToken's source, the meaning of confirmed=true, and the irreversibility of submission to be safely callable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden for both parameters. It never mentions confirmationToken or confirmed, nor explains that confirmed must be true or where the token comes from. 'After user approval' weakly hints at the token's origin but leaves the parameter contract essentially undocumented.

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?

The description states a specific effect ('Apply the exact quiz action' and 'Completion submits the attempt'), which tells the agent this is the commit/submit step of a quiz flow. 'Exact quiz action' is slightly vague about what action type is being applied, but the submission outcome is concrete enough to distinguish it from read-style siblings.

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

Usage Guidelines3/5

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

It gives a timing condition ('after user approval'), which implies this should only run once approval exists. However, it never names the sibling that produces the approval (e.g., canvas_prepare_quiz) or states when-not to use it, so the agent must infer the prepare/confirm sequence.

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