Skip to main content
Glama

canvas_submit_file_assignment

Submit previously uploaded files as a Canvas assignment submission by providing course ID, assignment ID, and file IDs.

Instructions

Submit a previously uploaded file as an assignment submission.

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>",
      "file_ids": "<file_ids>"
    },
    "name": "canvas_submit_file_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idsYesArray of file IDs (from canvas_upload_file) to submit
course_idYesThe Canvas course ID
assignment_idYesThe assignment ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutation tool. It discloses only that the file must already be uploaded; it says nothing about what happens to a prior submission, whether this consumes an attempt, what permissions or enrollment are required, or whether the action is reversible. That is a substantial gap for an irreversible-looking grading-adjacent write.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity is partly the source of the missing behavioral detail rather than a deliberate trade-off.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-required-parameter mutation with no annotations and no output schema, the description covers the core action and the upload prerequisite but omits return behavior (does it return a submission object or confirmation?) and the mutation semantics. Adequate as a minimum, but an agent still lacks what it needs to predict the outcome.

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 100%, so course_id, assignment_id, and file_ids are all documented in the schema, including the pointer to canvas_upload_file for file IDs. The description adds no syntax, format, or constraint detail beyond what the schema already states, so the baseline of 3 applies.

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?

States a specific verb and resource ('Submit ... as an assignment submission') and narrows it to file-based submissions, which implicitly separates it from the generic canvas_submit_assignment sibling. It stops short of naming that sibling or stating the contrast explicitly, so an agent must infer the distinction from the word 'file'.

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?

The phrase 'previously uploaded file' encodes a prerequisite: the file must already exist in Canvas via canvas_upload_file, and the schema reinforces this by pointing file_ids at that tool. There is no explicit guidance on when to choose this over canvas_submit_assignment (text/URL submission), no mention of deadlines, attempt limits, or whether resubmission is allowed.

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