Skip to main content
Glama

Deadlines

get_deadlines
Read-onlyIdempotent

Retrieve upcoming Canvas assignments, quizzes, discussions, and planner items across courses, sorted by due date with submission status and a 48-hour due-soon summary.

Instructions

Everything due soon across the student's courses (or one course): assignments, quizzes, graded discussions, page to-dos and planner notes, merged and sorted soonest first, with status (submitted, missing, graded...), per-student override dates, a one-line summary, dueSoon (unsubmitted within 48h, with the calls that fetch its instructions and sheets), savedExams, and textMentions (work set only in announcements, unverified). Use for "what should I do tonight", "am I behind", "what's coming up".

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

Input Schema

NameRequiredDescriptionDefault
courseIdNoLimit to one course (from get_my_courses)
daysBackNo
daysAheadNo
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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds genuine beyond-annotation context: results are merged and sorted soonest-first, per-student override dates are applied, dueSoon is defined as unsubmitted within 48h and cross-references the calls that fetch instructions/sheets, and textMentions is flagged as unverified — a useful reliability caveat. It does not explain how the lookback/lookahead windows bound the result set, so it isn't fully transparent.

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?

The purpose and scope are front-loaded in the first clause, and the final sentence is a compact set of trigger phrases. The middle enumeration is long and run-on (statuses, override dates, summary, dueSoon, savedExams, textMentions), but each element conveys distinct output content rather than padding.

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 takes on the burden of describing the return payload and does so in detail (statuses, override dates, summary line, dueSoon, savedExams, textMentions). What's missing is the time-window mechanics of daysBack/daysAhead, which materially affect what an agent should expect back.

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 only 25% (only courseId is documented in the schema), so the description must carry more weight. It does clarify course scoping ("or one course") and that submission status is part of the output, but the two most consequential parameters — daysBack (default 7) and daysAhead (default 14) — are never explained, leaving the agent to guess how far back/forward results extend.

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?

The description names a concrete resource with explicit scope ("Everything due soon across the student's courses (or one course)") and enumerates the item types it aggregates — assignments, quizzes, graded discussions, page to-dos, planner notes — plus merge/sort order. This distinguishes it from single-resource siblings like get_assignments or get_discussions without needing their schemas.

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?

It gives concrete use-case triggers in the user's own phrasing ("what should I do tonight", "am I behind", "what's coming up"), which is strong positive guidance. It stops short of stating when NOT to use it or naming an alternative tool (e.g., get_assignments) for narrower needs, so no exclusions are provided.

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