Skip to main content
Glama

Get assignment

canvas_get_assignment
Read-only

Retrieves full details for a Canvas assignment, including its description, rubric, and your submission score, teacher comments, and rubric assessment.

Instructions

Full details of one assignment: the description as text, the rubric (criteria, rating levels, points) if it has one, and, as a student, your submission with score, teacher comments and your rubric assessment per criterion.

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": "canvas_get_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYes
assignment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. Beyond that, the description adds genuinely non-obvious behavior: the returned content is role-dependent, including rubric and per-criterion assessment only where a rubric exists and submission data only when the caller is a student. It stops short of stating permission requirements or behavior when the assignment has no rubric or the user is a teacher.

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 sentence, front-loaded with the core purpose and then the payload contents, with no filler. It is somewhat run-on due to nested clauses about rubric and submission, but every clause carries information.

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?

Because there is no output schema, the description carries the burden of describing return values, and it does so adequately at a high level. However, for a two-parameter lookup tool it leaves the identifier semantics and the prerequisite listing step unaddressed, so an agent still has gaps to resolve before calling it.

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 both course_id and assignment_id are bare strings with no documentation in the schema. The description says nothing about their format, whether course_id accepts a Canvas id vs SIS id, or how to discover assignment_id, so it fails to compensate for the coverage gap.

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 (get one assignment's full details) and enumerates the payload: description text, rubric criteria/rating levels/points, and the student's submission with score and comments. The singular-scope framing implicitly separates it from canvas_list_assignments, though the sibling is never named.

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: an agent can infer this is the detail fetch for a single assignment after listing, but the description never says to obtain assignment_id from canvas_list_assignments first, nor when to prefer this over canvas_get_grades or canvas_api_get. The role-conditional clause ('as a student, your submission') hints at context but is not framed as guidance.

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