Skip to main content
Glama

Get Upcoming Due Dates

get_upcoming

Retrieves upcoming calendar events and due dates for a course, including assignments, quizzes, and exams. Answers questions about deadlines within a specified number of days.

Instructions

Get upcoming calendar events and due dates (assignments, quizzes, exams) for a course. Use to answer: "What is due this week?", "When is the next deadline?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
courseIdYesThe course org unit (ou) ID from list_courses, e.g. 123456
daysAheadNoHow many days ahead to look (default 30)
Behavior3/5

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

No annotations exist, so the description must fully disclose behavior. It specifies the resource (upcoming calendar events and due dates) and implies read-only access, but does not mention edge cases (e.g., if no events exist), output ordering, or any side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences achieve multiple goals: stating purpose, giving use case examples, and being front-loaded. No unnecessary words.

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?

The description is adequate for a simple list tool, but lacks details about return format, sorting, and whether it includes all event types. Given no output schema, more specificity would improve completeness.

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% with descriptions for both parameters. The tool description adds no additional meaning beyond the schema (e.g., courseId is already explained as 'ou ID from list_courses'). 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?

The description clearly states it gets upcoming calendar events and due dates for a course, with specific example questions. This distinguishes it from siblings like get_announcements (announcements) and get_grades (grades).

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?

The description provides concrete example queries ('What is due this week?', 'When is the next deadline?') that indicate when to use the tool. However, it does not explicitly exclude scenarios or contrast with alternatives, which would be helpful.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/petersenmatthew/waterloo-learn-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server