Skip to main content
Glama
D2L BrightSpace MCP

D2L BrightSpace MCP

Get Upcoming Due Dates

get_upcoming_due_dates
Read-only

Retrieve upcoming assignment due dates across all courses with submission status, filtered by course or days ahead, to identify deadlines and plan work.

Instructions

Upcoming due dates across all courses, with whether each assignment is already submitted (submissionStatus: submitted, graded, draft, not_submitted, not_open_yet, closed, past_due, restricted, unknown). Dates are UTC ISO strings; convert to the user's local time. Use for deadlines, what's due and date ranges, in date order. Pass course with a name or code to filter without looking up an ID. For advice on what to do first, use get_todo instead. Example: "What's due next week?"

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

Input Schema

NameRequiredDescriptionDefault
courseNoCourse name or code to look up, for example "CS 101". Use this instead of courseId when you know the name.
courseIdNoFilter to a specific course ID
daysAheadNoNumber of days ahead to look for due dates

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.8
    • addedInput schema / properties / course
      Added value: +{
      +  "description": "Course name or code to look up, for example \"CS 101\". Use this instead of courseId when you know the name.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), and the description adds real value on top: the full submissionStatus vocabulary, UTC ISO date semantics with an instruction to convert to local time, and that results come back in date order. It does not mention result caps or pagination, which is the 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 scope, then status vocabulary, then time/ordering semantics, then routing to the sibling, then an example — a sensible priority order. The long parenthetical enum list is dense but earns its place since there is no output schema to declare those values.

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, the description usefully characterizes the return values (status field, UTC ISO dates, date-ordered). For a read-only, 3-param list tool this is close to complete; only result limits and behavior when no courses match 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 100%, so all three parameters are already documented with defaults and bounds. The description reinforces the course-vs-courseId choice ('Pass course with a name or code to filter without looking up an ID'), which adds slight practical guidance but little beyond the schema text. Baseline 3 is appropriate.

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 verb and resource ('Upcoming due dates across all courses') plus the distinguishing payload: submission status per assignment. It separates itself from get_assignments (which lists assignments) and get_todo (which prioritizes) without requiring the agent to open a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit use cases ('deadlines, what's due and date ranges'), an explicit routing rule ('For advice on what to do first, use get_todo instead'), and a worked example query. It also tells the agent it can pass a course name/code to avoid an ID lookup.

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