Skip to main content
Glama

Assignments

get_assignments
Read-onlyIdempotent

Retrieve assignment details, due dates, submissions, scores, rubrics, and linked files from Canvas, or list assignments for one or all current courses.

Instructions

Assignment details: instructions, points, due/unlock/lock dates (with the student's own override), submission types, the student's submission, score, comments, rubric, and the files/pages/links it points to (with the calls that read them). With itemId: one assignment in full. Without: a compact list for a course (or all current courses). New Quizzes and external-tool assignments are reported as "details not exposed" with where the real prompt likely lives.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemIdNoAssignment id, or "quiz:<id>" for a practice quiz/survey
offsetNoContinue long instructions from this character offset
courseIdNo
includePastNo
includeSubmissionStatusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so the safety profile is covered. The description adds real behavioral context the annotations cannot: New Quizzes and external-tool assignments come back as 'details not exposed' with a pointer to where the real prompt lives, and the per-student override is applied to dates. It does not describe truncation/pagination behavior for long instruction fields, which is a modest remaining gap.

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?

Front-loaded with a label and a dense field inventory, then the two modes, then the caveat about non-exposed assignment types — a sensible order with little filler. The nested parentheticals ('(with the student's own override)', '(with the calls that read them)') make it slightly harder to scan than necessary, keeping it below the top mark.

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?

There is no output schema, so the description correctly spends its length enumerating return contents, including the rubric, comments, and linked resources. Combined with the disclosed New Quizzes/external-tool limitation, an agent can predict the shape of a response; only the two boolean flags and long-instruction truncation handling remain unexplained.

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 40%, so the description needs to compensate and only partly does. It clarifies itemId ('one assignment in full') and courseId ('a course, or all current courses'), but says nothing about includePast or includeSubmissionStatus (default true), which are undocumented in both places and directly change what the agent receives.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (assignments) and enumerates exactly what it returns: instructions, points, dates with per-student overrides, submission, score, comments, rubric, and linked files. The two operating modes (with itemId = one assignment in full; without = compact list for a course or all current courses) let an agent distinguish it from siblings like get_deadlines or get_grades without opening the schema.

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?

Explicitly gates behavior on itemId, telling the agent which form to call for a single item versus a course-level list. It also signals that linked files/pages/links come with 'the calls that read them,' implicitly routing to the reader tools. It stops short of naming exclusions against get_deadlines or get_grades, so it is clear context rather than full when/when-not guidance.

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