Skip to main content
Glama

Submit Annotation Assignment

submit_annotation_assignment
Destructive

Submit a Canvas student-annotation assignment after marking up the document in Canvas; preview the submission and confirm before sending.

Instructions

Hand in a student-annotation assignment (where you mark up a document inside Canvas). Do the annotating in Canvas first; this submits what is there. [NEEDS CONFIRMATION: call it once for a preview and a confirm_token, show the preview to the user, and only if they say yes call it again with the same arguments, confirm=true and that confirm_token. Apps that can ask the user directly show a confirmation instead.]

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": {
      "course_id": "<course_id>",
      "assignment_id": "<assignment_id>"
    },
    "name": "submit_annotation_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoComment text, visible to your instructor.
confirmNoSet to true together with confirm_token to carry out a request you already previewed.
course_idYesCanvas course ID, a numeric string such as "12345". Get it from list_courses.
assignment_idYesAssignment ID (numeric string). Get it from list_assignments or list_upcoming_assignments.
confirm_tokenNoThe one-time token from the preview. Only use it after the user has said yes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true to actually execute. Omit or set false to get a dry-run preview first."New value: +"Set to true together with confirm_token to carry out a request you already previewed."
    • addedInput schema / properties / confirm_token
      Added value: +{
      +  "description": "The one-time token from the preview. Only use it after the user has said yes.",
      +  "type": "string"
      +}
  2. Addedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructive=true, idempotent=false and openWorld=true, so the safety profile is known; the description adds the non-obvious two-step preview/confirm_token protocol and the note that apps able to prompt the user may show a confirmation instead. That is real behavioral value beyond the annotations. It stops short of saying the submission is final or whether it can be withdrawn, which matters for a destructive hand-in.

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

Conciseness3/5

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

The core purpose sentence is front-loaded and clean, but the bracketed "[NEEDS CONFIRMATION: ...]" block reads like an unresolved editorial marker rather than tool documentation, which hurts structure and could confuse an agent about whether it is a directive. The content inside it is useful; its packaging is not.

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?

For a five-parameter mutation tool with no output schema, the definition covers the purpose, the Canvas precondition, and the full confirmation loop, which is most of what an agent needs. It does not state what the tool returns or whether a previous submission is replaced, a moderate gap given destructiveHint.

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 coverage is 100%, so every parameter including confirm and confirm_token is already documented in structured fields, and the baseline of 3 applies. The description reinforces the workflow (same arguments, confirm=true, plus the token) but adds no format or constraint detail the schema lacks.

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?

"Hand in a student-annotation assignment (where you mark up a document inside Canvas)" gives a specific verb plus a resource that is clearly distinct from the sibling text/url/file submit tools. The parenthetical defines the submission type precisely enough that an agent can tell it apart from submit_assignment_file or submit_assignment_text, though it never names those siblings as alternatives.

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?

"Do the annotating in Canvas first; this submits what is there" is a genuine precondition that tells the agent this tool cannot create annotations itself. The confirmation protocol further constrains when to call it. What is missing is any explicit routing to the sibling submit tools for other assignment types.

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