Skip to main content
Glama

canvas_get_submission

Read-only

Retrieves one Canvas submission—including rubric assessment and grader comments—for a specified course, assignment, and user (defaults to self), enabling review of grades and feedback.

Instructions

Get a single submission with rubric assessment and grader comments. userId defaults to 'self'.

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>",
      "assignmentId": "<assignmentId>"
    },
    "name": "canvas_get_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); "full" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. "full" keeps the HTML.
userIdNo'self' or a numeric Canvas user ID. Defaults to 'self'.
courseIdYes
assignmentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.0
    • changedInput schema / properties / view / description
      Previous value: -"Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs."New value: +"Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs. On compact, the HTML Canvas stores teacher-written text in (message, description, syllabus_body, body, lock_explanation, long_description) comes back as Markdown: lists, tables, emphasis and links kept, styling and hidden text dropped, images as [alt text]. \"full\" keeps the HTML."
  2. Changed1 schema field changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changedv1.5.4
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "Response shape: \"compact\" (default) drops fields the response already carries elsewhere; \"full\" returns every field this server understands. compact removes the avatar URLs Canvas attaches to user objects (avatar_url, avatar_image_url); \"full\" returns Canvas's payload untouched. Link fields (url, html_url, preview_url) survive both rungs. No field projection: this server passes Canvas's payload through verbatim and has no verified record of which of its fields a caller needs.",
      +  "enum": [
      +    "compact",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  4. Addedv1.2.5

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds what the response contains (rubric assessment and grader comments), which is genuinely useful beyond the annotations, but it says nothing about permissions needed to read another user's submission or what happens when no submission exists.

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, front-loaded with the tool's purpose and followed by the one default worth flagging. No filler, though the second sentence is largely redundant with the schema.

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?

No output schema exists, so the description usefully summarizes the return payload (rubric assessment, grader comments), and the read-only annotations cover safety. Remaining gaps — error/empty-submission behavior and permission requirements for reading another user's submission — are modest for a simple single-record getter.

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?

At 50% schema coverage the description should compensate, but its only parameter statement ("userId defaults to 'self'") merely repeats the schema text. The undocumented parameters, courseId and assignmentId, get no clarification; they are self-evident identifiers, which limits the damage, but the description adds essentially no parameter meaning.

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?

"Get a single submission with rubric assessment and grader comments" names a specific verb (get), resource (submission), scope (single), and the extra payload (rubric, comments). That distinguishes it from the sibling list tools such as canvas_list_recent_submissions, though it never names an alternative.

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?

Usage is only implied: the "userId defaults to 'self'" note hints that the tool can fetch either the caller's own submission or another user's. There is no explicit statement of when to prefer this over the list-submission siblings, no note on prerequisites (e.g. enrolment/grader role), and no behavior for missing submissions.

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