Skip to main content
Glama

get_upcoming_assignments

Retrieve assignments due within a specified number of days, including status, required student actions, submission platform, and completion, to build accurate to-do lists.

Instructions

Assignments due in the next N days. Each has state (graded, graded_hidden, submitted_ungraded, missing, past_due_unknown, upcoming), requires_student_action (true/false/null = unknown), requires_canvas_submission, submission_platform (canvas, gradescope, prairielearn, google form, ...) and completion (done/not_done/unknown). Work outside Canvas has completion 'unknown': do not drop it from to-do lists.

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_upcoming_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
courseNoCourse id, code (e.g. 'CHEM 343', 'CS 252') or part of its name
include_otherNoAlso include non-credit shells (trainings, advising)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It compensates well on return semantics — enumerating state, requires_student_action (null = unknown), submission_platform, completion — and warns that non-Canvas work reports 'unknown'. It says nothing about ordering, whether overdue items are included, or pagination/limits.

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?

Three tight sentences, front-loaded with scope, then the field contract, then a usage caveat. Dense but every clause carries information; the field inventory could be trimmed slightly since it reads like schema documentation.

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?

With no output schema and no annotations, the description takes on documenting the return shape and does so usefully, including enum values and the unknown-completion trap. Gaps are minor: result ordering and whether past-due items are included are unstated.

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 67% and the schema already documents 'course' and 'include_other'. The description only reinforces the 'days' window ('next N days') and adds nothing about the maximum of 120 or what course matching accepts, so it adds little beyond the structured fields.

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 resource and scope: 'Assignments due in the next N days.' An agent can tell this is a deadline-window lookup rather than a search or grade fetch. It doesn't explicitly contrast with get_missing_assignments, though the 'state: missing' field suggests overlap.

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 guidance is implied rather than stated — the description ends with a directive about to-do lists ('do not drop it from to-do lists'), which shapes downstream use but doesn't say when to pick this tool over get_missing_assignments or get_calendar. No exclusions or prerequisites are given.

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