Skip to main content
Glama

Upcoming homework

get_upcoming_homework

Retrieves upcoming and overdue homework for current-semester courses or a specific course, including items due within a set window and open tasks without due dates, sorted by due date.

Instructions

Homework across all current-semester courses (or one course) that still needs action: items due within the next N days, overdue items not yet submitted, and open items with no due date. Sorted by due date.

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

Input Schema

NameRequiredDescriptionDefault
daysNoLook-ahead window in days. Default 14.
courseIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does add real behavioral context beyond the schema: filtering rules, the definition of "needs action", and due-date sorting. It omits result caps, pagination, and whether submission state is authoritative, which matter for a tool returning a potentially long list.

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?

A single sentence that front-loads the resource and scope, then enumerates inclusion rules and the sort order. Dense and free of filler, though the parenthetical "(or one course)" is slightly awkward where it sits.

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?

With only two optional parameters and no output schema, the description covers the essentials: what is returned, how it is filtered, and how it is ordered. It is not fully complete for a list-returning tool because nothing addresses volume, limits, or the shape of each homework item.

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 50%: days is documented in the schema, courseId is not. The description compensates partly by clarifying that the tool spans all current-semester courses or exactly one course, and that days is a look-ahead window. It does not explain the courseId format or what happens with courses outside the current semester.

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?

The description gives a specific resource (homework) plus a precise scope: current-semester courses, one or all, restricted to items that still need action, with the three inclusion categories spelled out. It is clear enough to distinguish from list-style siblings, but it never names find_homework or get_todo, so the boundary against those is left implicit.

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?

Usage is well defined by inclusion criteria (due within N days, overdue and unsubmitted, open with no due date), which tells an agent when this tool applies and implicitly excludes already-submitted work. It stops short of the 5 level because it does not name alternatives such as find_homework or state when not to use this tool.

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